openapi: 3.1.0
info:
  description: Api Documentation
  version: '3.0'
  title: Api Documentation
  termsOfService: urn:tos
  contact: {}
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0
tags:
  - name: app-config-controller
    description: App Config Controller
  - name: asia-verify-controller
    description: Asia Verify Controller
  - name: authentication-controller
    description: Authentication Controller
  - name: authentication-manager-controller
    description: Authentication Manager Controller
  - name: basic-error-controller
    description: Basic Error Controller
  - name: comment-controller
    description: Comment Controller
  - name: customer-controller
    description: Customer Controller
  - name: dashboard-controller
    description: Dashboard Controller
  - name: domain-controller
    description: Domain Controller
  - name: expiring-document-controller
    description: Expiring Document Controller
  - name: hand-shake-controller
    description: Hand Shake Controller
  - name: media-controller
    description: Media Controller
  - name: on-going-due-diligent-controller
    description: On Going Due Diligent Controller
  - name: own-restricted-list-controller
    description: Own Restricted List Controller
  - name: periodic-review-controller
    description: Periodic Review Controller
  - name: quick-scan-controller
    description: Quick Scan Controller
  - name: user-controller
    description: User Controller
paths:
  /api/ODD/screen/summary:
    post:
      tags:
        - on-going-due-diligent-controller
      summary: getOnGoingDueDiligentAggregationSummary
      operationId: getOnGoingDueDiligentAggregationSummaryUsingPOST
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ODDSearchRequest'
        description: ODDSearchRequest
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerScreeningSummaryResponseDto_'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/app-config:
    get:
      tags:
        - app-config-controller
      summary: getAllConfigs
      operationId: getAllConfigsUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/app-config/bulk/{keys}:
    get:
      tags:
        - app-config-controller
      summary: getConfigsByKeys
      operationId: getConfigsByKeysUsingGET
      parameters:
        - name: keys
          in: path
          description: keys
          required: true
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/app-config/creditInfo:
    get:
      tags:
        - app-config-controller
      summary: getCreditInfo
      operationId: getCreditInfoUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CreditInfoDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/app-config/{key}:
    get:
      tags:
        - app-config-controller
      summary: getConfigByKey
      operationId: getConfigByKeyUsingGET
      parameters:
        - name: key
          in: path
          description: key
          required: true
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/asia-verify/check-source:
    get:
      tags:
        - asia-verify-controller
      summary: checkAssignedSource
      operationId: checkAssignedSourceUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceSourceCheckResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/asia-verify/login:
    post:
      tags:
        - asia-verify-controller
      summary: getAsiaVerifyAuthToken
      operationId: getAsiaVerifyAuthTokenUsingPOST
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceAccessTokenResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/asia-verify/profile:
    post:
      tags:
        - asia-verify-controller
      summary: requestEntityProfileReport
      operationId: requestEntityProfileReportUsingPOST
      parameters:
        - name: token
          in: query
          description: token
          required: true
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AsiaVerifyProfileRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceProfileResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/asia-verify/profile/check-exist/{vendorEntityGuid}:
    get:
      tags:
        - asia-verify-controller
      summary: getRequestedProfile
      operationId: getRequestedProfileUsingGET
      parameters:
        - name: vendorEntityGuid
          in: path
          description: vendorEntityGuid
          required: true
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/asia-verify/profile/import:
    post:
      tags:
        - asia-verify-controller
      summary: importAsiaVerifyProfileReportToDb
      operationId: importAsiaVerifyProfileReportToDbUsingPOST
      parameters:
        - name: customerId
          in: query
          description: customerId
          required: false
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/DataServiceProfileImportRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/asia-verify/search:
    post:
      tags:
        - asia-verify-controller
      summary: searchForEntityWithBasicSearch
      operationId: searchForEntityWithBasicSearchUsingPOST
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: token
          in: query
          description: token
          required: true
          schema:
            type: string
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AsiaVerifySearchRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_DataServiceSearchResponseDto_'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/permission:
    get:
      tags:
        - authentication-manager-controller
      summary: getAllPermissions
      operationId: getAllPermissionsUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  type: string
                  enum:
                    - ADMIN
                    - ANONYMOUS
                    - CASE_APPROVE
                    - CASE_APPROVE_ACCEPTED
                    - CASE_APPROVE_ACCEPTED_HIGH_RISK
                    - CASE_APPROVE_ACCEPTED_LOW_RISK
                    - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
                    - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
                    - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
                    - CASE_APPROVE_REJECTED
                    - CASE_ASSIGN
                    - CASE_CREATE
                    - CASE_DELETE
                    - CASE_DELETE_COMMENT
                    - CASE_DELETE_DOCUMENT
                    - CASE_GROUP_PERMISSIVE
                    - CASE_PERMISSIVE
                    - CASE_REQUEST_UPDATE
                    - CASE_UPDATE
                    - CASE_VIEW
                    - ORL_CREATE
                    - ORL_DELETE
                    - ORL_UPDATE
                    - ORL_VIEW
                    - SERVICE
                    - USER_CREATE
                    - USER_DELETE
                    - USER_GROUP_CREATE
                    - USER_GROUP_DELETE
                    - USER_GROUP_UPDATE
                    - USER_GROUP_VIEW
                    - USER_REACTIVATE
                    - USER_UPDATE_PERMISSION
                    - USER_VIEW
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/role:
    get:
      tags:
        - authentication-manager-controller
      summary: getAllRoles
      operationId: getAllRolesUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_RoleResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - authentication-manager-controller
      summary: createRole
      operationId: createRoleUsingPOST
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/RoleRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RoleResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/role/all:
    get:
      tags:
        - authentication-manager-controller
      summary: getAllRolesNoPagination
      operationId: getAllRolesNoPaginationUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoleResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/role/{id}:
    get:
      tags:
        - authentication-manager-controller
      summary: getRoleById
      operationId: getRoleByIdUsingGET
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RoleResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - authentication-manager-controller
      summary: updateRole
      operationId: updateRoleUsingPUT
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/RoleRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RoleResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - authentication-manager-controller
      summary: deleteRole
      operationId: deleteRoleUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user:
    get:
      tags:
        - authentication-manager-controller
      summary: getAllUsersPermissionAndRoles
      operationId: getAllUsersPermissionAndRolesUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_UserWithRolePermissionDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user/{id}:
    get:
      tags:
        - authentication-manager-controller
      summary: getASingleUsersPermissionAndRoles
      operationId: getASingleUsersPermissionAndRolesUsingGET
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserWithRolePermissionDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user/{id}/permission:
    post:
      tags:
        - authentication-manager-controller
      summary: addUserPermission
      operationId: addUserPermissionUsingPOST
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PermissionHandleRequestDto'
        description: permissionHandleRequestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserPermission'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user/{id}/permission/batch:
    post:
      tags:
        - authentication-manager-controller
      summary: addUserPermissionBatch
      operationId: addUserPermissionBatchUsingPOST
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
        description: permission
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserPermission'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user/{id}/permission/{permissionType}:
    delete:
      tags:
        - authentication-manager-controller
      summary: removeUserPermission
      operationId: removeUserPermissionUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: permissionType
          in: path
          description: permissionType
          required: true
          schema:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user/{id}/role:
    post:
      tags:
        - authentication-manager-controller
      summary: addUserRole
      operationId: addUserRoleUsingPOST
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleHandleRequestDto'
        description: roleHandleRequestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserRole'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication-manager/user/{id}/role/{roleId}:
    delete:
      tags:
        - authentication-manager-controller
      summary: removeUserRole
      operationId: removeUserRoleUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: roleId
          in: path
          description: roleId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/change-password:
    post:
      tags:
        - authentication-controller
      summary: changePassword
      operationId: changePasswordUsingPOST
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/first-time/{code}:
    get:
      tags:
        - authentication-controller
      summary: getFirstTimeMfaCodeInfo
      operationId: getFirstTimeMfaCodeInfoUsingGET
      parameters:
        - name: code
          in: path
          description: code
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/first-time/{code}/activate:
    post:
      tags:
        - authentication-controller
      summary: firstTimeActivatePassword
      operationId: firstTimeActivatePasswordUsingPOST
      parameters:
        - name: code
          in: path
          description: code
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FirstTimeCodeRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/forget-password:
    post:
      tags:
        - authentication-controller
      summary: forgetPassword
      operationId: forgetPasswordUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForgetPasswordRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/forget-password/{code}:
    get:
      tags:
        - authentication-controller
      summary: getForgetPasswordInfo
      operationId: getForgetPasswordInfoUsingGET
      parameters:
        - name: code
          in: path
          description: code
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/forget-password/{code}/activate:
    post:
      tags:
        - authentication-controller
      summary: activateForgetPasswordProcess
      operationId: activateForgetPasswordProcessUsingPOST
      parameters:
        - name: code
          in: path
          description: code
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordResetRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/login:
    post:
      tags:
        - authentication-controller
      summary: login
      operationId: loginUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticationRequestDto'
        description: authenticationRequest
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/login/mfa:
    post:
      tags:
        - authentication-controller
      summary: loginWithMfa
      operationId: loginWithMfaUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MfaLoginRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/refresh:
    post:
      tags:
        - authentication-controller
      summary: redeemRefreshToken
      operationId: redeemRefreshTokenUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshTokenRequestDto'
        description: refreshTokenDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/authentication/token:
    post:
      tags:
        - authentication-controller
      summary: getAccessToken
      operationId: getAccessTokenUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientCredentialsDto'
        description: dto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AuthenticationResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/comment/{type}:
    post:
      tags:
        - comment-controller
      summary: addNewComments
      operationId: addNewCommentsUsingPOST
      parameters:
        - name: type
          in: path
          description: type
          required: true
          schema:
            type: string
            enum:
              - CUSTOMER
              - HIT
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CommentRequestDto'
        description: comments
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CommentResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/comment/{type}/{objectId}:
    get:
      tags:
        - comment-controller
      summary: getAllComment
      operationId: getAllCommentUsingGET
      parameters:
        - name: objectId
          in: path
          description: objectId
          required: true
          schema:
            type: integer
            format: int64
        - name: sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: type
          in: path
          description: type
          required: true
          schema:
            type: string
            enum:
              - CUSTOMER
              - HIT
        - name: unsorted
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CommentResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/comment/{type}/{objectId}/{id}:
    put:
      tags:
        - comment-controller
      summary: updateComment
      operationId: updateCommentUsingPUT
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: objectId
          in: path
          description: objectId
          required: true
          schema:
            type: integer
            format: int64
        - name: type
          in: path
          description: type
          required: true
          schema:
            type: string
            enum:
              - CUSTOMER
              - HIT
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommentUpdateRequestDto'
        description: comment
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CommentResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - comment-controller
      summary: deleteComment
      operationId: deleteCommentUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: objectId
          in: path
          description: objectId
          required: true
          schema:
            type: integer
            format: int64
        - name: type
          in: path
          description: type
          required: true
          schema:
            type: string
            enum:
              - CUSTOMER
              - HIT
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer:
    get:
      tags:
        - customer-controller
      summary: getAllCustomers
      operationId: getAllCustomersUsingGET
      parameters:
        - name: activeList
          in: query
          required: false
          explode: true
          schema:
            type: array
            items:
              type: boolean
        - name: customerStatusList
          in: query
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - ACCEPTED
                - CLEARED
                - DRAFT
                - PENDING
                - REJECTED
                - REQUEST_CHANGES
            enum:
              - ACCEPTED
              - CLEARED
              - DRAFT
              - PENDING
              - REJECTED
              - REQUEST_CHANGES
        - name: customerTypeList
          in: query
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - CORPORATE
                - INDIVIDUAL
            enum:
              - CORPORATE
              - INDIVIDUAL
        - name: size
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: page
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: referenceId
          in: query
          required: false
          schema:
            type: string
        - name: riskRatingList
          in: query
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - HIGH
                - LOW
                - MEDIUM
                - MEDIUM_HIGH
                - MEDIUM_LOW
                - UNKNOWN
            enum:
              - HIGH
              - LOW
              - MEDIUM
              - MEDIUM_HIGH
              - MEDIUM_LOW
              - UNKNOWN
        - name: searchString
          in: query
          description: searchString
          required: false
          schema:
            type: string
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: createNewCustomer
      operationId: createNewCustomerUsingPOST
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CustomerDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              examples:
                default:
                  value:
                    status: 404
                    error: Not Found
                    message: The requested resource was not found.
                    path: /api/customer
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/crp/{crpId}:
    delete:
      tags:
        - customer-controller
      summary: Delete a Customer Related Party (CRP)
      operationId: deleteCustomerRelatedParty
      parameters:
        - name: customerId
          in: path
          required: true
          description: Primary Customer ID
          schema:
            type: integer
            example: 68
        - name: crpId
          in: path
          required: true
          description: Customer Related Party (CRP) ID
          schema:
            type: integer
            example: 31691
        - name: X-Domain-ID
          in: header
          required: true
          description: Domain identifier
          schema:
            type: string
            example: '1'
        - name: Authorization
          in: header
          required: true
          description: Bearer access token
          schema:
            type: string
            example: Bearer eyJhbGciOi...
      responses:
        '204':
          description: CRP deleted successfully
        '400':
          description: Invalid request parameters
        '401':
          description: Unauthorized - invalid or missing token
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Customer or CRP not found
        '500':
          description: Internal server error
  /api/customer/batch-upload:
    post:
      tags:
        - customer-controller
      summary: batchUpload
      operationId: batchUploadUsingPOST
      parameters:
        - name: assigneeId
          in: query
          description: assigneeId
          required: false
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                front:
                  type: string
                  format: binary
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/batch-upload/history:
    get:
      tags:
        - customer-controller
      summary: batchUpload
      operationId: batchUploadUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerBatchUpload_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/batch-upload/template:
    get:
      tags:
        - customer-controller
      summary: getBatchUploadTemplate
      operationId: getBatchUploadTemplateUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/batch-upload/{id}/file:
    get:
      tags:
        - customer-controller
      summary: downloadBatchUploadFile
      operationId: downloadBatchUploadFileUsingGET
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Resource'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/check-profile:
    get:
      tags:
        - customer-controller
      summary: checkIfProfileUsedByOthers
      operationId: checkIfProfileUsedByOthersUsingGET
      parameters:
        - name: customerId
          in: query
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: profileId
          in: query
          description: profileId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/createWithCrps:
    post:
      tags:
        - customer-controller
      summary: createNewCustomerWithCrp
      operationId: createNewCustomerWithCrpUsingPOST
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerWithCrpDto'
        description: customerDTO
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerWithCrpResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/download/csv:
    get:
      tags:
        - customer-controller
      summary: downloadCustomerCSV
      operationId: downloadCustomerCSVUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/profile/{type}:
    get:
      tags:
        - customer-controller
      summary: getProfileListByName
      operationId: getProfileListByNameUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: searchString
          in: query
          description: searchString
          required: false
          schema:
            type: string
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: type
          in: path
          description: type
          required: true
          schema:
            type: string
            enum:
              - CORPORATE
              - INDIVIDUAL
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_Profile_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/screen/{screeningId}/hit/{screeningHitId}/report:
    get:
      tags:
        - customer-controller
      summary: getScreeningHitPDFReport
      operationId: getScreeningHitPDFReportUsingGET
      parameters:
        - name: screeningHitId
          in: path
          description: screeningHitId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningType
          in: query
          description: screeningType
          required: true
          schema:
            type: string
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Resource'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}:
    get:
      tags:
        - customer-controller
      summary: getCustomerDetails
      operationId: getCustomerDetailsUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - customer-controller
      summary: updateCustomerProfile
      operationId: updateCustomerProfileUsingPUT
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CustomerDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/acceptance-form:
    get:
      tags:
        - customer-controller
      summary: generateCustomerAcceptanceForm
      operationId: generateCustomerAcceptanceFormUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/Resource'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/assignee:
    get:
      tags:
        - customer-controller
      summary: getCustomerAssigneesByCustomerId
      operationId: getCustomerAssigneesByCustomerIdUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerAssigneeResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: createNewAssignee
      operationId: createNewAssigneeUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CustomerAssigneeRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerAssigneeResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/assignee/domain/{domainId}:
    get:
      tags:
        - customer-controller
      summary: getCustomerAssigneesByCustomerIdOnAnotherDomain
      operationId: getCustomerAssigneesByCustomerIdOnAnotherDomainUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: domainId
          in: path
          description: domainId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerAssigneeResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: createNewAssigneeOnAnotherDomain
      operationId: createNewAssigneeOnAnotherDomainUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: domainId
          in: path
          description: domainId
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CustomerAssigneeRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerAssigneeResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/assignee/{assigneeId}:
    get:
      tags:
        - customer-controller
      summary: getCustomerAssignee
      operationId: getCustomerAssigneeUsingGET
      parameters:
        - name: assigneeId
          in: path
          description: assigneeId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerAssigneeResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - customer-controller
      summary: updateCustomerAssignee
      operationId: updateCustomerAssigneeUsingPUT
      parameters:
        - name: assigneeId
          in: path
          description: assigneeId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CustomerAssigneeRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerAssigneeResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - customer-controller
      summary: deleteAssignee
      operationId: deleteAssigneeUsingDELETE
      parameters:
        - name: assigneeId
          in: path
          description: assigneeId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerAssigneeResponseDto'
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/clone:
    get:
      tags:
        - customer-controller
      summary: getCustomerCloning
      operationId: getCustomerCloningUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerAccessControlResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/clone/{targetDomainId}:
    post:
      tags:
        - customer-controller
      summary: cloneCustomer
      operationId: cloneCustomerUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: targetDomainId
          in: path
          description: targetDomainId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/crp:
    get:
      tags:
        - customer-controller
      summary: getCRP
      operationId: getCRPUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: profileReferenceId
          in: query
          description: profileReferenceId
          required: false
          schema:
            type: string
        - name: searchString
          in: query
          description: searchString
          required: false
          schema:
            type: string
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: createNewCRP
      operationId: createNewCRPUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CRPRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/crp/{CRPId}/role:
    get:
      tags:
        - customer-controller
      summary: getRolesFromCrp
      operationId: getRolesFromCrpUsingGET
      parameters:
        - name: CRPId
          in: path
          description: CRPId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CRPRoleResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: addRoleToCrp
      operationId: addRoleToCrpUsingPOST
      parameters:
        - name: CRPId
          in: path
          description: CRPId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CRPRoleRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CRPRoleResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/crp/{CRPId}/role/{roleId}:
    put:
      tags:
        - customer-controller
      summary: updateCrpRole
      operationId: updateCrpRoleUsingPUT
      parameters:
        - name: CRPId
          in: path
          description: CRPId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: roleId
          in: path
          description: roleId
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CRPRoleRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CRPRoleResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - customer-controller
      summary: deleteCRPRole
      operationId: deleteCRPRoleUsingDELETE
      parameters:
        - name: CRPId
          in: path
          description: CRPId
          required: true
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: roleId
          in: path
          description: roleId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/crp/{id}:
    get:
      tags:
        - customer-controller
      summary: getCRPDetails
      operationId: getCRPDetailsUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - customer-controller
      summary: updateCRP
      operationId: updateCRPUsingPUT
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/CRPRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - customer-controller
      summary: deleteCrp
      operationId: deleteCrpUsingDELETE
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/customer-share-same-profile:
    get:
      tags:
        - customer-controller
      summary: getCustomerShareSameProfile
      operationId: getCustomerShareSameProfileUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/detailed-report:
    get:
      tags:
        - customer-controller
      summary: generateCustomerReport
      operationId: generateCustomerReportUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/Resource'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/document:
    get:
      tags:
        - customer-controller
      summary: getAllDocumentsForCustomer
      operationId: getAllDocumentsForCustomerUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_DocumentResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: addDocument
      operationId: addDocumentUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/addDocumentUsingPOST'
      responses:
        '200':
          description: Document uploaded successfully
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '415':
          description: Unsupported Media Type
        '500':
          description: Internal Server Error
      x-codeSamples:
        - lang: cURL
          label: Upload (front + document)
          source: |
            curl -X POST "{{backend_url}}/api/customer/{customerId}/document" \
              -H "Authorization: Bearer <token>" \
              -H "X-Domain-ID: 6603" \
              -F "front=@front.png;type=image/png" \
              -F 'document={"type":"NATIONAL_ID","number":"S1234567A"};type=application/json'
        - lang: cURL
          label: Upload (front + back + document)
          source: |
            curl -X POST "{{backend_url}}/api/customer/{customerId}/document" \
              -H "Authorization: Bearer <token>" \
              -H "X-Domain-ID: 6603" \
              -F "front=@front.png;type=image/png" \
              -F "back=@back.png;type=image/png" \
              -F 'document={"type":"NATIONAL_ID","number":"S1234567A"};type=application/json'
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/document/{documentId}:
    get:
      tags:
        - customer-controller
      summary: getDocumentFromCustomer
      operationId: getDocumentFromCustomerUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DocumentResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - customer-controller
      summary: updateDocument
      operationId: updateDocumentUsingPUT
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/addDocumentUsingPOST'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DocumentResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - customer-controller
      summary: deleteDocument
      operationId: deleteDocumentUsingDELETE
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/document/{documentId}/file:
    get:
      tags:
        - customer-controller
      summary: getFileFromCustomer
      operationId: getFileFromCustomerUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: type
          in: query
          description: type
          required: true
          schema:
            type: string
            enum:
              - back
              - front
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Resource'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - customer-controller
      summary: deleteDocumentFile
      operationId: deleteDocumentFileUsingDELETE
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: type
          in: query
          description: type
          required: true
          schema:
            type: string
            enum:
              - back
              - front
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/document/{documentId}/ocr:
    put:
      tags:
        - customer-controller
      summary: updateOcrResult
      operationId: putOcrResult
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOcrResultRequestDto'
        description: OcrResultRequestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UpdateOcrResultResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/document/{documentId}/liveness:
    put:
      tags:
        - customer-controller
      summary: updateLivenessResult
      operationId: putLivenessResult
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLivenessResultRequestDto'
        description: LivenessResultRequestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UpdateLivenessResultResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/document/{documentId}/face-compare:
    put:
      tags:
        - customer-controller
      summary: updateFaceCompareResult
      operationId: putFaceCompareResult
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: documentId
          in: path
          description: documentId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFaceCompareResultRequestDto'
        description: FaceCompareResultDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UpdateFaceCompareResultResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/ownership-percentage-check:
    get:
      tags:
        - customer-controller
      summary: ownershipCheck
      operationId: ownershipCheckUsingGET
      parameters:
        - name: crpId
          in: query
          description: crpId
          required: false
          schema:
            type: integer
            format: int64
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: percentage
          in: query
          description: percentage
          required: true
          schema:
            type: integer
            format: int32
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/OwnershipListDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/related-customer:
    get:
      tags:
        - customer-controller
      summary: getCustomerOfCRP
      operationId: getCustomerOfCRPUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/risk-assessment:
    get:
      tags:
        - customer-controller
      summary: getRiskAssessment
      operationId: getRiskAssessmentUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RiskAssessmentResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/risk-assessment/approval:
    post:
      tags:
        - customer-controller
      summary: changeApprovalStatus
      operationId: changeApprovalStatusUsingPOST
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApprovalStatusRequestDto'
        description: requestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RiskAssessmentResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/risk-assessment/history:
    get:
      tags:
        - customer-controller
      summary: getRiskAssessmentHistory
      operationId: getRiskAssessmentHistoryUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_RiskAssessmentResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen:
    get:
      tags:
        - customer-controller
      summary: retrieveListOfScreeningDetails
      operationId: retrieveListOfScreeningDetailsUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScreeningResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - customer-controller
      summary: triggerScreening
      operationId: triggerScreeningUsingPOST
      parameters:
        - name: chosenEngines
          in: query
          description: chosenEngines
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - ARTEMISCAN
                - DJ
                - FACE_COMPARE
                - INTERNET_SEARCH
                - OCR
                - OWN_RESTRICTED_LIST
                - TR
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: includeCrp
          in: query
          description: includeCrp
          required: true
          schema:
            type: boolean
            default: true
        - name: onlyUpdated
          in: query
          description: onlyUpdated
          required: true
          schema:
            type: boolean
            default: true
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/latest:
    get:
      tags:
        - customer-controller
      summary: retrieveLatestOfScreeningDetails
      operationId: retrieveLatestOfScreeningDetailsUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/status:
    get:
      tags:
        - customer-controller
      summary: getScreeningStatus
      operationId: getScreeningStatusUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomerScreeningStatusResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/summary:
    get:
      tags:
        - customer-controller
      summary: getScreeningSummary
      operationId: getScreeningSummaryUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_CustomerScreeningSummaryResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/{screeningId}:
    get:
      tags:
        - customer-controller
      summary: retrieveScreeningDetails
      operationId: retrieveScreeningDetailsUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - customer-controller
      summary: updateScreeningConclusion
      operationId: updateScreeningConclusionUsingPUT
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScreeningConclusionRequestDto'
        description: conclusionRequestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/{screeningId}/hit:
    get:
      tags:
        - customer-controller
      summary: getScreeningHits
      operationId: getScreeningHitsUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningType
          in: query
          description: screeningType
          required: true
          schema:
            type: string
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_ScreeningHitResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - customer-controller
      summary: markParticularHitAsAMatch
      operationId: markParticularHitAsAMatchUsingPUT
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScreeningHitMatchUpdateRequestDto'
        description: requestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScreeningHitResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/{screeningId}/hit/{screeningHitId}:
    get:
      tags:
        - customer-controller
      summary: getAScreeningHit
      operationId: getAScreeningHitUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningHitId
          in: path
          description: screeningHitId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningType
          in: query
          description: screeningType
          required: true
          schema:
            type: string
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningHitResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/{screeningId}/odd:
    put:
      tags:
        - customer-controller
      summary: changeODDStatus
      operationId: changeODDStatusUsingPUT
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScreeningODDStatusUpdateRequestDto'
        description: requestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{customerId}/screen/{screeningId}/retry:
    post:
      tags:
        - customer-controller
      summary: retryScreening
      operationId: retryScreeningUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: engines
          in: query
          description: engines
          required: true
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - ARTEMISCAN
                - DJ
                - FACE_COMPARE
                - INTERNET_SEARCH
                - OCR
                - OWN_RESTRICTED_LIST
                - TR
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{id}:
    delete:
      tags:
        - customer-controller
      summary: deleteCustomer
      operationId: deleteCustomerUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/customer/{id}/domain/{domainId}:
    delete:
      tags:
        - customer-controller
      summary: deleteCustomerOnAnotherDomain
      operationId: deleteCustomerOnAnotherDomainUsingDELETE
      parameters:
        - name: domainId
          in: path
          description: domainId
          required: true
          schema:
            type: integer
            format: int64
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/expiring-document/detail:
    get:
      tags:
        - dashboard-controller
      summary: getExpiringDocumentCustomerForDashboard
      operationId: getExpiringDocumentCustomerForDashboardUsingGET
      parameters:
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_DocumentResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/odd/detail:
    get:
      tags:
        - dashboard-controller
      summary: getManagerOddForDashboard
      operationId: getManagerOddForDashboardUsingGET
      parameters:
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerScreeningSummaryResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/periodic-review/detail:
    get:
      tags:
        - dashboard-controller
      summary: getManagerPRForDashboard
      operationId: getManagerPRForDashboardUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/risk-rating:
    get:
      tags:
        - dashboard-controller
      summary: getRiskRatingManagerStats
      operationId: getRiskRatingManagerStatsUsingGET
      parameters:
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: status
          in: query
          description: status
          required: false
          schema:
            type: string
            enum:
              - ACCEPTED
              - CLEARED
              - DRAFT
              - PENDING
              - REJECTED
              - REQUEST_CHANGES
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerRiskRatingStatsDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/status:
    get:
      tags:
        - dashboard-controller
      summary: getStatusManagerStats
      operationId: getStatusManagerStatsUsingGET
      parameters:
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: riskRating
          in: query
          description: riskRating
          required: false
          schema:
            type: string
            enum:
              - HIGH
              - LOW
              - MEDIUM
              - MEDIUM_HIGH
              - MEDIUM_LOW
              - UNKNOWN
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerStatusStatsDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/status/detail:
    get:
      tags:
        - dashboard-controller
      summary: getCustomerForDashboard
      operationId: getCustomerForDashboardUsingGET_1
      parameters:
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: riskRating
          in: query
          description: riskRating
          required: false
          schema:
            type: string
            enum:
              - HIGH
              - LOW
              - MEDIUM
              - MEDIUM_HIGH
              - MEDIUM_LOW
              - UNKNOWN
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: status
          in: query
          description: status
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - ACCEPTED
                - CLEARED
                - DRAFT
                - PENDING
                - REJECTED
                - REQUEST_CHANGES
            enum:
              - ACCEPTED
              - CLEARED
              - DRAFT
              - PENDING
              - REJECTED
              - REQUEST_CHANGES
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/tasks:
    get:
      tags:
        - dashboard-controller
      summary: getManagerTaskStats
      operationId: getManagerTaskStatsUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TaskStatsDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/tasks-distribution:
    get:
      tags:
        - dashboard-controller
      summary: getTaskDistributionRequestHeader
      operationId: getTaskDistributionRequestHeaderUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskDistributionDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/unassigned/detail:
    get:
      tags:
        - dashboard-controller
      summary: getPendingCustomerForDashboard
      operationId: getPendingCustomerForDashboardUsingGET
      parameters:
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/manager/stats/{userId}/detail:
    get:
      tags:
        - dashboard-controller
      summary: getTasksByUser
      operationId: getTasksByUserUsingGET
      parameters:
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: userId
          in: path
          description: userId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/expiring-document/detail:
    get:
      tags:
        - dashboard-controller
      summary: getManagerExpiringDocumentCustomerForDashboard
      operationId: getManagerExpiringDocumentCustomerForDashboardUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_DocumentResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/odd/detail:
    get:
      tags:
        - dashboard-controller
      summary: getOddForDashboard
      operationId: getOddForDashboardUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerScreeningSummaryResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/pending/detail:
    get:
      tags:
        - dashboard-controller
      summary: getPendingMyTaskCustomerForDashboard
      operationId: getPendingMyTaskCustomerForDashboardUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/periodic-review/detail:
    get:
      tags:
        - dashboard-controller
      summary: getPRForDashboard
      operationId: getPRForDashboardUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/status:
    get:
      tags:
        - dashboard-controller
      summary: getStatusStats
      operationId: getStatusStatsUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerStatusStatsDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/status/detail:
    get:
      tags:
        - dashboard-controller
      summary: getCustomerForDashboard
      operationId: getCustomerForDashboardUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: riskRating
          in: query
          description: riskRating
          required: false
          schema:
            type: string
            enum:
              - HIGH
              - LOW
              - MEDIUM
              - MEDIUM_HIGH
              - MEDIUM_LOW
              - UNKNOWN
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: status
          in: query
          description: status
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - ACCEPTED
                - CLEARED
                - DRAFT
                - PENDING
                - REJECTED
                - REQUEST_CHANGES
            enum:
              - ACCEPTED
              - CLEARED
              - DRAFT
              - PENDING
              - REJECTED
              - REQUEST_CHANGES
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/dashboard/stats/tasks:
    get:
      tags:
        - dashboard-controller
      summary: getTaskStats
      operationId: getTaskStatsUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TaskStatsDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/domain:
    get:
      tags:
        - domain-controller
      summary: getDomainList
      operationId: getDomainListUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/error:
    get:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    head:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingHEAD
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingPOST
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingPUT
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingDELETE
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    options:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingOPTIONS
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    patch:
      tags:
        - basic-error-controller
      summary: error
      operationId: errorUsingPATCH
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/expiring-document:
    get:
      tags:
        - expiring-document-controller
      summary: getExpiredDocumentWithCursorPaginate
      operationId: getExpiredDocumentWithCursorPaginateUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_DocumentResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/check-balance:
    get:
      tags:
        - hand-shake-controller
      summary: checkHandShakeBalance
      operationId: checkHandShakeBalanceUsingGET
      parameters:
        - name: HandShakeAuth
          in: query
          description: HandShakeAuth
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceBalanceCheckResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/check-source:
    get:
      tags:
        - hand-shake-controller
      summary: checkAssignedSource
      operationId: checkAssignedSourceUsingGET
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceSourceCheckResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/login:
    post:
      tags:
        - hand-shake-controller
      summary: loginToHandShake
      operationId: loginToHandShakeUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandShakeTokenRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceAccessTokenResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/profile:
    post:
      tags:
        - hand-shake-controller
      summary: requestEntityProfileReport
      operationId: requestEntityProfileReportUsingPOST
      parameters:
        - name: HandShakeAuth
          in: query
          description: HandShakeAuth
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandShakeProfileRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DataServiceProfileResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/profile/check-exist/{vendorEntityGuid}:
    get:
      tags:
        - hand-shake-controller
      summary: getRequestedProfile
      operationId: getRequestedProfileUsingGET
      parameters:
        - name: vendorEntityGuid
          in: path
          description: vendorEntityGuid
          required: true
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/profile/import:
    post:
      tags:
        - hand-shake-controller
      summary: importHandShakeProfileReportToDb
      operationId: importHandShakeProfileReportToDbUsingPOST
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/DataServiceProfileImportRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/profile/import/{customerId}:
    post:
      tags:
        - hand-shake-controller
      summary: importHandShakeProfileReportToDb
      operationId: importHandShakeProfileReportToDbUsingPOST_1
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/DataServiceProfileImportRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/handshake/search:
    post:
      tags:
        - hand-shake-controller
      summary: searchForEntityWithBasicSearch
      operationId: searchForEntityWithBasicSearchUsingPOST
      parameters:
        - name: HandShakeAuth
          in: query
          description: HandShakeAuth
          required: true
          schema:
            type: string
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandShakeSearchRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_DataServiceSearchResponseDto_'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/media/:
    get:
      tags:
        - media-controller
      summary: getFileFromCustomer
      operationId: getFileFromCustomerUsingGET_1
      parameters:
        - name: filename
          in: query
          description: filename
          required: true
          schema:
            type: string
        - name: tenant
          in: query
          description: tenant
          required: true
          schema:
            type: string
        - name: token
          in: query
          description: token
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Resource'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/own-restricted-list:
    get:
      tags:
        - own-restricted-list-controller
      summary: getLists
      operationId: getListsUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_OwnRestrictedListResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - own-restricted-list-controller
      summary: createList
      operationId: createListUsingPOST
      requestBody:
        $ref: '#/components/requestBodies/OwnRestrictedListRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/OwnRestrictedListResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/own-restricted-list/{id}:
    get:
      tags:
        - own-restricted-list-controller
      summary: getListDetails
      operationId: getListDetailsUsingGET
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/OwnRestrictedListResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - own-restricted-list-controller
      summary: updateList
      operationId: updateListUsingPUT
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        $ref: '#/components/requestBodies/OwnRestrictedListRequestDto'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/OwnRestrictedListResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - own-restricted-list-controller
      summary: deleteList
      operationId: deleteListUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/own-restricted-list/{id}/active:
    post:
      tags:
        - own-restricted-list-controller
      summary: activateList
      operationId: activateListUsingPOST
      parameters:
        - name: active
          in: query
          description: active
          required: true
          schema:
            type: boolean
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/OwnRestrictedListResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/own-restricted-list/{listId}/name:
    get:
      tags:
        - own-restricted-list-controller
      summary: getRestrictedNames
      operationId: getRestrictedNamesUsingGET
      parameters:
        - name: listId
          in: path
          description: listId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_RestrictedNameResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - own-restricted-list-controller
      summary: addRestrictedName
      operationId: addRestrictedNameUsingPOST
      parameters:
        - name: listId
          in: path
          description: listId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestrictedNameRequestDto'
        description: requestDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RestrictedNameResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/own-restricted-list/{listId}/name/{id}:
    get:
      tags:
        - own-restricted-list-controller
      summary: getRestrictedNameDetail
      operationId: getRestrictedNameDetailUsingGET
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: listId
          in: path
          description: listId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RestrictedNameResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    put:
      tags:
        - own-restricted-list-controller
      summary: updateRestrictedName
      operationId: updateRestrictedNameUsingPUT
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: listId
          in: path
          description: listId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestrictedNameRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RestrictedNameResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    delete:
      tags:
        - own-restricted-list-controller
      summary: deleteRestrictedName
      operationId: deleteRestrictedNameUsingDELETE
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
        - name: listId
          in: path
          description: listId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/periodic-review:
    get:
      tags:
        - periodic-review-controller
      summary: getPRWithCursorPagination
      operationId: getPRWithCursorPaginationUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: endDate
          in: query
          description: endDate
          required: false
          schema:
            type: string
            format: date
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: nextToken
          in: query
          description: nextToken
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          description: pageSize
          required: false
          schema:
            type: integer
            format: int32
            default: 10
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: searchString
          in: query
          description: searchString
          required: false
          schema:
            type: string
        - name: startDate
          in: query
          description: startDate
          required: false
          schema:
            type: string
            format: date
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/GenericCursorPagination_CustomerResponseDto_
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/quickscan/:
    get:
      tags:
        - quick-scan-controller
      summary: getQuickScan
      operationId: getQuickScanUsingGET_1
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: searchString
          in: query
          description: searchString
          required: false
          schema:
            type: string
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_ScreeningResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/quickscan/screen:
    post:
      tags:
        - quick-scan-controller
      summary: triggerQuickScan
      operationId: triggerQuickScanUsingPOST
      parameters:
        - name: chosenEngines
          in: query
          required: true
          description: One or more screening engines (repeat param to add more).
          schema:
            type: array
            items:
              type: string
              enum:
                - ARTEMISCAN
                - DJ
                - FACE_COMPARE
                - INTERNET_SEARCH
                - OCR
                - OWN_RESTRICTED_LIST
                - TR
          style: form
          explode: true
        - name: customerType
          in: query
          description: customerType
          required: true
          schema:
            type: string
            enum:
              - CORPORATE
              - INDIVIDUAL
        - name: name
          in: query
          description: name
          required: true
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/quickscan/screen/batch:
    post:
      tags:
        - quick-scan-controller
      summary: triggerBatchQuickScan
      operationId: triggerBatchQuickScanUsingPOST
      parameters:
        - name: chosenEngines
          in: query
          description: chosenEngines
          required: false
          explode: true
          schema:
            type: array
            items:
              type: string
              enum:
                - ARTEMISCAN
                - DJ
                - FACE_COMPARE
                - INTERNET_SEARCH
                - OCR
                - OWN_RESTRICTED_LIST
                - TR
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/quickscan/screen/{screeningId}:
    get:
      tags:
        - quick-scan-controller
      summary: getQuickScan
      operationId: getQuickScanUsingGET
      parameters:
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ScreeningResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/quickscan/screen/{screeningId}/hit:
    get:
      tags:
        - quick-scan-controller
      summary: getQuickScanHit
      operationId: getQuickScanHitUsingGET
      parameters:
        - name: screeningType
          in: query
          description: screeningType
          required: true
          schema:
            type: string
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: screeningId
          in: path
          description: screeningId
          required: true
          schema:
            type: integer
            format: int64
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_ScreeningHitResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user:
    get:
      tags:
        - user-controller
      summary: getAllUsers
      operationId: getAllUsersUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: search
          in: query
          description: search
          required: false
          schema:
            type: string
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_UserResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
    post:
      tags:
        - user-controller
      summary: createUser
      operationId: createUserUsingPOST
      parameters:
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserDetailDtoReq'
        description: userDetailDto
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserResponseDto'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/enable-mfa:
    post:
      tags:
        - user-controller
      summary: enableUserMfa
      operationId: enableUserMfaUsingPOST
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwoFactorAuthRequestDto'
        description: request
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/me:
    get:
      tags:
        - user-controller
      summary: getCurrentUser
      operationId: getCurrentUserUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/mfa-info:
    get:
      tags:
        - user-controller
      summary: getUserMfa
      operationId: getUserMfaUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntity'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/permissions:
    get:
      tags:
        - user-controller
      summary: getCurrentUserPermission
      operationId: getCurrentUserPermissionUsingGET
      parameters:
        - name: authority
          in: query
          required: false
          schema:
            type: string
        - name: claims
          in: query
          required: false
          schema:
            type: object
        - name: domains[0].id
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: domains[0].name
          in: query
          required: false
          schema:
            type: string
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: headers
          in: query
          required: false
          schema:
            type: object
        - name: scopes
          in: query
          required: false
          schema:
            type: string
        - name: tokenValue
          in: query
          required: false
          schema:
            type: string
        - name: userId
          in: query
          required: false
          schema:
            type: string
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  type: string
                  enum:
                    - ADMIN
                    - ANONYMOUS
                    - CASE_APPROVE
                    - CASE_APPROVE_ACCEPTED
                    - CASE_APPROVE_ACCEPTED_HIGH_RISK
                    - CASE_APPROVE_ACCEPTED_LOW_RISK
                    - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
                    - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
                    - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
                    - CASE_APPROVE_REJECTED
                    - CASE_ASSIGN
                    - CASE_CREATE
                    - CASE_DELETE
                    - CASE_DELETE_COMMENT
                    - CASE_DELETE_DOCUMENT
                    - CASE_GROUP_PERMISSIVE
                    - CASE_PERMISSIVE
                    - CASE_REQUEST_UPDATE
                    - CASE_UPDATE
                    - CASE_VIEW
                    - ORL_CREATE
                    - ORL_DELETE
                    - ORL_UPDATE
                    - ORL_VIEW
                    - SERVICE
                    - USER_CREATE
                    - USER_DELETE
                    - USER_GROUP_CREATE
                    - USER_GROUP_DELETE
                    - USER_GROUP_UPDATE
                    - USER_GROUP_VIEW
                    - USER_REACTIVATE
                    - USER_UPDATE_PERMISSION
                    - USER_VIEW
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/permitted-user:
    get:
      tags:
        - user-controller
      summary: getPermittedUserFromDomainId
      operationId: getPermittedUserFromDomainIdUsingGET
      parameters:
        - name: sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDetailDtoRes'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/permitted-user/domain/{domainId}:
    get:
      tags:
        - user-controller
      summary: getPermittedUserFromAnotherDomainId
      operationId: getPermittedUserFromAnotherDomainIdUsingGET
      parameters:
        - name: domainId
          in: path
          description: domainId
          required: true
          schema:
            type: string
        - name: sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unsorted
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDetailDtoRes'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/role/{roleId}:
    get:
      tags:
        - user-controller
      summary: getAllUsersByRole
      operationId: getAllUsersByRoleUsingGET
      parameters:
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            format: int64
        - name: paged
          in: query
          required: false
          schema:
            type: boolean
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            format: int32
        - name: roleId
          in: path
          description: roleId
          required: true
          schema:
            type: integer
            format: int64
        - name: sort.sorted
          in: query
          required: false
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          required: false
          schema:
            type: boolean
        - name: unpaged
          in: query
          required: false
          schema:
            type: boolean
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Page_UserResponseDto_'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/role/{roleId}/all:
    get:
      tags:
        - user-controller
      summary: getAllUsersByRoleNoPagination
      operationId: getAllUsersByRoleNoPaginationUsingGET
      parameters:
        - name: roleId
          in: path
          description: roleId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserResponseDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
  /api/user/{userId}/info:
    get:
      tags:
        - user-controller
      summary: getUserInfo
      operationId: getUserInfoUsingGET
      parameters:
        - name: userId
          in: path
          description: userId
          required: true
          schema:
            type: integer
            format: int64
        - name: X-Domain-ID
          in: header
          description: X-Domain-ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserInfo'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
        - OAuth2_Client_Credentials: []
        - OAuth2_Password: []
servers:
  - url: https://api.artemis.cynopsis.co
components:
  requestBodies:
    JobBuilderDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JobBuilderDto'
      description: jobs
      required: true
    addDocumentUsingPOST:
      required: true
      content:
        multipart/form-data:
          schema:
            type: object
            properties:
              front:
                type: string
                format: binary
                description: Front image file (required)
              back:
                type: string
                format: binary
                description: Back image file (optional)
              document:
                type: object
                description: JSON metadata for the document
                properties:
                  type:
                    type: string
                    example: NATIONAL_ID
                  number:
                    type: string
                    example: S1234567A
                  authenticity:
                    type: string
                    example: ORIGINAL
                  issueDate:
                    type: string
                    format: date
                    example: 2020-01-01T00:00:00.000Z
                  expiryDate:
                    type: string
                    format: date
                    example: 2030-01-01T00:00:00.000Z
                  showExpiryNotification:
                    type: boolean
                    example: true
            required:
              - front
              - document
          encoding:
            front:
              contentType: image/*
            back:
              contentType: image/*
            document:
              contentType: application/json
    DataServiceProfileImportRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DataServiceProfileImportRequest'
      description: request
      required: true
    RoleRequestDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RoleRequestDto'
      description: role
      required: true
    OwnRestrictedListRequestDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OwnRestrictedListRequestDto'
      description: request
      required: true
    handleUsingGETBody:
      content:
        application/json:
          schema:
            type: object
            additionalProperties:
              type: string
      description: body
    CustomerDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CustomerDto'
      description: customerDTO
      required: true
    CustomerAssigneeRequestDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CustomerAssigneeRequestDto'
      description: customerAssignee
      required: true
    CRPRequestDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CRPRequestDto'
      description: crpRequestDto
      required: true
    CRPRoleRequestDto:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CRPRoleRequestDto'
      description: crpRoleRequestDto
      required: true
  securitySchemes:
    OAuth2_Client_Credentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://crm.cynopsis.co/oauth/token
          scopes: {}
    OAuth2_Password:
      type: oauth2
      flows:
        password:
          tokenUrl: https://crm.cynopsis.co/oauth/token
          scopes: {}
  schemas:
    ApprovalStatusRequestDto:
      type: object
      required:
        - approvalStatus
        - overrideRiskRating
      properties:
        approvalStatus:
          type: string
          enum:
            - ACCEPTED
            - CLEARED
            - PENDING
            - REJECTED
            - REQUEST_CHANGES
        assignTo:
          type: integer
          format: int64
        message:
          type: string
        overrideRiskRating:
          type: string
          enum:
            - HIGH
            - LOW
            - MEDIUM
            - MEDIUM_HIGH
            - MEDIUM_LOW
            - UNKNOWN
      title: ApprovalStatusRequestDto
    AresFaceCompareResultDto:
      type: object
      properties:
        error:
          type: string
        matched:
          type: boolean
        simiarity:
          type: number
          format: float
          minimum: 0
          maximum: 1
          example: 0.97788
      title: AresFaceCompareResultDto
    AresLivenessFaceDetailsDto:
      type: object
      properties:
        eyesClosed:
          properties:
            value:
              type: boolean
              example: false
            confidence:
              type: integer
              format: int64
        sunglasses:
          properties:
            value:
              type: boolean
              example: false
            confidence:
              type: integer
              format: int64
        faceOccluded:
          properties:
            value:
              type: boolean
              example: false
            confidence:
              type: integer
              format: int64
      title: AresLivenessFaceDetailsDto
    AresOcrResultDto:
      type: object
      properties:
        race:
          type: string
        gender:
          type: string
        status:
          type: string
        address:
          type: string
        domicile:
          type: string
        employer:
          type: string
        full_name:
          type: string
        full_name2:
          type: string
        last_name:
          type: string
        birth date:
          type: string
          format: date
        final hash:
          type: string
        first_name:
          type: string
        identifier:
          type: string
        issue_date:
          type: string
          format: date
        profession:
          type: string
        expiry date:
          type: string
        expiry_date:
          type: string
        nationality:
          type: string
        docver_check:
          type: object
          properties:
            dataCheck:
              type: object
              properties:
                overall:
                  type: object
                  properties:
                    result:
                      type: string
                    certaintyLevel:
                      type: string
                  required:
                    - result
                    - certaintyLevel
                mrzCheck:
                  type: object
                  properties:
                    parsed:
                      type: string
                    overall:
                      type: string
                    checkDigits:
                      type: string
                  required:
                    - parsed
                    - overall
                    - checkDigits
                logicCheck:
                  type: object
                  properties:
                    overall:
                      type: string
                    dateLogicCheck:
                      type: object
                      properties:
                        overall:
                          type: string
                        dateOfBirthInPastCheck:
                          type: string
                        dateOfIssueInPastCheck:
                          type: string
                        dateOfBirthBeforeDateOfIssueCheck:
                          type: string
                        dateOfBirthBeforeDateOfExpiryCheck:
                          type: string
                        dateOfIssueBeforeDateOfExpiryCheck:
                          type: string
                      required:
                        - overall
                        - dateOfBirthInPastCheck
                        - dateOfIssueInPastCheck
                        - dateOfBirthBeforeDateOfIssueCheck
                        - dateOfBirthBeforeDateOfExpiryCheck
                        - dateOfIssueBeforeDateOfExpiryCheck
                    documentNumberLogic:
                      type: object
                      properties:
                        overall:
                          type: string
                      required:
                        - overall
                    customerIdNumberLogic:
                      type: object
                      properties:
                        overall:
                          type: string
                      required:
                        - overall
                    personalIdNumberLogic:
                      type: object
                      properties:
                        overall:
                          type: string
                      required:
                        - overall
                    documentDiscriminatorLogic:
                      type: object
                      properties:
                        overall:
                          type: string
                      required:
                        - overall
                    inventoryControlNumberLogic:
                      type: object
                      properties:
                        overall:
                          type: string
                      required:
                        - overall
                  required:
                    - overall
                    - dateLogicCheck
                    - documentNumberLogic
                    - customerIdNumberLogic
                    - personalIdNumberLogic
                    - documentDiscriminatorLogic
                    - inventoryControlNumberLogic
                matchCheck:
                  type: object
                  properties:
                    overall:
                      type: object
                      properties:
                        result:
                          type: string
                      required:
                        - result
                    raceMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    addressMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    employerMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    fullNameMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    lastNameMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    religionMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    firstNameMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    professionMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    dateOfBirthMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    dateOfIssueMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    dateOfExpiryMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    placeOfBirthMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    maritalStatusMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    documentNumberMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    personalIdNumberMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    residentialStatusMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    documentAdditionalNumberMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    documentOptionalAdditionalNumberMatch:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                  required:
                    - overall
                    - raceMatch
                    - addressMatch
                    - employerMatch
                    - fullNameMatch
                    - lastNameMatch
                    - religionMatch
                    - firstNameMatch
                    - professionMatch
                    - dateOfBirthMatch
                    - dateOfIssueMatch
                    - dateOfExpiryMatch
                    - placeOfBirthMatch
                    - maritalStatusMatch
                    - documentNumberMatch
                    - personalIdNumberMatch
                    - residentialStatusMatch
                    - documentAdditionalNumberMatch
                    - documentOptionalAdditionalNumberMatch
                formatCheck:
                  type: object
                  properties:
                    overall:
                      type: string
                    sexCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    religionCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    dateOfBirthCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    dateOfIssueCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    nationalityCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    dateOfExpiryCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    maritalStatusCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    documentNumberCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    classExpiryDateCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    issuingAuthorityCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    personalIdNumberCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    classEffectiveDateCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    documentAdditionalNumberCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    additionalPersonalIdNumberCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                    documentOptionalAdditionalNumberCheck:
                      type: object
                      properties:
                        type:
                          type: string
                        check:
                          type: string
                      required:
                        - type
                        - check
                  required:
                    - overall
                    - sexCheck
                    - religionCheck
                    - dateOfBirthCheck
                    - dateOfIssueCheck
                    - nationalityCheck
                    - dateOfExpiryCheck
                    - maritalStatusCheck
                    - documentNumberCheck
                    - classExpiryDateCheck
                    - issuingAuthorityCheck
                    - personalIdNumberCheck
                    - classEffectiveDateCheck
                    - documentAdditionalNumberCheck
                    - additionalPersonalIdNumberCheck
                    - documentOptionalAdditionalNumberCheck
                dataIntegrityCheck:
                  type: string
                barcodeAnomalyCheck:
                  type: object
                  properties:
                    overall:
                      type: object
                      properties:
                        result:
                          type: string
                      required:
                        - result
                    readCheck:
                      type: string
                    contentCheck:
                      type: string
                  required:
                    - overall
                    - readCheck
                    - contentCheck
                suspiciousDataCheck:
                  type: object
                  properties:
                    overall:
                      type: object
                      properties:
                        result:
                          type: string
                        certaintyLevel:
                          type: string
                      required:
                        - result
                        - certaintyLevel
                    sampleStringCheck:
                      type: object
                      properties:
                        result:
                          type: string
                        certaintyLevel:
                          type: string
                      required:
                        - result
                        - certaintyLevel
                    suspiciousNumberCheck:
                      type: object
                      properties:
                        result:
                          type: string
                        certaintyLevel:
                          type: string
                      required:
                        - result
                        - certaintyLevel
                  required:
                    - overall
                    - sampleStringCheck
                    - suspiciousNumberCheck
              required:
                - overall
                - mrzCheck
                - logicCheck
                - matchCheck
                - formatCheck
                - dataIntegrityCheck
                - barcodeAnomalyCheck
                - suspiciousDataCheck
            visualCheck:
              type: object
              properties:
                overall:
                  type: object
                  properties:
                    result:
                      type: string
                  required:
                    - result
                securityFeatures:
                  type: object
                  properties:
                    overall:
                      type: object
                      properties:
                        result:
                          type: string
                      required:
                        - result
                    segmentResult:
                      type: array
                      items:
                        type: object
                  required:
                    - overall
                    - segmentResult
                photoForgeryCheck:
                  type: object
                  properties:
                    result:
                      type: string
                  required:
                    - result
              required:
                - overall
                - securityFeatures
                - photoForgeryCheck
            extractionResult:
              type: object
              properties:
                sex:
                  type: object
                  properties:
                    latin:
                      type: string
                  required:
                    - latin
                backViz:
                  type: object
                  properties:
                    dateOfBirth:
                      type: string
                      format: date
                    dateOfIssue:
                      type: string
                      format: date
                    dateOfExpiry:
                      type: string
                      format: date
                    dateOfExpiryPermanent:
                      type: boolean
                    driverLicenseDetailedInfo:
                      type: object
                      properties:
                        vehicleClassesInfo:
                          type: array
                          items:
                            type: object
                      required:
                        - vehicleClassesInfo
                  required:
                    - dateOfBirth
                    - dateOfIssue
                    - dateOfExpiry
                    - dateOfExpiryPermanent
                    - driverLicenseDetailedInfo
                barcode:
                  type: object
                  properties:
                    sex:
                      type: string
                    race:
                      type: string
                    address:
                      type: string
                    employer:
                      type: string
                    fullName:
                      type: string
                    lastName:
                      type: string
                    religion:
                      type: string
                    firstName:
                      type: string
                    middleName:
                      type: string
                    profession:
                      type: string
                    stringData:
                      type: string
                    dateOfBirth:
                      type: string
                      format: date
                    dateOfIssue:
                      type: string
                      format: date
                    nationality:
                      type: string
                    dateOfExpiry:
                      type: string
                      format: date
                    placeOfBirth:
                      type: string
                    maritalStatus:
                      type: string
                    rawDataBase64:
                      type: string
                    documentNumber:
                      type: string
                    extendedElements:
                      type: array
                      items:
                        type: object
                    issuingAuthority:
                      type: string
                    personalIdNumber:
                      type: string
                    residentialStatus:
                      type: string
                    addressDetailedInfo:
                      type: object
                      properties:
                        city:
                          type: string
                        street:
                          type: string
                        postalCode:
                          type: string
                        jurisdiction:
                          type: string
                      required:
                        - city
                        - street
                        - postalCode
                        - jurisdiction
                    documentAdditionalNumber:
                      type: string
                    additionalNameInformation:
                      type: string
                    driverLicenseDetailedInfo:
                      type: object
                      properties:
                        conditions:
                          type: string
                        endorsements:
                          type: string
                        restrictions:
                          type: string
                        vehicleClass:
                          type: string
                        vehicleClassesInfo:
                          type: array
                          items:
                            type: object
                      required:
                        - conditions
                        - endorsements
                        - restrictions
                        - vehicleClass
                        - vehicleClassesInfo
                  required:
                    - sex
                    - race
                    - address
                    - employer
                    - fullName
                    - lastName
                    - religion
                    - firstName
                    - middleName
                    - profession
                    - stringData
                    - dateOfBirth
                    - dateOfIssue
                    - nationality
                    - dateOfExpiry
                    - placeOfBirth
                    - maritalStatus
                    - rawDataBase64
                    - documentNumber
                    - extendedElements
                    - issuingAuthority
                    - personalIdNumber
                    - residentialStatus
                    - addressDetailedInfo
                    - documentAdditionalNumber
                    - additionalNameInformation
                    - driverLicenseDetailedInfo
                mrzData:
                  type: object
                  properties:
                    opt1:
                      type: string
                    gender:
                      type: string
                    issuer:
                      type: string
                    mrzParsed:
                      type: boolean
                    primaryId:
                      type: string
                    issuerName:
                      type: string
                    dateOfBirth:
                      type: object
                      properties:
                        day:
                          type: number
                        year:
                          type: number
                        month:
                          type: number
                        originalString:
                          type: string
                        successfullyParsed:
                          type: boolean
                        filledByDomainKnowledge:
                          type: boolean
                      required:
                        - day
                        - year
                        - month
                        - originalString
                        - successfullyParsed
                        - filledByDomainKnowledge
                    mrzVerified:
                      type: boolean
                    nationality:
                      type: string
                    secondaryId:
                      type: string
                    dateOfExpiry:
                      type: object
                      properties:
                        day:
                          type: number
                        year:
                          type: number
                        month:
                          type: number
                        originalString:
                          type: string
                        successfullyParsed:
                          type: boolean
                        filledByDomainKnowledge:
                          type: boolean
                      required:
                        - day
                        - year
                        - month
                        - originalString
                        - successfullyParsed
                        - filledByDomainKnowledge
                    documentCode:
                      type: string
                    documentType:
                      type: string
                    rawMrzString:
                      type: string
                    documentNumber:
                      type: string
                    nationalityName:
                      type: string
                  required:
                    - opt1
                    - gender
                    - issuer
                    - mrzParsed
                    - primaryId
                    - issuerName
                    - dateOfBirth
                    - mrzVerified
                    - nationality
                    - secondaryId
                    - dateOfExpiry
                    - documentCode
                    - documentType
                    - rawMrzString
                    - documentNumber
                    - nationalityName
                frontViz:
                  type: object
                  properties:
                    dateOfBirth:
                      type: string
                      format: date
                    dateOfIssue:
                      type: string
                      format: date
                    dateOfExpiry:
                      type: string
                      format: date
                    dateOfExpiryPermanent:
                      type: boolean
                    driverLicenseDetailedInfo:
                      type: object
                      properties:
                        vehicleClassesInfo:
                          type: array
                          items:
                            type: object
                      required:
                        - vehicleClassesInfo
                  required:
                    - dateOfBirth
                    - dateOfIssue
                    - dateOfExpiry
                    - dateOfExpiryPermanent
                    - driverLicenseDetailedInfo
                lastName:
                  type: object
                  properties:
                    latin:
                      type: string
                  required:
                    - latin
                classInfo:
                  type: object
                  properties:
                    type:
                      type: string
                    region:
                      type: string
                    country:
                      type: string
                    countryName:
                      type: string
                    isoAlpha2CountryCode:
                      type: string
                    isoAlpha3CountryCode:
                      type: string
                    isoNumericCountryCode:
                      type: string
                  required:
                    - type
                    - region
                    - country
                    - countryName
                    - isoAlpha2CountryCode
                    - isoAlpha3CountryCode
                    - isoNumericCountryCode
                firstName:
                  type: object
                  properties:
                    latin:
                      type: string
                  required:
                    - latin
                dateOfBirth:
                  type: object
                  properties:
                    day:
                      type: number
                    year:
                      type: number
                    month:
                      type: number
                    originalString:
                      type: object
                      properties:
                        latin:
                          type: string
                      required:
                        - latin
                    successfullyParsed:
                      type: boolean
                    filledByDomainKnowledge:
                      type: boolean
                  required:
                    - day
                    - year
                    - month
                    - originalString
                    - successfullyParsed
                    - filledByDomainKnowledge
                dateOfIssue:
                  type: string
                  format: date
                nationality:
                  type: object
                  properties:
                    latin:
                      type: string
                  required:
                    - latin
                dateOfExpiry:
                  type: object
                  properties:
                    day:
                      type: number
                    year:
                      type: number
                    month:
                      type: number
                    originalString:
                      type: object
                      properties:
                        latin:
                          type: string
                      required:
                        - latin
                    successfullyParsed:
                      type: boolean
                    filledByDomainKnowledge:
                      type: boolean
                  required:
                    - day
                    - year
                    - month
                    - originalString
                    - successfullyParsed
                    - filledByDomainKnowledge
                documentNumber:
                  type: object
                  properties:
                    latin:
                      type: string
                  required:
                    - latin
                dataMatchResult:
                  type: object
                  properties:
                    dateOfBirth:
                      type: string
                    dateOfExpiry:
                      type: string
                    documentNumber:
                      type: string
                    dataMatchResult:
                      type: string
                    personalIdNumber:
                      type: string
                    documentAdditionalNumber:
                      type: string
                    documentOptionalAdditionalNumber:
                      type: string
                  required:
                    - dateOfBirth
                    - dateOfExpiry
                    - documentNumber
                    - dataMatchResult
                    - personalIdNumber
                    - documentAdditionalNumber
                    - documentOptionalAdditionalNumber
                recognitionMode:
                  type: string
                processingStatus:
                  type: string
                recognitionStatus:
                  type: string
                backProcessingStatus:
                  type: string
                dateOfExpiryPermanent:
                  type: boolean
                frontProcessingStatus:
                  type: string
                scanningFirstSideDone:
                  type: boolean
                backImageAnalysisResult:
                  type: object
                  properties:
                    blurred:
                      type: boolean
                    cardRotation:
                      type: string
                    cardOrientation:
                      type: string
                    mrzDetectionStatus:
                      type: string
                    faceDetectionStatus:
                      type: string
                    realIDDetectionStatus:
                      type: string
                    barcodeDetectionStatus:
                      type: string
                    documentImageColorStatus:
                      type: string
                    documentImageMoireStatus:
                      type: string
                  required:
                    - blurred
                    - cardRotation
                    - cardOrientation
                    - mrzDetectionStatus
                    - faceDetectionStatus
                    - realIDDetectionStatus
                    - barcodeDetectionStatus
                    - documentImageColorStatus
                    - documentImageMoireStatus
                frontImageAnalysisResult:
                  type: object
                  properties:
                    blurred:
                      type: boolean
                    cardRotation:
                      type: string
                    cardOrientation:
                      type: string
                    mrzDetectionStatus:
                      type: string
                    faceDetectionStatus:
                      type: string
                    realIDDetectionStatus:
                      type: string
                    barcodeDetectionStatus:
                      type: string
                    documentImageColorStatus:
                      type: string
                    documentImageMoireStatus:
                      type: string
                  required:
                    - blurred
                    - cardRotation
                    - cardOrientation
                    - mrzDetectionStatus
                    - faceDetectionStatus
                    - realIDDetectionStatus
                    - barcodeDetectionStatus
                    - documentImageColorStatus
                    - documentImageMoireStatus
                driverLicenseDetailedInfo:
                  type: object
                  properties:
                    vehicleClassesInfo:
                      type: array
                      items:
                        type: object
                  required:
                    - vehicleClassesInfo
                backAdditionalProcessingInfo:
                  type: object
                  properties:
                    extraPresentFields:
                      type: array
                      items:
                        type: object
                    invalidCharacterFields:
                      type: array
                      items:
                        type: object
                    missingMandatoryFields:
                      type: array
                      items:
                        type: object
                  required:
                    - extraPresentFields
                    - invalidCharacterFields
                    - missingMandatoryFields
                frontAdditionalProcessingInfo:
                  type: object
                  properties:
                    extraPresentFields:
                      type: array
                      items:
                        type: object
                    invalidCharacterFields:
                      type: array
                      items:
                        type: object
                    missingMandatoryFields:
                      type: array
                      items:
                        type: object
                  required:
                    - extraPresentFields
                    - invalidCharacterFields
                    - missingMandatoryFields
              required:
                - sex
                - backViz
                - barcode
                - mrzData
                - frontViz
                - lastName
                - classInfo
                - firstName
                - dateOfBirth
                - dateOfIssue
                - nationality
                - dateOfExpiry
                - documentNumber
                - dataMatchResult
                - recognitionMode
                - processingStatus
                - recognitionStatus
                - backProcessingStatus
                - dateOfExpiryPermanent
                - frontProcessingStatus
                - scanningFirstSideDone
                - backImageAnalysisResult
                - frontImageAnalysisResult
                - driverLicenseDetailedInfo
                - backAdditionalProcessingInfo
                - frontAdditionalProcessingInfo
            processingStatus:
              type: string
            imageQualityCheck:
              type: object
              properties:
                overall:
                  type: object
                  properties:
                    result:
                      type: string
                    certaintyLevel:
                      type: string
                  required:
                    - result
                    - certaintyLevel
              required:
                - overall
            overallFraudCheck:
              type: object
              properties:
                result:
                  type: object
                  properties:
                    result:
                      type: string
                    certaintyLevel:
                      type: string
                  required:
                    - result
                    - certaintyLevel
                performedChecks:
                  type: number
              required:
                - result
                - performedChecks
            recognitionStatus:
              type: string
            documentLivenessCheck:
              type: object
              properties:
                overall:
                  type: object
                  properties:
                    result:
                      type: string
                  required:
                    - result
                screenCheck:
                  type: object
                  properties:
                    result:
                      type: string
                    matchLevel:
                      type: string
                  required:
                    - result
                    - matchLevel
                photocopyCheck:
                  type: object
                  properties:
                    result:
                      type: string
                    matchLevel:
                      type: string
                  required:
                    - result
                    - matchLevel
                handPresenceCheck:
                  type: string
              required:
                - overall
                - screenCheck
                - photocopyCheck
                - handPresenceCheck
            documentValidityCheck:
              type: object
              properties:
                overall:
                  type: string
                expiredCheck:
                  type: string
                versionCheck:
                  type: string
              required:
                - overall
                - expiredCheck
                - versionCheck
          required:
            - dataCheck
            - visualCheck
            - extractionResult
            - processingStatus
            - imageQualityCheck
            - overallFraudCheck
            - recognitionStatus
            - documentLivenessCheck
            - documentValidityCheck
        date_of_birth:
          type: string
        document_type:
          type: string
        optional_data:
          type: string
        ignored_fields:
          type: array
          items:
            type: string
        missing_fields:
          type: array
          items:
            type: object
        mrz_raw_string:
          type: string
        birth date hash:
          type: string
        document_number:
          type: string
        issuing_country:
          type: string
        passport_number:
          type: string
        country_of_birth:
          type: string
        expiry date hash:
          type: string
        optional data hash:
          type: string
        personal_id_number:
          type: string
        valid country code:
          type: string
        valid genre format:
          type: string
        document number hash:
          type: string
        document type format:
          type: string
        optional data format:
          type: string
        passport_expiry_date:
          type: string
        document number format:
          type: string
        valid nationality code:
          type: string
      title: AresOcrResultDto
    AsiaVerifyProfileRequestDto:
      type: object
      properties:
        connectType:
          type: string
        country:
          type: string
        language:
          type: string
        name:
          type: string
        number:
          type: string
        template:
          type: string
      title: AsiaVerifyProfileRequestDto
    AsiaVerifySearchRequestDto:
      type: object
      properties:
        connectType:
          type: string
        country:
          type: string
        keyword:
          type: string
        template:
          type: string
      title: AsiaVerifySearchRequestDto
    AuthenticationRequestDto:
      type: object
      required:
        - password
        - username
      properties:
        password:
          type: string
        username:
          type: string
      title: AuthenticationRequestDto
    AuthenticationResponseDto:
      type: object
      properties:
        access_token:
          type: string
        expires_in:
          type: string
        jti:
          type: string
        message:
          type: string
        refresh_token:
          type: string
        scope:
          type: string
        sub:
          type: string
        token_type:
          type: string
        user_id:
          type: string
      title: AuthenticationResponseDto
    CRPRequestDto:
      type: object
      required:
        - type
      properties:
        active:
          type: boolean
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        profileId:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        referenceId:
          type: string
        roles:
          type: array
          items:
            $ref: '#/components/schemas/CRPRoleRequestDto'
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
      title: CRPRequestDto
    CRPRole:
      type: object
      properties:
        appointedDate:
          type: string
          format: date
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        id:
          type: integer
          format: int64
        resignedDate:
          type: string
          format: date
        role:
          type: string
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: CRPRole
    CRPRoleRequestDto:
      type: object
      required:
        - role
      properties:
        appointedDate:
          type: string
          format: date
        id:
          type: integer
          format: int64
        resignedDate:
          type: string
          format: date
        role:
          type: string
      title: CRPRoleRequestDto
    CRPRoleResponseDto:
      type: object
      properties:
        appointedDate:
          type: string
          format: date
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        id:
          type: integer
          format: int64
        resignedDate:
          type: string
          format: date
        role:
          type: string
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: CRPRoleResponseDto
    ChangePasswordRequestDto:
      type: object
      required:
        - oldPassword
        - password
      properties:
        email:
          type: string
        oldPassword:
          type: string
        password:
          type: string
      title: ChangePasswordRequestDto
    ClientCredentialsDto:
      type: object
      required:
        - clientId
        - clientSecret
      properties:
        clientId:
          type: string
        clientSecret:
          type: string
      title: ClientCredentialsDto
    CommentRequestDto:
      type: object
      required:
        - content
        - objectId
      properties:
        content:
          type: string
        objectId:
          type: integer
          format: int64
      title: CommentRequestDto
    CommentResponseDto:
      type: object
      properties:
        content:
          type: string
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        id:
          type: integer
          format: int64
        objectId:
          type: integer
          format: int64
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: CommentResponseDto
    CommentUpdateRequestDto:
      type: object
      required:
        - content
      properties:
        content:
          type: string
      title: CommentUpdateRequestDto
    CorporateCRPDto:
      type: object
      required:
        - other
        - type
      properties:
        active:
          type: boolean
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        other:
          $ref: '#/components/schemas/CorporateCRPOtherDto'
        particular:
          $ref: '#/components/schemas/CorporateCRPParticularDto'
        profileId:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        referenceId:
          type: string
        roles:
          type: array
          items:
            $ref: '#/components/schemas/CRPRoleRequestDto'
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
      title: CorporateCRPDto
    CorporateCRPOtherDto:
      type: object
      properties:
        bankAccountNumber:
          type: array
          items:
            type: string
        businessCessationDate:
          type: string
          format: date
        corporateWebsite:
          type: string
        dateOfIncorporation:
          type: string
          format: date
        dateOfIncorporationExpiry:
          type: string
          format: date
        documentList:
          type: array
          items:
            type: string
        entityType:
          type: string
        otherEntityType:
          type: string
        ownershipPercentage:
          type: number
          format: float
        ownershipStructureLayer:
          type: string
        sourceOfFunds:
          type: string
        status:
          type: string
        undischargedBankrupt:
          type: boolean
        variableCapitalCompany:
          type: string
      title: CorporateCRPOtherDto
    CorporateCRPParticularDto:
      type: object
      required:
        - countryOfOperation
        - name
      properties:
        address:
          type: array
          items:
            type: string
        alias:
          type: array
          items:
            type: string
        countryOfIncorporation:
          type: string
        countryOfOperation:
          type: array
          items:
            type: string
        dateOfIncorporation:
          type: string
          format: date
        dateOfIncorporationExpiry:
          type: string
          format: date
        email:
          type: array
          items:
            type: string
        formerName:
          type: array
          items:
            type: string
        imonumber:
          type: string
        incorporateNumber:
          type: string
        incorporated:
          type: boolean
        name:
          type: string
        phone:
          type: array
          items:
            type: string
      title: CorporateCRPParticularDto
    CorporationDto:
      type: object
      required:
        - other
        - profileReferenceId
        - type
      properties:
        active:
          type: boolean
        assigneeId:
          type: integer
          format: int64
        batchUploadId:
          type: integer
          format: int64
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        other:
          $ref: '#/components/schemas/CorporationOtherDto'
        particular:
          $ref: '#/components/schemas/CorporationParticularDto'
        profileId:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        referenceId:
          type: string
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
        vendorEntityGuid:
          type: string
        vendorName:
          type: string
      title: CorporationDto
    CorporationOtherDto:
      type: object
      required:
        - entityType
        - industry
        - onBoardingMode
        - ownershipStructureLayer
        - productServiceComplexity
      properties:
        additionalInformation:
          type: string
        bankAccount:
          type: array
          items:
            type: string
        corporateWebsite:
          type: string
        documentList:
          type: array
          items:
            type: string
        entityType:
          type: string
        fatfjurisdiction:
          type: boolean
        industry:
          type: string
        natureOfBusinessRelationship:
          type: string
        onBoardingMode:
          type: string
        otherEntityType:
          type: string
        ownershipStructureLayer:
          type: string
        paymentMode:
          type: array
          items:
            type: string
        productServiceComplexity:
          type: string
        sourceOfFunds:
          type: string
        variableCapitalCompany:
          type: string
      title: CorporationOtherDto
    CorporationParticularDto:
      type: object
      required:
        - countryOfOperation
        - name
      properties:
        address:
          type: array
          items:
            type: string
        alias:
          type: array
          items:
            type: string
        countryOfIncorporation:
          type: string
        countryOfOperation:
          type: array
          items:
            type: string
        dateOfIncorporation:
          type: string
          format: date
        dateOfIncorporationExpiry:
          type: string
          format: date
        email:
          type: array
          items:
            type: string
        formerName:
          type: array
          items:
            type: string
        imonumber:
          type: string
        incorporateNumber:
          type: string
        incorporated:
          type: boolean
        name:
          type: string
        phone:
          type: array
          items:
            type: string
      title: CorporationParticularDto
    CreditDto:
      type: object
      properties:
        creditType:
          type: string
        isActive:
          type: boolean
        remainingAmount:
          type: integer
          format: int64
        screeningType:
          type: string
          enum:
            - ARTEMISCAN
            - DJ
            - FACE_COMPARE
            - INTERNET_SEARCH
            - OCR
            - OWN_RESTRICTED_LIST
            - TR
        totalAmount:
          type: integer
          format: int64
      title: CreditDto
    CreditInfoDto:
      type: object
      properties:
        credits:
          type: array
          items:
            $ref: '#/components/schemas/CreditDto'
        subscription:
          $ref: '#/components/schemas/SubscriptionDto'
      title: CreditInfoDto
    CrpOwnershipPercentageDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        ownershipPercentage:
          type: integer
          format: int32
      title: CrpOwnershipPercentageDto
    Customer:
      type: object
      properties:
        active:
          type: boolean
        batchUpload:
          $ref: '#/components/schemas/CustomerBatchUpload'
        batchUploadId:
          type: integer
          format: int64
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        crpList:
          type: array
          items:
            $ref: '#/components/schemas/Customer'
        crpRoles:
          type: array
          items:
            $ref: '#/components/schemas/CRPRole'
        domainId:
          type: integer
          format: int64
        fields:
          $ref: '#/components/schemas/JsonNode'
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        notes:
          $ref: '#/components/schemas/JsonNode'
        profile:
          $ref: '#/components/schemas/Profile'
        referenceId:
          type: string
        riskRating:
          type: string
          enum:
            - HIGH
            - LOW
            - MEDIUM
            - MEDIUM_HIGH
            - MEDIUM_LOW
            - UNKNOWN
        status:
          type: string
          enum:
            - ACCEPTED
            - CLEARED
            - DRAFT
            - PENDING
            - REJECTED
            - REQUEST_CHANGES
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        vendorName:
          type: string
        vendorProfileEntityGuid:
          type: string
      title: Customer
    CustomerAccessControlResponseDto:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        id:
          type: integer
          format: int64
        sourceCustomerId:
          type: integer
          format: int64
        sourceDomainId:
          type: integer
          format: int64
        targetCustomerId:
          type: integer
          format: int64
        targetDomainId:
          type: integer
          format: int64
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: CustomerAccessControlResponseDto
    CustomerAssigneeRequestDto:
      type: object
      properties:
        customerId:
          type: integer
          format: int64
        main:
          type: boolean
        userId:
          type: integer
          format: int64
      title: CustomerAssigneeRequestDto
    CustomerAssigneeResponseDto:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        id:
          type: integer
          format: int64
        main:
          type: boolean
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        userId:
          type: integer
          format: int64
      title: CustomerAssigneeResponseDto
    CustomerBatchUpload:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        domainId:
          type: integer
          format: int64
        failReasons:
          type: string
        filePath:
          type: string
        filename:
          type: string
        id:
          type: integer
          format: int64
        runtime:
          type: string
          format: date-time
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: CustomerBatchUpload
    CustomerDto:
      type: object
      required:
        - profileReferenceId
        - type
      properties:
        active:
          type: boolean
        assigneeId:
          type: integer
          format: int64
        batchUploadId:
          type: integer
          format: int64
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        profileId:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        referenceId:
          type: string
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
        vendorEntityGuid:
          type: string
        vendorName:
          type: string
      title: CustomerDto
    CustomerResponseDto:
      type: object
      properties:
        active:
          type: boolean
        assignees:
          type: array
          items:
            $ref: '#/components/schemas/UserInfo'
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        lastRiskAssessment:
          type: string
          format: date-time
        listRoleAsText:
          type: array
          items:
            type: string
        notes:
          $ref: '#/components/schemas/JsonNode'
        other:
          $ref: '#/components/schemas/JsonNode'
        parentId:
          type: integer
          format: int64
        particular:
          $ref: '#/components/schemas/JsonNode'
        profileId:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        referenceId:
          type: string
        riskRating:
          type: string
          enum:
            - HIGH
            - LOW
            - MEDIUM
            - MEDIUM_HIGH
            - MEDIUM_LOW
            - UNKNOWN
        roles:
          type: array
          items:
            $ref: '#/components/schemas/CRPRoleResponseDto'
        status:
          type: string
          enum:
            - ACCEPTED
            - CLEARED
            - DRAFT
            - PENDING
            - REJECTED
            - REQUEST_CHANGES
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        vendorEntityGuid:
          type: string
        vendorName:
          type: string
      title: CustomerResponseDto
    CustomerRiskRatingStatsDto:
      type: object
      properties:
        riskRating:
          type: string
          enum:
            - HIGH
            - LOW
            - MEDIUM
            - MEDIUM_HIGH
            - MEDIUM_LOW
            - UNKNOWN
        total:
          type: integer
          format: int64
      title: CustomerRiskRatingStatsDto
    CustomerScreeningStatusResponseDto:
      type: object
      properties:
        concluded:
          type: boolean
        screeningStatus:
          type: string
          enum:
            - DONE
            - FAILED
            - NEVER
            - PENDING
        screeningValid:
          type: boolean
      title: CustomerScreeningStatusResponseDto
    CustomerScreeningSummaryResponseDto:
      type: object
      properties:
        customer:
          $ref: '#/components/schemas/CustomerResponseDto'
        parentCustomer:
          $ref: '#/components/schemas/CustomerResponseDto'
        screening:
          $ref: '#/components/schemas/ScreeningResponseDto'
      title: CustomerScreeningSummaryResponseDto
    CustomerStatusStatsDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - ACCEPTED
            - CLEARED
            - DRAFT
            - PENDING
            - REJECTED
            - REQUEST_CHANGES
        total:
          type: integer
          format: int64
      title: CustomerStatusStatsDto
    CustomerWithCrpDto:
      type: object
      properties:
        crps:
          type: array
          items:
            $ref: '#/components/schemas/CRPRequestDto'
        customer:
          $ref: '#/components/schemas/CustomerDto'
        triggerScreening:
          type: boolean
        triggerScreeningForCrp:
          type: boolean
      title: CustomerWithCrpDto
    CustomerWithCrpResponseDto:
      type: object
      properties:
        crps:
          type: array
          items:
            $ref: '#/components/schemas/CustomerResponseDto'
        customer:
          $ref: '#/components/schemas/CustomerResponseDto'
      title: CustomerWithCrpResponseDto
    DataServiceAccessTokenResponseDto:
      type: object
      properties:
        accessToken:
          type: string
        expiresIn:
          type: string
        tokenType:
          type: string
      title: DataServiceAccessTokenResponseDto
    DataServiceBalanceCheckResponseDto:
      type: object
      properties:
        creditBalance:
          type: number
          format: float
        otherBalanceInfo:
          type: object
          additionalProperties:
            type: string
        username:
          type: string
      title: DataServiceBalanceCheckResponseDto
    DataServiceProfileImportRequest:
      type: object
      properties:
        crps:
          type: array
          items:
            $ref: '#/components/schemas/CRPRequestDto'
        customerDto:
          $ref: '#/components/schemas/CustomerDto'
      title: DataServiceProfileImportRequest
    DataServiceProfileResponseDto:
      type: object
      properties:
        crps:
          type: array
          items:
            $ref: '#/components/schemas/CRPRequestDto'
        customerDto:
          $ref: '#/components/schemas/CustomerDto'
      title: DataServiceProfileResponseDto
    DataServiceSearchResponseDto:
      type: object
      properties:
        id:
          type: string
        nameList:
          type: array
          items:
            type: string
        type:
          type: string
        uenList:
          type: array
          items:
            type: string
      title: DataServiceSearchResponseDto
    DataServiceSourceCheckResponseDto:
      type: object
      properties:
        dataset:
          type: array
          items:
            $ref: '#/components/schemas/Dataset'
      title: DataServiceSourceCheckResponseDto
    Dataset:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
      title: Dataset
    Document:
      type: object
      properties:
        authenticity:
          type: string
        back:
          type: string
        backName:
          type: string
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        expiryDate:
          type: string
          format: date
        front:
          type: string
        frontName:
          type: string
        id:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date
        number:
          type: string
        showExpiryNotification:
          type: boolean
        type:
          type: string
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: Document
    DocumentRequestDto:
      type: object
      required:
        - type
      properties:
        authenticity:
          type: string
        createdAt:
          $ref: '#/components/schemas/TimestampReq'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        expiryDate:
          type: string
          format: date
        id:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date
        number:
          type: string
        showExpiryNotification:
          type: boolean
        type:
          type: string
        updatedAt:
          $ref: '#/components/schemas/TimestampReq'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: DocumentRequestDto
    DocumentResponseDto:
      type: object
      properties:
        assignees:
          type: array
          items:
            $ref: '#/components/schemas/UserInfo'
        authenticity:
          type: string
        back:
          type: string
        backName:
          type: string
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        customerId:
          type: integer
          format: int64
        expiryDate:
          type: string
          format: date
        front:
          type: string
        frontName:
          type: string
        id:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date
        number:
          type: string
        parentCustomerId:
          type: integer
          format: int64
        parentParticular:
          $ref: '#/components/schemas/JsonNode'
        particular:
          $ref: '#/components/schemas/JsonNode'
        showExpiryNotification:
          type: boolean
        type:
          type: string
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: DocumentResponseDto
    DomainDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
      title: DomainDto
    FirstTimeCodeRequestDto:
      type: object
      required:
        - password
      properties:
        mfaCode:
          type: integer
          format: int32
        password:
          type: string
      title: FirstTimeCodeRequestDto
    ForgetPasswordRequestDto:
      type: object
      required:
        - email
      properties:
        email:
          type: string
      title: ForgetPasswordRequestDto
    HandShakeProfileRequestDto:
      type: object
      required:
        - entityGuid
        - sourceShortName
      properties:
        entityGuid:
          type: string
        sourceShortName:
          type: string
      title: HandShakeProfileRequestDto
    HandShakeSearchRequestDto:
      type: object
      required:
        - searchText
        - sourceShortName
      properties:
        searchText:
          type: string
        sourceShortName:
          type: string
      title: HandShakeSearchRequestDto
    HandShakeTokenRequestDto:
      type: object
      properties:
        password:
          type: string
        username:
          type: string
      title: HandShakeTokenRequestDto
    IndividualCRPDto:
      title: IndividualCRPDto
      allOf:
        - $ref: '#/components/schemas/CRPRequestDto'
        - type: object
          required:
            - other
            - type
          properties:
            active:
              type: boolean
            forms:
              $ref: '#/components/schemas/JsonNode'
            id:
              type: integer
              format: int64
            other:
              $ref: '#/components/schemas/IndividualCRPOtherDto'
            particular:
              $ref: '#/components/schemas/IndividualCRPParticularDto'
            profileId:
              type: integer
              format: int64
            profileReferenceId:
              type: string
            referenceId:
              type: string
            roles:
              type: array
              items:
                $ref: '#/components/schemas/CRPRoleRequestDto'
            type:
              type: string
              enum:
                - CORPORATE
                - INDIVIDUAL
          title: IndividualCRPDto
    IndividualCRPOtherDto:
      type: object
      properties:
        bankAccountNumber:
          type: array
          items:
            type: string
        documentList:
          type: array
          items:
            type: string
        ownershipPercentage:
          type: number
          format: float
        sourceOfFunds:
          type: string
        status:
          type: string
        undischargedBankrupt:
          type: boolean
      title: IndividualCRPOtherDto
    IndividualCRPParticularDto:
      type: object
      required:
        - gender
        - name
        - nationality
      properties:
        address:
          type: array
          items:
            type: string
        alias:
          type: array
          items:
            type: string
        countryOfBirth:
          type: string
        countryOfResidence:
          type: string
        dateOfBirth:
          type: string
          format: date
        email:
          type: array
          items:
            type: string
        formerName:
          type: array
          items:
            type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - UNKNOWN
        identityDocumentType:
          type: string
        identityExpiryDate:
          type: string
          format: date
        identityIssuedDate:
          type: string
          format: date
        identityNumber:
          type: string
        name:
          type: string
        nationality:
          type: array
          items:
            type: string
        phone:
          type: array
          items:
            type: string
        salutation:
          type: string
      title: IndividualCRPParticularDto
    IndividualDto:
      type: object
      required:
        - other
        - profileReferenceId
        - type
      properties:
        active:
          type: boolean
        assigneeId:
          type: integer
          format: int64
        batchUploadId:
          type: integer
          format: int64
        forms:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        other:
          $ref: '#/components/schemas/IndividualOtherDto'
        particular:
          $ref: '#/components/schemas/IndividualParticularDto'
        profileId:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        referenceId:
          type: string
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
        vendorEntityGuid:
          type: string
        vendorName:
          type: string
      title: IndividualDto
    IndividualOtherDto:
      type: object
      required:
        - industry
        - occupation
        - onBoardingMode
        - productServiceComplexity
      properties:
        additionalInformation:
          type: string
        bankAccount:
          type: array
          items:
            type: string
        documentList:
          type: array
          items:
            type: string
        industry:
          type: string
        natureOfBusinessRelationship:
          type: string
        occupation:
          type: string
        onBoardingMode:
          type: string
        paymentMode:
          type: array
          items:
            type: string
        productServiceComplexity:
          type: string
        sourceOfFunds:
          type: string
      title: IndividualOtherDto
    IndividualParticularDto:
      type: object
      required:
        - gender
        - name
        - nationality
      properties:
        address:
          type: array
          items:
            type: string
        alias:
          type: array
          items:
            type: string
        countryOfBirth:
          type: string
        countryOfResidence:
          type: string
        dateOfBirth:
          type: string
          format: date
        email:
          type: array
          items:
            type: string
        formerName:
          type: array
          items:
            type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - UNKNOWN
        identityDocumentType:
          type: string
        identityExpiryDate:
          type: string
          format: date
        identityIssuedDate:
          type: string
          format: date
        identityNumber:
          type: string
        name:
          type: string
        nationality:
          type: array
          items:
            type: string
        phone:
          type: array
          items:
            type: string
        salutation:
          type: string
      title: IndividualParticularDto
    InputStream:
      type: object
      title: InputStream
    JobBuilderDto:
      type: object
      required:
        - cronExpression
        - jobName
        - tenantId
      properties:
        cronExpression:
          type: string
        jobName:
          type: string
          enum:
            - CUSTOMER_BATCH_UPLOAD
            - EXPIRED_DOCUMENT
            - ODD
            - PERIODIC_REVIEW
        tenantId:
          type: string
      title: JobBuilderDto
    JobCreationResponseDto:
      type: object
      properties:
        cronExpression:
          type: string
        id:
          type: integer
          format: int64
        jobName:
          type: string
          enum:
            - CUSTOMER_BATCH_UPLOAD
            - EXPIRED_DOCUMENT
            - ODD
            - PERIODIC_REVIEW
        jobStatus:
          type: string
        tenantId:
          type: string
      title: JobCreationResponseDto
    JsonNode:
      type: object
      title: JsonNode
    Link:
      type: object
      properties:
        href:
          type: string
        templated:
          type: boolean
      title: Link
    MfaLoginRequestDto:
      type: object
      required:
        - mfaCode
        - mfaToken
      properties:
        mfaCode:
          type: string
        mfaToken:
          type: string
      title: MfaLoginRequestDto
    ModelAndView:
      type: object
      properties:
        empty:
          type: boolean
        model:
          type: object
        modelMap:
          type: object
          additionalProperties:
            type: object
        reference:
          type: boolean
        status:
          type: string
          enum:
            - ACCEPTED
            - ALREADY_REPORTED
            - BAD_GATEWAY
            - BAD_REQUEST
            - BANDWIDTH_LIMIT_EXCEEDED
            - CHECKPOINT
            - CONFLICT
            - CONTINUE
            - CREATED
            - DESTINATION_LOCKED
            - EXPECTATION_FAILED
            - FAILED_DEPENDENCY
            - FORBIDDEN
            - FOUND
            - GATEWAY_TIMEOUT
            - GONE
            - HTTP_VERSION_NOT_SUPPORTED
            - IM_USED
            - INSUFFICIENT_SPACE_ON_RESOURCE
            - INSUFFICIENT_STORAGE
            - INTERNAL_SERVER_ERROR
            - I_AM_A_TEAPOT
            - LENGTH_REQUIRED
            - LOCKED
            - LOOP_DETECTED
            - METHOD_FAILURE
            - METHOD_NOT_ALLOWED
            - MOVED_PERMANENTLY
            - MOVED_TEMPORARILY
            - MULTIPLE_CHOICES
            - MULTI_STATUS
            - NETWORK_AUTHENTICATION_REQUIRED
            - NON_AUTHORITATIVE_INFORMATION
            - NOT_ACCEPTABLE
            - NOT_EXTENDED
            - NOT_FOUND
            - NOT_IMPLEMENTED
            - NOT_MODIFIED
            - NO_CONTENT
            - OK
            - PARTIAL_CONTENT
            - PAYLOAD_TOO_LARGE
            - PAYMENT_REQUIRED
            - PERMANENT_REDIRECT
            - PRECONDITION_FAILED
            - PRECONDITION_REQUIRED
            - PROCESSING
            - PROXY_AUTHENTICATION_REQUIRED
            - REQUESTED_RANGE_NOT_SATISFIABLE
            - REQUEST_ENTITY_TOO_LARGE
            - REQUEST_HEADER_FIELDS_TOO_LARGE
            - REQUEST_TIMEOUT
            - REQUEST_URI_TOO_LONG
            - RESET_CONTENT
            - SEE_OTHER
            - SERVICE_UNAVAILABLE
            - SWITCHING_PROTOCOLS
            - TEMPORARY_REDIRECT
            - TOO_EARLY
            - TOO_MANY_REQUESTS
            - UNAUTHORIZED
            - UNAVAILABLE_FOR_LEGAL_REASONS
            - UNPROCESSABLE_ENTITY
            - UNSUPPORTED_MEDIA_TYPE
            - UPGRADE_REQUIRED
            - URI_TOO_LONG
            - USE_PROXY
            - VARIANT_ALSO_NEGOTIATES
        view:
          $ref: '#/components/schemas/View'
        viewName:
          type: string
      title: ModelAndView
    ODDSearchRequest:
      type: object
      properties:
        endDate:
          type: string
          format: date
        filtered:
          type: boolean
        searchString:
          type: string
        startDate:
          type: string
          format: date
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
      title: ODDSearchRequest
    OwnRestrictedListRequestDto:
      type: object
      required:
        - listName
      properties:
        active:
          type: boolean
        domainIds:
          type: array
          items:
            type: integer
            format: int64
        listName:
          type: string
      title: OwnRestrictedListRequestDto
    OwnRestrictedListResponseDto:
      type: object
      properties:
        active:
          type: boolean
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        domains:
          type: array
          items:
            $ref: '#/components/schemas/DomainDto'
        id:
          type: integer
          format: int64
        listName:
          type: string
        nameOnList:
          type: integer
          format: int32
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: OwnRestrictedListResponseDto
    OwnershipListDto:
      type: object
      properties:
        crps:
          type: array
          items:
            $ref: '#/components/schemas/CrpOwnershipPercentageDto'
        total:
          type: integer
          format: int32
      title: OwnershipListDto
    Pageable:
      type: object
      properties:
        offset:
          type: integer
          format: int64
        pageNumber:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        paged:
          type: boolean
        sort:
          $ref: '#/components/schemas/Sort'
        unpaged:
          type: boolean
      title: Pageable
    PasswordResetRequestDto:
      type: object
      required:
        - password
      properties:
        password:
          type: string
      title: PasswordResetRequestDto
    PermissionHandleRequestDto:
      type: object
      required:
        - permission
      properties:
        permission:
          type: string
          enum:
            - ADMIN
            - ANONYMOUS
            - CASE_APPROVE
            - CASE_APPROVE_ACCEPTED
            - CASE_APPROVE_ACCEPTED_HIGH_RISK
            - CASE_APPROVE_ACCEPTED_LOW_RISK
            - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
            - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
            - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
            - CASE_APPROVE_REJECTED
            - CASE_ASSIGN
            - CASE_CREATE
            - CASE_DELETE
            - CASE_DELETE_COMMENT
            - CASE_DELETE_DOCUMENT
            - CASE_GROUP_PERMISSIVE
            - CASE_PERMISSIVE
            - CASE_REQUEST_UPDATE
            - CASE_UPDATE
            - CASE_VIEW
            - ORL_CREATE
            - ORL_DELETE
            - ORL_UPDATE
            - ORL_VIEW
            - SERVICE
            - USER_CREATE
            - USER_DELETE
            - USER_GROUP_CREATE
            - USER_GROUP_DELETE
            - USER_GROUP_UPDATE
            - USER_GROUP_VIEW
            - USER_REACTIVATE
            - USER_UPDATE_PERMISSION
            - USER_VIEW
      title: PermissionHandleRequestDto
    Profile:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        customers:
          type: array
          items:
            $ref: '#/components/schemas/Customer'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/Document'
        fields:
          $ref: '#/components/schemas/JsonNode'
        id:
          type: integer
          format: int64
        profileReferenceId:
          type: string
        type:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: Profile
    RefreshTokenRequestDto:
      type: object
      required:
        - refreshToken
      properties:
        refreshToken:
          type: string
      title: RefreshTokenRequestDto
    Resource:
      type: object
      properties:
        description:
          type: string
        file:
          type: string
          format: binary
        filename:
          type: string
        inputStream:
          $ref: '#/components/schemas/InputStream'
        open:
          type: boolean
        readable:
          type: boolean
        uri:
          type: string
          format: uri
        url:
          type: string
          format: url
      title: Resource
    ResponseEntity:
      type: object
      properties:
        body:
          type: object
        statusCode:
          type: string
          enum:
            - ACCEPTED
            - ALREADY_REPORTED
            - BAD_GATEWAY
            - BAD_REQUEST
            - BANDWIDTH_LIMIT_EXCEEDED
            - CHECKPOINT
            - CONFLICT
            - CONTINUE
            - CREATED
            - DESTINATION_LOCKED
            - EXPECTATION_FAILED
            - FAILED_DEPENDENCY
            - FORBIDDEN
            - FOUND
            - GATEWAY_TIMEOUT
            - GONE
            - HTTP_VERSION_NOT_SUPPORTED
            - IM_USED
            - INSUFFICIENT_SPACE_ON_RESOURCE
            - INSUFFICIENT_STORAGE
            - INTERNAL_SERVER_ERROR
            - I_AM_A_TEAPOT
            - LENGTH_REQUIRED
            - LOCKED
            - LOOP_DETECTED
            - METHOD_FAILURE
            - METHOD_NOT_ALLOWED
            - MOVED_PERMANENTLY
            - MOVED_TEMPORARILY
            - MULTIPLE_CHOICES
            - MULTI_STATUS
            - NETWORK_AUTHENTICATION_REQUIRED
            - NON_AUTHORITATIVE_INFORMATION
            - NOT_ACCEPTABLE
            - NOT_EXTENDED
            - NOT_FOUND
            - NOT_IMPLEMENTED
            - NOT_MODIFIED
            - NO_CONTENT
            - OK
            - PARTIAL_CONTENT
            - PAYLOAD_TOO_LARGE
            - PAYMENT_REQUIRED
            - PERMANENT_REDIRECT
            - PRECONDITION_FAILED
            - PRECONDITION_REQUIRED
            - PROCESSING
            - PROXY_AUTHENTICATION_REQUIRED
            - REQUESTED_RANGE_NOT_SATISFIABLE
            - REQUEST_ENTITY_TOO_LARGE
            - REQUEST_HEADER_FIELDS_TOO_LARGE
            - REQUEST_TIMEOUT
            - REQUEST_URI_TOO_LONG
            - RESET_CONTENT
            - SEE_OTHER
            - SERVICE_UNAVAILABLE
            - SWITCHING_PROTOCOLS
            - TEMPORARY_REDIRECT
            - TOO_EARLY
            - TOO_MANY_REQUESTS
            - UNAUTHORIZED
            - UNAVAILABLE_FOR_LEGAL_REASONS
            - UNPROCESSABLE_ENTITY
            - UNSUPPORTED_MEDIA_TYPE
            - UPGRADE_REQUIRED
            - URI_TOO_LONG
            - USE_PROXY
            - VARIANT_ALSO_NEGOTIATES
        statusCodeValue:
          type: integer
          format: int32
      title: ResponseEntity
    RestrictedNameRequestDto:
      type: object
      required:
        - name
      properties:
        comment:
          type: string
        country:
          type: string
        dateInfo:
          type: string
          format: date-time
        idNumber:
          type: string
        name:
          type: string
        referenceNumber:
          type: string
      title: RestrictedNameRequestDto
    RestrictedNameResponseDto:
      type: object
      properties:
        comment:
          type: string
        country:
          type: string
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        dateInfo:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        idNumber:
          type: string
        name:
          type: string
        referenceNumber:
          type: string
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: RestrictedNameResponseDto
    RiskAssessmentResponseDto:
      type: object
      properties:
        approvalStatus:
          type: string
          enum:
            - ACCEPTED
            - CLEARED
            - PENDING
            - REJECTED
            - REQUEST_CHANGES
        createdAt:
          $ref: '#/components/schemas/TimestampRes'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        customerId:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        overrideRiskRating:
          type: string
          enum:
            - HIGH
            - LOW
            - MEDIUM
            - MEDIUM_HIGH
            - MEDIUM_LOW
            - UNKNOWN
        risk:
          type: object
        riskRating:
          type: string
          enum:
            - HIGH
            - LOW
            - MEDIUM
            - MEDIUM_HIGH
            - MEDIUM_LOW
            - UNKNOWN
        riskScore:
          type: number
          format: float
        updatedAt:
          $ref: '#/components/schemas/TimestampRes'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: RiskAssessmentResponseDto
    Role:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        domainId:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        permissions:
          type: array
          items:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        userRoles:
          type: array
          items:
            $ref: '#/components/schemas/UserRole'
      title: Role
    RoleHandleRequestDto:
      type: object
      required:
        - roleId
      properties:
        roleId:
          type: integer
          format: int64
      title: RoleHandleRequestDto
    RoleRequestDto:
      type: object
      required:
        - name
      properties:
        domainId:
          type: string
        name:
          type: string
        permissions:
          type: array
          items:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
      title: RoleRequestDto
    RoleResponseDto:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        domainId:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        permissions:
          type: array
          items:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: RoleResponseDto
    ScreeningAdditionalInformation:
      type: object
      properties:
        djMonitoringCaseId:
          type: string
        djMonitoringTxId:
          type: string
        faceCompareDocumentId:
          type: string
        faceCompareSelfieId:
          type: string
        ocrDocumentId:
          type: string
      title: ScreeningAdditionalInformation
    ScreeningConclusionRequestDto:
      type: object
      properties:
        conclusions:
          type: array
          items:
            type: string
            enum:
              - ADVERSE_MEDIA
              - NO_HIT
              - OWN_RESTRICTED_LIST
              - PEP
              - SANCTION
      title: ScreeningConclusionRequestDto
    ScreeningFACInformation:
      type: object
      properties:
        faceCompareDocumentId:
          type: integer
          format: int64
        faceCompareSelfieId:
          type: integer
          format: int64
      title: ScreeningFACInformation
    ScreeningHitMatchUpdateRequestDto:
      type: object
      required:
        - match
        - screeningHitIds
      properties:
        match:
          type: string
          enum:
            - FALSE_POSITIVE
            - NO_ACTION
            - TRUE_HIT
        screeningHitIds:
          type: array
          items:
            type: integer
            format: int64
      title: ScreeningHitMatchUpdateRequestDto
    ScreeningHitResponseDto:
      type: object
      properties:
        body:
          $ref: '#/components/schemas/JsonNode'
        commentCount:
          type: integer
          format: int64
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        diff:
          $ref: '#/components/schemas/JsonNode'
        externalId:
          type: string
        id:
          type: integer
          format: int64
        matched:
          type: string
          enum:
            - FALSE_POSITIVE
            - NO_ACTION
            - TRUE_HIT
        newMatch:
          type: boolean
        profileId:
          type: integer
          format: int64
        screeningId:
          type: integer
          format: int64
        screeningType:
          type: string
          enum:
            - ARTEMISCAN
            - DJ
            - FACE_COMPARE
            - INTERNET_SEARCH
            - OCR
            - OWN_RESTRICTED_LIST
            - TR
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: ScreeningHitResponseDto
    ScreeningOCRInformation:
      type: object
      properties:
        ocrDocumentId:
          type: integer
          format: int64
      title: ScreeningOCRInformation
    ScreeningODDStatusUpdateRequestDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - CLOSED
            - OPEN
      title: ScreeningODDStatusUpdateRequestDto
    ScreeningResponseDto:
      type: object
      properties:
        additionalInformation:
          $ref: '#/components/schemas/ScreeningAdditionalInformation'
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        facInformation:
          $ref: '#/components/schemas/ScreeningFACInformation'
        finalStatus:
          type: string
          enum:
            - DONE
            - FAILED
            - NEVER
            - PENDING
        hasHit:
          type: boolean
        id:
          type: integer
          format: int64
        isPeriodic:
          type: boolean
        ocrInformation:
          $ref: '#/components/schemas/ScreeningOCRInformation'
        oddStatus:
          type: string
          enum:
            - CLOSED
            - OPEN
        profileId:
          type: integer
          format: int64
        quickscanName:
          type: string
        quickscanType:
          type: string
          enum:
            - CORPORATE
            - INDIVIDUAL
        remarks:
          type: array
          items:
            type: string
        screenedWith:
          type: array
          items:
            type: string
            enum:
              - ARTEMISCAN
              - DJ
              - FACE_COMPARE
              - INTERNET_SEARCH
              - OCR
              - OWN_RESTRICTED_LIST
              - TR
        screeningConclusion:
          type: array
          items:
            type: string
            enum:
              - ADVERSE_MEDIA
              - NO_HIT
              - OWN_RESTRICTED_LIST
              - PEP
              - SANCTION
        status:
          $ref: '#/components/schemas/ScreeningStatusResponseDto'
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        valid:
          type: boolean
      title: ScreeningResponseDto
    ScreeningStatusResponseDto:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        id:
          type: integer
          format: int64
        profileId:
          type: integer
          format: int64
        screeningId:
          type: integer
          format: int64
        status:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Status'
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
      title: ScreeningStatusResponseDto
    SimplifiedUserDto:
      type: object
      properties:
        avatar:
          type: string
        colorCode:
          type: string
        email:
          type: string
        firstName:
          type: string
        id:
          type: integer
          format: int64
        lastName:
          type: string
      title: SimplifiedUserDto
    Sort:
      type: object
      properties:
        empty:
          type: boolean
        sorted:
          type: boolean
        unsorted:
          type: boolean
      title: Sort
    Status:
      type: object
      properties:
        message:
          type: string
        status:
          type: string
          enum:
            - DONE
            - FAILED
            - NEVER
            - PENDING
      title: Status
    SubscriptionDto:
      type: object
      properties:
        endDate:
          $ref: '#/components/schemas/Timestamp'
        id:
          type: string
        startDate:
          $ref: '#/components/schemas/Timestamp'
      title: SubscriptionDto
    TaskDistributionDto:
      type: object
      properties:
        total:
          type: integer
          format: int64
        user:
          $ref: '#/components/schemas/UserInfo'
      title: TaskDistributionDto
    TaskStatsDto:
      type: object
      properties:
        expiringDocument:
          type: integer
          format: int64
        odd:
          type: integer
          format: int64
        pending:
          type: integer
          format: int64
        periodicReview:
          type: integer
          format: int64
        unassigned:
          type: integer
          format: int64
      title: TaskStatsDto
    Timestamp:
      type: object
      properties:
        date:
          type: integer
          format: int32
        day:
          type: integer
          format: int32
        hours:
          type: integer
          format: int32
        minutes:
          type: integer
          format: int32
        month:
          type: integer
          format: int32
        nanos:
          type: integer
          format: int32
        seconds:
          type: integer
          format: int32
        time:
          type: integer
          format: int64
        timezoneOffset:
          type: integer
          format: int32
        year:
          type: integer
          format: int32
      title: Timestamp
    TimestampReq:
      type: object
      properties:
        date:
          type: integer
          format: int32
        hours:
          type: integer
          format: int32
        minutes:
          type: integer
          format: int32
        month:
          type: integer
          format: int32
        nanos:
          type: integer
          format: int32
        seconds:
          type: integer
          format: int32
        time:
          type: integer
          format: int64
        year:
          type: integer
          format: int32
      title: TimestampReq
    TimestampRes:
      type: object
      properties:
        date:
          type: integer
          format: int32
        day:
          type: integer
          format: int32
        hours:
          type: integer
          format: int32
        minutes:
          type: integer
          format: int32
        month:
          type: integer
          format: int32
        nanos:
          type: integer
          format: int32
        seconds:
          type: integer
          format: int32
        time:
          type: integer
          format: int64
        timezoneOffset:
          type: integer
          format: int32
        year:
          type: integer
          format: int32
      title: TimestampRes
    TwoFactorAuthRequestDto:
      type: object
      properties:
        enabled_two_factor_auth:
          type: boolean
        mfa_key:
          type: string
        verify_code:
          type: string
      title: TwoFactorAuthRequestDto
    UserDetailDtoReq:
      type: object
      required:
        - email
        - firstName
      properties:
        address:
          type: string
        bio:
          type: string
        email:
          type: string
        enabledTwoFactorAuth:
          type: boolean
        firstName:
          type: string
        id:
          type: string
        lastChangePassword:
          type: string
          format: date-time
        lastName:
          type: string
        permissions:
          type: array
          items:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
        phone:
          type: string
        rolesList:
          type: array
          items:
            $ref: '#/components/schemas/RoleHandleRequestDto'
      title: UserDetailDtoReq
    UserDetailDtoRes:
      type: object
      required:
        - email
        - firstName
      properties:
        address:
          type: string
        bio:
          type: string
        email:
          type: string
        enabledTwoFactorAuth:
          type: boolean
        firstName:
          type: string
        id:
          type: string
        lastChangePassword:
          type: string
          format: date-time
        lastName:
          type: string
        permissions:
          type: array
          items:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
        phone:
          type: string
        roles:
          type: array
          items:
            $ref: '#/components/schemas/RoleResponseDto'
        rolesList:
          type: array
          items:
            $ref: '#/components/schemas/RoleHandleRequestDto'
      title: UserDetailDtoRes
    UserInfo:
      type: object
      properties:
        email:
          type: string
        firstName:
          type: string
        fullName:
          type: string
        id:
          type: integer
          format: int64
        lastName:
          type: string
      title: UserInfo
    UserPermission:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        domainId:
          type: string
        id:
          type: integer
          format: int64
        permission:
          type: string
          enum:
            - ADMIN
            - ANONYMOUS
            - CASE_APPROVE
            - CASE_APPROVE_ACCEPTED
            - CASE_APPROVE_ACCEPTED_HIGH_RISK
            - CASE_APPROVE_ACCEPTED_LOW_RISK
            - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
            - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
            - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
            - CASE_APPROVE_REJECTED
            - CASE_ASSIGN
            - CASE_CREATE
            - CASE_DELETE
            - CASE_DELETE_COMMENT
            - CASE_DELETE_DOCUMENT
            - CASE_GROUP_PERMISSIVE
            - CASE_PERMISSIVE
            - CASE_REQUEST_UPDATE
            - CASE_UPDATE
            - CASE_VIEW
            - ORL_CREATE
            - ORL_DELETE
            - ORL_UPDATE
            - ORL_VIEW
            - SERVICE
            - USER_CREATE
            - USER_DELETE
            - USER_GROUP_CREATE
            - USER_GROUP_DELETE
            - USER_GROUP_UPDATE
            - USER_GROUP_VIEW
            - USER_REACTIVATE
            - USER_UPDATE_PERMISSION
            - USER_VIEW
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        userId:
          type: string
      title: UserPermission
    UserResponseDto:
      type: object
      properties:
        address:
          type: string
        avatar:
          type: string
        bio:
          type: string
        colorCode:
          type: string
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/SimplifiedUserDto'
        email:
          type: string
        enabledTwoFactorAuth:
          type: boolean
        firstName:
          type: string
        id:
          type: integer
          format: int64
        lastAccessed:
          type: string
        lastName:
          type: string
        locked:
          type: boolean
        phone:
          type: string
        role:
          type: string
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/SimplifiedUserDto'
        verified:
          type: boolean
      title: UserResponseDto
    UserRole:
      type: object
      properties:
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        domainId:
          type: string
        id:
          type: integer
          format: int64
        role:
          $ref: '#/components/schemas/Role'
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        userId:
          type: string
      title: UserRole
    UserWithRolePermissionDto:
      type: object
      properties:
        permissions:
          type: array
          items:
            type: string
            enum:
              - ADMIN
              - ANONYMOUS
              - CASE_APPROVE
              - CASE_APPROVE_ACCEPTED
              - CASE_APPROVE_ACCEPTED_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_HIGH_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_LOW_RISK
              - CASE_APPROVE_ACCEPTED_MEDIUM_RISK
              - CASE_APPROVE_REJECTED
              - CASE_ASSIGN
              - CASE_CREATE
              - CASE_DELETE
              - CASE_DELETE_COMMENT
              - CASE_DELETE_DOCUMENT
              - CASE_GROUP_PERMISSIVE
              - CASE_PERMISSIVE
              - CASE_REQUEST_UPDATE
              - CASE_UPDATE
              - CASE_VIEW
              - ORL_CREATE
              - ORL_DELETE
              - ORL_UPDATE
              - ORL_VIEW
              - SERVICE
              - USER_CREATE
              - USER_DELETE
              - USER_GROUP_CREATE
              - USER_GROUP_DELETE
              - USER_GROUP_UPDATE
              - USER_GROUP_VIEW
              - USER_REACTIVATE
              - USER_UPDATE_PERMISSION
              - USER_VIEW
        roles:
          type: array
          items:
            $ref: '#/components/schemas/RoleResponseDto'
        user:
          $ref: '#/components/schemas/UserResponseDto'
      title: UserWithRolePermissionDto
    UpdateOcrResultRequestDto:
      type: object
      properties:
        error:
          type: string
        result:
          $ref: '#/components/schemas/AresOcrResultDto'
        task_id:
          type: string
        description:
          type: string
        status_task:
          type: string
      title: UpdateOcrResultRequestDto
    UpdateOcrResultResponseDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        customerId:
          type: integer
          format: int64
        frontName:
          type: string
        backName:
          type: string
        type:
          type: string
        number:
          type: string
        authenticity:
          type: string
        issueDate:
          type: string
          format: date
        expiryDate:
          type: string
          format: date
        showExpiryNotification:
          type: boolean
        front:
          type: string
        back:
          type: string
        docverCheckStatus:
          type: string
          enum:
            - PERFORMED
            - NOT_PERFORMED
        faceCompare:
          type: object
        liveness:
          type: object
        other:
          type: object
        allowedDocumentFormat:
          type: boolean
      title: UpdateOcrResultResponseDto
    UpdateLivenessResultRequestDto:
      type: object
      properties:
        conclusion:
          type: boolean
        auditImages:
          type: string
        faceDetails:
          $ref: '#/components/schemas/AresLivenessFaceDetailsDto'
        facialCheck:
          type: boolean
        livenessResult:
          type: boolean
        referenceImage:
          type: string
        liivenessConfidence:
          type: integer
          format: int64
      title: UpdateLivenessResultRequestDto
    UpdateLivenessResultResponseDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        createdBy:
          $ref: '#/components/schemas/UserInfo'
        updatedBy:
          $ref: '#/components/schemas/UserInfo'
        customerId:
          type: integer
          format: int64
        frontName:
          type: string
        backName:
          type: string
        type:
          type: string
        number:
          type: string
        authenticity:
          type: string
        issueDate:
          type: string
          format: date
        expiryDate:
          type: string
          format: date
        showExpiryNotification:
          type: boolean
        front:
          type: string
        back:
          type: string
        docverCheckStatus:
          type: string
          enum:
            - PERFORMED
            - NOT_PERFORMED
        faceCompare:
          type: object
        liveness:
          type: object
        other:
          type: object
        allowedDocumentFormat:
          type: boolean
      title: UpdateLivenessResultResponseDto
    UpdateFaceCompareResultRequestDto:
      type: object
      properties:
        result:
          $ref: '#/components/schemas/AresFaceCompareResultDto'
        status:
          type: string
        task_id:
          type: string
        status_task:
          type: string
      title: UpdateFaceCompareResultRequestDto
    UpdateFaceCompareResultResponseDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        timestamp:
          type: string
        status:
          type: integer
          format: int64
        error:
          type: string
        exception:
          type: string
        message:
          type: string
      title: UpdateFaceCompareResultResponseDto
    View:
      type: object
      properties:
        contentType:
          type: string
      title: View
    GenericCursorPagination_CustomerResponseDto_:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CustomerResponseDto'
        nextToken:
          type: string
        total:
          type: integer
          format: int64
      title: GenericCursorPagination«CustomerResponseDto»
    GenericCursorPagination_CustomerScreeningSummaryResponseDto_:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CustomerScreeningSummaryResponseDto'
        nextToken:
          type: string
        total:
          type: integer
          format: int64
      title: GenericCursorPagination«CustomerScreeningSummaryResponseDto»
    GenericCursorPagination_DocumentResponseDto_:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/DocumentResponseDto'
        nextToken:
          type: string
        total:
          type: integer
          format: int64
      title: GenericCursorPagination«DocumentResponseDto»
    Page_CustomerAssigneeResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/CustomerAssigneeResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«CustomerAssigneeResponseDto»
    Page_CustomerBatchUpload_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/CustomerBatchUpload'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«CustomerBatchUpload»
    Page_CustomerResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/CustomerResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«CustomerResponseDto»
    Page_CustomerScreeningSummaryResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/CustomerScreeningSummaryResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«CustomerScreeningSummaryResponseDto»
    Page_DataServiceSearchResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/DataServiceSearchResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«DataServiceSearchResponseDto»
    Page_DocumentResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/DocumentResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«DocumentResponseDto»
    Page_OwnRestrictedListResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/OwnRestrictedListResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«OwnRestrictedListResponseDto»
    Page_Profile_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/Profile'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«Profile»
    Page_RestrictedNameResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/RestrictedNameResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«RestrictedNameResponseDto»
    Page_RiskAssessmentResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/RiskAssessmentResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«RiskAssessmentResponseDto»
    Page_RoleResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/RoleResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«RoleResponseDto»
    Page_ScreeningHitResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/ScreeningHitResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«ScreeningHitResponseDto»
    Page_ScreeningResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/ScreeningResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«ScreeningResponseDto»
    Page_UserResponseDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/UserResponseDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«UserResponseDto»
    Page_UserWithRolePermissionDto_:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/UserWithRolePermissionDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
      title: Page«UserWithRolePermissionDto»
