{
  "openapi": "3.0.0",
  "info": {
    "title": "khadmati",
    "version": "0.0.2",
    "description": "khadmati",
    "contact": {
      "name": "khadmati",
      "email": "Khadamati@gmail.com"
    }
  },
  "paths": {
    "/api/integrations/entities/count": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "countEntities",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.countEntities"
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Entities.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Entities>"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.countEntities"
      }
    },
    "/api/integrations/entities": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "findEntities",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.findEntities"
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entities.Filter"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.findEntities"
      }
    },
    "/api/integrations/main-services/count": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "countMainServices",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.countMainServices"
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MainService.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MainService>"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.countMainServices"
      }
    },
    "/api/integrations/main-services": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "findMainServices",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.findMainServices"
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MainService.Filter"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.findMainServices"
      }
    },
    "/api/integrations/service-channels/count": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "countServiceChannels",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.countServiceChannels"
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ServiceChannel.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ServiceChannel>"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.countServiceChannels"
      }
    },
    "/api/integrations/service-channels": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "findServiceChannels",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.findServiceChannels"
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceChannel.Filter"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.findServiceChannels"
      }
    },
    "/api/integrations/sub-services/count": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "countSubServices",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.countSubServices"
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "SubService.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<SubService>"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.countSubServices"
      }
    },
    "/api/integrations/sub-services/{id}": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "findSubServicesById",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.findSubServicesById"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "IntegrationsController.findSubServicesById"
      }
    },
    "/api/integrations/sub-services": {
      "get": {
        "x-controller-name": "IntegrationsController",
        "x-operation-name": "findSubServices",
        "tags": [
          "IntegrationsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of IntegrationsController.findSubServices"
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubService.Filter"
                }
              }
            }
          }
        ],
        "operationId": "IntegrationsController.findSubServices"
      }
    },
    "/api/lookups/entity-levels": {
      "get": {
        "x-controller-name": "LookupsController",
        "x-operation-name": "EntityLevels",
        "tags": [
          "LookupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LookupsController.EntityLevels"
          }
        },
        "operationId": "LookupsController.EntityLevels"
      }
    },
    "/api/lookups/entity-sectors": {
      "get": {
        "x-controller-name": "LookupsController",
        "x-operation-name": "EntitySectors",
        "tags": [
          "LookupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LookupsController.EntitySectors"
          }
        },
        "operationId": "LookupsController.EntitySectors"
      }
    },
    "/api/lookups/entity-types": {
      "get": {
        "x-controller-name": "LookupsController",
        "x-operation-name": "EntityTypes",
        "tags": [
          "LookupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LookupsController.EntityTypes"
          }
        },
        "operationId": "LookupsController.EntityTypes"
      }
    },
    "/api/lookups/service-channel": {
      "get": {
        "x-controller-name": "LookupsController",
        "x-operation-name": "ServiceChannelTypes",
        "tags": [
          "LookupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LookupsController.ServiceChannelTypes"
          }
        },
        "operationId": "LookupsController.ServiceChannelTypes"
      }
    },
    "/api/lookups/sub-service-classifications": {
      "get": {
        "x-controller-name": "LookupsController",
        "x-operation-name": "SubServiceClassifications",
        "tags": [
          "LookupsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of LookupsController.SubServiceClassifications"
          }
        },
        "operationId": "LookupsController.SubServiceClassifications"
      }
    }
  },
  "servers": [
    {
      "url": "http://khadamati-api.apps.ocp4.services.tdra.gov.ae:443"
    }
  ],
  "components": {
    "schemas": {
      "UserLoginDto": {
        "title": "UserLoginDto",
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "redirectUrl": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "redirectUrl"
        ],
        "additionalProperties": false
      },
      "SignUp Request": {
        "title": "SignUp Request",
        "type": "object",
        "description": "(tsType: SendOtpRequestDto, schemaOptions: { title: 'SignUp Request' })",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SendOtpRequestDto"
      },
      "SendOtpRequestDto": {
        "title": "SendOtpRequestDto",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": false
      },
      "SignInRequestDto": {
        "title": "SignInRequestDto",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "otp": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "Invite user Request Dto": {
        "title": "Invite user Request Dto",
        "type": "object",
        "description": "(tsType: InviteUserDto, schemaOptions: { title: 'Invite user Request Dto' })",
        "properties": {
          "email": {
            "type": "string"
          },
          "emirateId": {
            "type": "string"
          },
          "fullnameEN": {
            "type": "string"
          },
          "fullnameAR": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "entityId": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "emirateId",
          "fullnameEN",
          "fullnameAR",
          "mobile",
          "roles"
        ],
        "additionalProperties": false,
        "x-typescript-type": "InviteUserDto"
      },
      "InviteUserDto": {
        "title": "InviteUserDto",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "emirateId": {
            "type": "string"
          },
          "fullnameEN": {
            "type": "string"
          },
          "fullnameAR": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "entityId": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "emirateId",
          "fullnameEN",
          "fullnameAR",
          "mobile",
          "roles"
        ],
        "additionalProperties": false
      },
      "ChangePasswordRequestDto": {
        "title": "ChangePasswordRequestDto",
        "type": "object",
        "properties": {
          "oldPassword": {
            "type": "string"
          },
          "newPassword": {
            "type": "string"
          }
        },
        "required": [
          "oldPassword",
          "newPassword"
        ],
        "additionalProperties": false
      },
      "ResendInvitationMail": {
        "title": "ResendInvitationMail",
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "ids"
        ],
        "additionalProperties": false
      },
      "UserResetPasswordEmailValidationDto": {
        "title": "UserResetPasswordEmailValidationDto",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "UserResetPasswordCodeVerificationDto": {
        "title": "UserResetPasswordCodeVerificationDto",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "code": {
            "type": "number"
          }
        },
        "required": [
          "email",
          "code"
        ],
        "additionalProperties": false
      },
      "UserResetPasswordDto": {
        "title": "UserResetPasswordDto",
        "type": "object",
        "properties": {
          "code": {
            "type": "number"
          },
          "password": {
            "type": "string",
            "minLength": 8
          },
          "rePassword": {
            "type": "string",
            "minLength": 8
          }
        },
        "required": [
          "code",
          "password",
          "rePassword"
        ],
        "additionalProperties": false
      },
      "UpdateUserDto": {
        "title": "UpdateUserDto",
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "active",
              "inactive"
            ]
          },
          "email": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "emirateId": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          },
          "fullnameEN": {
            "type": "string"
          },
          "fullnameAR": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          },
          "roleIds": {
            "type": "array",
            "items": {
              "type": "string",
              "uniqueItems": true
            }
          }
        },
        "additionalProperties": false
      },
      "ReplaceUserRolesDto": {
        "title": "ReplaceUserRolesDto",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          },
          "roleIds": {
            "type": "array",
            "items": {
              "type": "string",
              "uniqueItems": true
            }
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "User Request Dto": {
        "title": "User Request Dto",
        "type": "object",
        "description": "(tsType: UserRequestDto, schemaOptions: { title: 'User Request Dto' })",
        "properties": {
          "email": {
            "type": "string"
          },
          "emirateId": {
            "type": "string"
          },
          "fullnameEN": {
            "type": "string"
          },
          "fullnameAR": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "email",
          "emirateId",
          "fullnameEN",
          "fullnameAR",
          "mobile",
          "roles"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UserRequestDto"
      },
      "UserRequestDto": {
        "title": "UserRequestDto",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "emirateId": {
            "type": "string"
          },
          "fullnameEN": {
            "type": "string"
          },
          "fullnameAR": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "email",
          "emirateId",
          "fullnameEN",
          "fullnameAR",
          "mobile",
          "roles"
        ],
        "additionalProperties": false
      },
      "SubServiceChannelDto": {
        "title": "SubServiceChannelDto",
        "type": "object",
        "properties": {
          "serviceChannelId": {
            "type": "string"
          },
          "endToEndOrPartialService": {
            "type": "string",
            "enum": [
              "End To End",
              "Partial"
            ]
          },
          "deliveryType": {
            "type": "string",
            "enum": [
              "Pickup in Person",
              "Courier",
              "Electronic"
            ]
          },
          "canApply": {
            "type": "boolean"
          },
          "canPay": {
            "type": "boolean"
          },
          "canDeliver": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "LanguageDtoWithId": {
        "title": "LanguageDtoWithId",
        "type": "object",
        "properties": {
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "id": {
            "type": "number"
          }
        },
        "required": [
          "nameEn",
          "nameAr",
          "id"
        ],
        "additionalProperties": false
      },
      "LanguageDto": {
        "title": "LanguageDto",
        "type": "object",
        "properties": {
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          }
        },
        "required": [
          "nameEn",
          "nameAr"
        ],
        "additionalProperties": false
      },
      "DeliveryTimeDTO": {
        "title": "DeliveryTimeDTO",
        "type": "object",
        "properties": {
          "title": {
            "$ref": "#/components/schemas/LanguageDto"
          },
          "days": {
            "type": "number",
            "nullable": true
          },
          "hours": {
            "type": "number",
            "nullable": true
          },
          "minutes": {
            "type": "number",
            "nullable": true
          },
          "time": {
            "$ref": "#/components/schemas/LanguageDto"
          }
        },
        "additionalProperties": false
      },
      "FeeItemDTO": {
        "title": "FeeItemDTO",
        "type": "object",
        "properties": {
          "paymentMethod": {
            "type": "string"
          },
          "paymentMethods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "feeType": {
            "type": "string"
          },
          "feeName": {
            "type": "string"
          },
          "feeNameAr": {
            "type": "string"
          },
          "feeValue": {
            "type": "number"
          },
          "feeTypeAr": {
            "type": "string"
          },
          "feeCaluculationMethods": {
            "$ref": "#/components/schemas/LanguageDto"
          }
        },
        "additionalProperties": true
      },
      "FeeDTO": {
        "title": "FeeDTO",
        "type": "object",
        "properties": {
          "customerTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDto"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeeItemDTO"
            }
          }
        },
        "additionalProperties": true
      },
      "FinesDTO": {
        "title": "FinesDTO",
        "type": "object",
        "properties": {
          "customerTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDto"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeeItemDTO"
            }
          }
        },
        "additionalProperties": true
      },
      "TermsAndConditionsDTO": {
        "title": "TermsAndConditionsDTO",
        "type": "object",
        "properties": {
          "customerTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDto"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDto"
            }
          }
        },
        "additionalProperties": false
      },
      "CreateSubServiceRequestDto": {
        "title": "CreateSubServiceRequestDto",
        "type": "object",
        "properties": {
          "subServiceId": {
            "type": "string"
          },
          "variationSubServiceId": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          },
          "mainServiceId": {
            "type": "string"
          },
          "serviceChannels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubServiceChannelDto"
            }
          },
          "serviceType": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "subServiceType": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "subServiceClassifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "descriptionEn": {
            "type": "string"
          },
          "descriptionAr": {
            "type": "string"
          },
          "isPriorityService": {
            "type": "boolean"
          },
          "customerSatisfactionIndex": {
            "type": "string"
          },
          "serviceUrl": {
            "type": "string"
          },
          "frequencyOfServiceRequests": {
            "type": "string"
          },
          "newDeliveryTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryTimeDTO"
            }
          },
          "provideTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryTimeDTO"
            }
          },
          "eserviceAvailable": {
            "type": "boolean"
          },
          "dependOnOtherService": {
            "type": "boolean"
          },
          "departmentEn": {
            "type": "string"
          },
          "departmentAr": {
            "type": "string"
          },
          "digitisationPotential": {
            "type": "boolean"
          },
          "currentDesitisationLevel": {
            "type": "number"
          },
          "maxDigitisationLevel": {
            "type": "number"
          },
          "customersClassificationsNew": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDto"
            }
          },
          "active": {
            "type": "boolean"
          },
          "isProactive": {
            "type": "boolean"
          },
          "isImmediate": {
            "type": "boolean"
          },
          "dependentServiceIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sequence": {
            "type": "string"
          },
          "reference": {
            "type": "number"
          },
          "hasFees": {
            "type": "boolean"
          },
          "fees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeeDTO"
            }
          },
          "hasFines": {
            "type": "boolean"
          },
          "Fines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FinesDTO"
            }
          },
          "termsAndConditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TermsAndConditionsDTO"
            }
          }
        },
        "additionalProperties": true
      },
      "Language": {
        "title": "Language",
        "type": "object",
        "properties": {
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "id": {
            "type": "number"
          }
        },
        "required": [
          "nameEn",
          "nameAr"
        ],
        "additionalProperties": false
      },
      "SubServiceRequestPartial": {
        "title": "SubServiceRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<SubServiceRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "subServiceId": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          },
          "mainServiceId": {
            "type": "string"
          },
          "serviceChannels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubServiceChannelDto"
            }
          },
          "variationSubServiceId": {
            "type": "string"
          },
          "serviceType": {
            "$ref": "#/components/schemas/Language"
          },
          "subServiceType": {
            "$ref": "#/components/schemas/Language"
          },
          "subServiceClassifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "descriptionEn": {
            "type": "string"
          },
          "descriptionAr": {
            "type": "string"
          },
          "sequence": {
            "type": "string"
          },
          "isPriorityService": {
            "type": "boolean"
          },
          "hasFees": {
            "type": "boolean"
          },
          "hasFines": {
            "type": "boolean"
          },
          "customerSatisfactionIndex": {
            "type": "string"
          },
          "serviceUrl": {
            "type": "string"
          },
          "frequencyOfServiceRequests": {
            "type": "string"
          },
          "newDeliveryTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryTimeDTO"
            }
          },
          "provideTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryTimeDTO"
            }
          },
          "eserviceAvailable": {
            "type": "boolean"
          },
          "dependOnOtherService": {
            "type": "boolean"
          },
          "departmentEn": {
            "type": "string"
          },
          "departmentAr": {
            "type": "string"
          },
          "digitisationPotential": {
            "type": "boolean"
          },
          "currentDesitisationLevel": {
            "type": "number"
          },
          "maxDigitisationLevel": {
            "type": "number"
          },
          "version": {
            "type": "number"
          },
          "reference": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "draft",
              "underAdminReview",
              "underPMOReview",
              "approved",
              "rejected",
              "returnForCorrection"
            ]
          },
          "customersClassificationsNew": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          },
          "comments": {
            "type": "string"
          },
          "correctionFields": {
            "type": "string"
          },
          "reviewerId": {
            "type": "string"
          },
          "requestType": {
            "type": "string",
            "enum": [
              "Creation Request",
              "Update Request",
              "Change Status Request",
              "Delete Request"
            ]
          },
          "userId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "isProactive": {
            "type": "boolean"
          },
          "isImmediate": {
            "type": "boolean"
          },
          "dependentServiceIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Partial<SubServiceRequest>"
      },
      "WorkflowRequestReviewDtoPartial": {
        "title": "WorkflowRequestReviewDtoPartial",
        "type": "object",
        "description": "(tsType: Partial<WorkflowRequestReviewDto>, schemaOptions: { partial: true })",
        "properties": {
          "comments": {
            "type": "string"
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "maxItems": 20,
              "uniqueItems": true
            }
          },
          "correctionFields": {
            "type": "array",
            "items": {
              "type": "string",
              "maxItems": 20,
              "uniqueItems": true
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<WorkflowRequestReviewDto>"
      },
      "WorkflowRequestReviewDto": {
        "title": "WorkflowRequestReviewDto",
        "type": "object",
        "properties": {
          "comments": {
            "type": "string"
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "maxItems": 20,
              "uniqueItems": true
            }
          },
          "correctionFields": {
            "type": "array",
            "items": {
              "type": "string",
              "maxItems": 20,
              "uniqueItems": true
            }
          }
        },
        "additionalProperties": false
      },
      "HoursRangeDto": {
        "title": "HoursRangeDto",
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "pattern": "^$|^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$"
          },
          "to": {
            "type": "string",
            "pattern": "^$|^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$"
          }
        },
        "additionalProperties": false
      },
      "WorkingHoursAndDaysDto": {
        "title": "WorkingHoursAndDaysDto",
        "type": "object",
        "properties": {
          "days": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDtoWithId"
            }
          },
          "time": {
            "$ref": "#/components/schemas/HoursRangeDto"
          }
        },
        "required": [
          "days"
        ],
        "additionalProperties": false
      },
      "CreateServiceChannelRequestDto": {
        "title": "CreateServiceChannelRequestDto",
        "type": "object",
        "properties": {
          "serviceChannelId": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          },
          "serviceChannelType": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "hotline": {
            "type": "string"
          },
          "isComprehensive": {
            "type": "boolean"
          },
          "isCustomerHappinessCenter": {
            "type": "boolean"
          },
          "emirate": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "centerType": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "centerState": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "isOutsource": {
            "type": "boolean"
          },
          "isInternal": {
            "type": "boolean"
          },
          "outsourceCompanyName": {
            "type": "string"
          },
          "frontRowEmployeesNumber": {
            "type": "number"
          },
          "backRowEmployeesNumber": {
            "type": "number"
          },
          "centerSpace": {
            "type": "number"
          },
          "parkingLotsNumber": {
            "type": "number"
          },
          "serviceWindowsNumber": {
            "type": "number"
          },
          "workingDaysAndTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkingHoursAndDaysDto"
            }
          },
          "haveCustomerFlowSystem": {
            "type": "boolean"
          },
          "waitingTimeAverage": {
            "type": "number"
          },
          "hasManager": {
            "type": "boolean"
          },
          "managerName": {
            "type": "string"
          },
          "managerNumber": {
            "type": "string"
          },
          "hasReceptionDisk": {
            "type": "boolean"
          },
          "isIndependentBuilding": {
            "type": "boolean"
          },
          "isJointBuilding": {
            "type": "boolean"
          },
          "annualRent": {
            "type": "number"
          },
          "averageTransactionDaily": {
            "type": "number"
          },
          "averageTransactionWeekly": {
            "type": "number"
          },
          "averageTransactionMonthly": {
            "type": "number"
          },
          "isPaidContactNumber": {
            "type": "boolean"
          },
          "ivr": {
            "type": "boolean"
          },
          "employeesNumber": {
            "type": "number"
          },
          "available24H": {
            "type": "boolean"
          },
          "annualCallsNumber": {
            "type": "number"
          },
          "providedServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDtoWithId"
            }
          },
          "providedChannels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDtoWithId"
            }
          },
          "isSupervisorAvailableAtCenter": {
            "type": "boolean"
          },
          "supervisorsNumber": {
            "type": "number"
          },
          "technicalSupportChannel24H": {
            "type": "boolean"
          },
          "languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDtoWithId"
            }
          },
          "screensNumber": {
            "type": "number"
          },
          "websiteAddress": {
            "type": "string"
          },
          "chatServiceAvailable": {
            "type": "boolean"
          },
          "chatServiceType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDtoWithId"
            }
          },
          "isSupportAllDisabilities": {
            "type": "boolean"
          },
          "isSupportSmartBoardBrowser": {
            "type": "boolean"
          },
          "applicationName": {
            "type": "string"
          },
          "websiteServicesProvidedNumber": {
            "type": "number"
          },
          "serviceLevelTransactionNumber": {
            "type": "number"
          },
          "descriptionAr": {
            "type": "string"
          },
          "descriptionEn": {
            "type": "string"
          },
          "crmIntegrationAvailable": {
            "type": "boolean"
          },
          "instantCallAvailable": {
            "type": "boolean"
          },
          "hasBackOffice": {
            "type": "boolean"
          },
          "isVerified": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "channelUrl": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "sequence": {
            "type": "string"
          },
          "reference": {
            "type": "number"
          },
          "serviceSteps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageDto"
            }
          },
          "latitude": {
            "type": "string"
          },
          "longitude": {
            "type": "string"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/LanguageDto"
          },
          "centerNumber": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "masjidNumber": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ServiceChannelRequestPartial": {
        "title": "ServiceChannelRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<ServiceChannelRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "userId": {
            "type": "string"
          },
          "reviewerId": {
            "type": "string"
          },
          "sequence": {
            "type": "string"
          },
          "reference": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "draft",
              "underAdminReview",
              "underPMOReview",
              "approved",
              "rejected",
              "returnForCorrection"
            ]
          },
          "version": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          },
          "correctionFields": {
            "type": "string"
          },
          "requestType": {
            "type": "string",
            "enum": [
              "Creation Request",
              "Update Request",
              "Change Status Request",
              "Delete Request"
            ]
          },
          "serviceChannelId": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          },
          "serviceChannelType": {
            "$ref": "#/components/schemas/Language"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "hotline": {
            "type": "string"
          },
          "isComprehensive": {
            "type": "boolean"
          },
          "isCustomerHappinessCenter": {
            "type": "boolean"
          },
          "emirate": {
            "$ref": "#/components/schemas/Language"
          },
          "centerType": {
            "$ref": "#/components/schemas/Language"
          },
          "centerState": {
            "$ref": "#/components/schemas/Language"
          },
          "isOutsource": {
            "type": "boolean"
          },
          "isInternal": {
            "type": "boolean"
          },
          "outsourceCompanyName": {
            "type": "string"
          },
          "frontRowEmployeesNumber": {
            "type": "number"
          },
          "backRowEmployeesNumber": {
            "type": "number"
          },
          "centerSpace": {
            "type": "number"
          },
          "parkingLotsNumber": {
            "type": "number"
          },
          "serviceWindowsNumber": {
            "type": "number"
          },
          "workingDays": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          },
          "workingHours": {
            "$ref": "#/components/schemas/HoursRangeDto"
          },
          "workingDaysAndTime": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkingHoursAndDaysDto"
            }
          },
          "haveCustomerFlowSystem": {
            "type": "boolean"
          },
          "waitingTimeAverage": {
            "type": "number"
          },
          "hasManager": {
            "type": "boolean"
          },
          "managerName": {
            "type": "string"
          },
          "managerNumber": {
            "type": "string"
          },
          "hasReceptionDisk": {
            "type": "boolean"
          },
          "isIndependentBuilding": {
            "type": "boolean"
          },
          "isJointBuilding": {
            "type": "boolean"
          },
          "annualRent": {
            "type": "number"
          },
          "averageTransactionDaily": {
            "type": "number"
          },
          "averageTransactionWeekly": {
            "type": "number"
          },
          "averageTransactionMonthly": {
            "type": "number"
          },
          "isPaidContactNumber": {
            "type": "boolean"
          },
          "ivr": {
            "type": "boolean"
          },
          "employeesNumber": {
            "type": "number"
          },
          "available24H": {
            "type": "boolean"
          },
          "annualCallsNumber": {
            "type": "number"
          },
          "providedServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          },
          "providedChannels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          },
          "isSupervisorAvailableAtCenter": {
            "type": "boolean"
          },
          "supervisorsNumber": {
            "type": "number"
          },
          "technicalSupportChannel24H": {
            "type": "boolean"
          },
          "languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          },
          "screensNumber": {
            "type": "number"
          },
          "websiteAddress": {
            "type": "string"
          },
          "chatServiceAvailable": {
            "type": "boolean"
          },
          "chatServiceType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          },
          "isSupportAllDisabilities": {
            "type": "boolean"
          },
          "isSupportSmartBoardBrowser": {
            "type": "boolean"
          },
          "applicationName": {
            "type": "string"
          },
          "websiteServicesProvidedNumber": {
            "type": "number"
          },
          "serviceLevelTransactionNumber": {
            "type": "number"
          },
          "active": {
            "type": "boolean"
          },
          "serviceSteps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Language"
            }
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Partial<ServiceChannelRequest>"
      },
      "Roles": {
        "title": "Roles",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          }
        },
        "required": [
          "nameEn",
          "nameAr",
          "permissions",
          "type"
        ],
        "additionalProperties": true
      },
      "NewRoles": {
        "title": "NewRoles",
        "type": "object",
        "description": "(tsType: Omit<Roles, 'id'>, schemaOptions: { title: 'NewRoles', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          }
        },
        "required": [
          "nameEn",
          "nameAr",
          "permissions",
          "type"
        ],
        "additionalProperties": true,
        "x-typescript-type": "Omit<Roles, 'id'>"
      },
      "RolesWithRelations": {
        "title": "RolesWithRelations",
        "type": "object",
        "description": "(tsType: RolesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          }
        },
        "required": [
          "nameEn",
          "nameAr",
          "permissions",
          "type"
        ],
        "additionalProperties": true,
        "x-typescript-type": "RolesWithRelations"
      },
      "RolesPartial": {
        "title": "RolesPartial",
        "type": "object",
        "description": "(tsType: Partial<Roles>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "enum": [
              "SystemAdmin",
              "PMO",
              "EntityUser"
            ]
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Partial<Roles>"
      },
      "PermissionWithRelations": {
        "title": "PermissionWithRelations",
        "type": "object",
        "description": "(tsType: PermissionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "category": {
            "type": "string"
          }
        },
        "required": [
          "nameEn",
          "nameAr",
          "key"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PermissionWithRelations"
      },
      "CreateMigrationAttachmentsDto": {
        "title": "CreateMigrationAttachmentsDto",
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "module": {
            "type": "string",
            "enum": [
              "ENTITIES",
              "MAIN_SERVICES",
              "SERVICE_CHANNELS",
              "SUB_SERVICES",
              "ENTITY_USERS",
              "SUB_SERVICES_SERVICE_TYPE"
            ]
          }
        },
        "required": [
          "url",
          "module"
        ],
        "additionalProperties": false
      },
      "CreateMainServiceRequestDto": {
        "title": "CreateMainServiceRequestDto",
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string"
          },
          "mainServiceId": {
            "type": "string"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "sequence": {
            "type": "string"
          },
          "reference": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "MainServiceRequestPartial": {
        "title": "MainServiceRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<MainServiceRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "entityId": {
            "type": "string"
          },
          "mainServiceId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "reviewerId": {
            "type": "string"
          },
          "comments": {
            "type": "string"
          },
          "correctionFields": {
            "type": "string"
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "sequence": {
            "type": "string"
          },
          "reference": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "draft",
              "underAdminReview",
              "underPMOReview",
              "approved",
              "rejected",
              "returnForCorrection"
            ]
          },
          "version": {
            "type": "number"
          },
          "requestType": {
            "type": "string",
            "enum": [
              "Creation Request",
              "Update Request",
              "Change Status Request",
              "Delete Request"
            ]
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Partial<MainServiceRequest>"
      },
      "LogsDto": {
        "title": "LogsDto",
        "type": "object",
        "properties": {
          "request": {
            "type": "object"
          },
          "response": {},
          "key": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CreateEntityRequestDto": {
        "title": "CreateEntityRequestDto",
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "draft",
              "underAdminReview",
              "underPMOReview",
              "approved",
              "rejected",
              "returnForCorrection"
            ]
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "entitySector": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "entityLevel": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "emirate": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "entityType": {
            "$ref": "#/components/schemas/LanguageDtoWithId"
          },
          "url": {
            "type": "string"
          },
          "callCenterPhone": {
            "type": "string"
          },
          "contactEmailAddress": {
            "type": "string"
          },
          "advisorId": {
            "type": "string"
          },
          "advisorName": {
            "type": "string"
          },
          "advisorContact": {
            "type": "string"
          },
          "ownerFullNameEn": {
            "type": "string"
          },
          "ownerFullNameAr": {
            "type": "string"
          },
          "ownerEmirateId": {
            "type": "string"
          },
          "ownerMobileNumber": {
            "type": "string"
          },
          "ownerEmailAddress": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "entityId": {
            "type": "string"
          },
          "sequence": {
            "type": "string"
          },
          "reference": {
            "type": "number"
          },
          "requestedBy": {
            "type": "string"
          },
          "addedWhy": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "isGovernment": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "EntityRequestPartial": {
        "title": "EntityRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<EntityRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "sequence": {
            "type": "string"
          },
          "version": {
            "type": "number"
          },
          "reference": {
            "type": "number"
          },
          "userId": {
            "type": "string"
          },
          "user": {
            "type": "object"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "draft",
              "underAdminReview",
              "underPMOReview",
              "approved",
              "rejected",
              "returnForCorrection"
            ]
          },
          "nameEn": {
            "type": "string"
          },
          "nameAr": {
            "type": "string"
          },
          "entitySector": {
            "$ref": "#/components/schemas/Language"
          },
          "entityLevel": {
            "$ref": "#/components/schemas/Language"
          },
          "entityType": {
            "$ref": "#/components/schemas/Language"
          },
          "emirate": {
            "$ref": "#/components/schemas/Language"
          },
          "url": {
            "type": "string"
          },
          "callCenterPhone": {
            "type": "string"
          },
          "contactEmailAddress": {
            "type": "string"
          },
          "advisorId": {
            "type": "string"
          },
          "advisorName": {
            "type": "string"
          },
          "advisorContact": {
            "type": "string"
          },
          "ownerFullNameEn": {
            "type": "string"
          },
          "ownerFullNameAr": {
            "type": "string"
          },
          "ownerEmirateId": {
            "type": "string"
          },
          "ownerMobileNumber": {
            "type": "string"
          },
          "ownerEmailAddress": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "entityId": {
            "type": "string"
          },
          "reviewerId": {
            "type": "string"
          },
          "reviewer": {
            "type": "object"
          },
          "comments": {
            "type": "string"
          },
          "requestType": {
            "type": "string",
            "enum": [
              "Creation Request",
              "Update Request",
              "Change Status Request",
              "Delete Request"
            ]
          },
          "requestedBy": {
            "type": "string"
          },
          "addedWhy": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "isGovernment": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EntityRequest>"
      },
      "EntityPMODto": {
        "title": "EntityPMODto",
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "entityId",
          "userId"
        ],
        "additionalProperties": false
      },
      "ConfigurationDto": {
        "title": "ConfigurationDto",
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "value"
        ],
        "additionalProperties": false
      },
      "ApiKeyDto": {
        "title": "ApiKeyDto",
        "type": "object",
        "properties": {
          "name": {
            "$ref": "#/components/schemas/LanguageDto"
          },
          "description": {
            "$ref": "#/components/schemas/LanguageDto"
          },
          "entityId": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "UpdateApiKeyDto": {
        "title": "UpdateApiKeyDto",
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          }
        },
        "required": [
          "isActive"
        ],
        "additionalProperties": false
      },
      "LockFieldsSettings": {
        "title": "LockFieldsSettings",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "itemKey": {
            "type": "string"
          },
          "isLocked": {
            "type": "boolean"
          }
        },
        "required": [
          "itemKey"
        ],
        "additionalProperties": false
      },
      "Entities.Filter": {
        "type": "object",
        "title": "Entities.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Entities.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sequence": {
                    "type": "boolean"
                  },
                  "reference": {
                    "type": "boolean"
                  },
                  "version": {
                    "type": "boolean"
                  },
                  "requestId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "user": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "nameAr": {
                    "type": "boolean"
                  },
                  "entitySector": {
                    "type": "boolean"
                  },
                  "entityLevel": {
                    "type": "boolean"
                  },
                  "entityType": {
                    "type": "boolean"
                  },
                  "emirate": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "callCenterPhone": {
                    "type": "boolean"
                  },
                  "contactEmailAddress": {
                    "type": "boolean"
                  },
                  "advisorId": {
                    "type": "boolean"
                  },
                  "advisorName": {
                    "type": "boolean"
                  },
                  "advisorContact": {
                    "type": "boolean"
                  },
                  "ownerFullNameEn": {
                    "type": "boolean"
                  },
                  "ownerFullNameAr": {
                    "type": "boolean"
                  },
                  "ownerEmirateId": {
                    "type": "boolean"
                  },
                  "ownerMobileNumber": {
                    "type": "boolean"
                  },
                  "ownerEmailAddress": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "requestedBy": {
                    "type": "boolean"
                  },
                  "addedWhy": {
                    "type": "boolean"
                  },
                  "file": {
                    "type": "boolean"
                  },
                  "isGovernment": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "updatedAt",
                    "isDeleted",
                    "sequence",
                    "reference",
                    "version",
                    "requestId",
                    "userId",
                    "user",
                    "nameEn",
                    "nameAr",
                    "entitySector",
                    "entityLevel",
                    "entityType",
                    "emirate",
                    "url",
                    "callCenterPhone",
                    "contactEmailAddress",
                    "advisorId",
                    "advisorName",
                    "advisorContact",
                    "ownerFullNameEn",
                    "ownerFullNameAr",
                    "ownerEmirateId",
                    "ownerMobileNumber",
                    "ownerEmailAddress",
                    "active",
                    "requestedBy",
                    "addedWhy",
                    "file",
                    "isGovernment"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Entities.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Entities>"
      },
      "MainService.Filter": {
        "type": "object",
        "title": "MainService.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "MainService.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "nameAr": {
                    "type": "boolean"
                  },
                  "sequence": {
                    "type": "boolean"
                  },
                  "reference": {
                    "type": "boolean"
                  },
                  "entityId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "requestId": {
                    "type": "boolean"
                  },
                  "version": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "lastDeactivatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ],
            "title": "MainService.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MainService>"
      },
      "ServiceChannel.Filter": {
        "type": "object",
        "title": "ServiceChannel.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "ServiceChannel.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "requestId": {
                    "type": "boolean"
                  },
                  "sequence": {
                    "type": "boolean"
                  },
                  "reference": {
                    "type": "boolean"
                  },
                  "version": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "serviceChannelId": {
                    "type": "boolean"
                  },
                  "entityId": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "nameAr": {
                    "type": "boolean"
                  },
                  "serviceChannelType": {
                    "type": "boolean"
                  },
                  "hotline": {
                    "type": "boolean"
                  },
                  "isComprehensive": {
                    "type": "boolean"
                  },
                  "isCustomerHappinessCenter": {
                    "type": "boolean"
                  },
                  "emirate": {
                    "type": "boolean"
                  },
                  "centerType": {
                    "type": "boolean"
                  },
                  "centerState": {
                    "type": "boolean"
                  },
                  "isOutsource": {
                    "type": "boolean"
                  },
                  "isInternal": {
                    "type": "boolean"
                  },
                  "outsourceCompanyName": {
                    "type": "boolean"
                  },
                  "frontRowEmployeesNumber": {
                    "type": "boolean"
                  },
                  "backRowEmployeesNumber": {
                    "type": "boolean"
                  },
                  "centerSpace": {
                    "type": "boolean"
                  },
                  "parkingLotsNumber": {
                    "type": "boolean"
                  },
                  "serviceWindowsNumber": {
                    "type": "boolean"
                  },
                  "workingDays": {
                    "type": "boolean"
                  },
                  "workingHours": {
                    "type": "boolean"
                  },
                  "workingDaysAndTime": {
                    "type": "boolean"
                  },
                  "haveCustomerFlowSystem": {
                    "type": "boolean"
                  },
                  "waitingTimeAverage": {
                    "type": "boolean"
                  },
                  "hasManager": {
                    "type": "boolean"
                  },
                  "managerName": {
                    "type": "boolean"
                  },
                  "managerNumber": {
                    "type": "boolean"
                  },
                  "hasReceptionDisk": {
                    "type": "boolean"
                  },
                  "isIndependentBuilding": {
                    "type": "boolean"
                  },
                  "isJointBuilding": {
                    "type": "boolean"
                  },
                  "annualRent": {
                    "type": "boolean"
                  },
                  "averageTransactionDaily": {
                    "type": "boolean"
                  },
                  "averageTransactionWeekly": {
                    "type": "boolean"
                  },
                  "averageTransactionMonthly": {
                    "type": "boolean"
                  },
                  "isPaidContactNumber": {
                    "type": "boolean"
                  },
                  "ivr": {
                    "type": "boolean"
                  },
                  "employeesNumber": {
                    "type": "boolean"
                  },
                  "available24H": {
                    "type": "boolean"
                  },
                  "annualCallsNumber": {
                    "type": "boolean"
                  },
                  "providedServices": {
                    "type": "boolean"
                  },
                  "providedChannels": {
                    "type": "boolean"
                  },
                  "isSupervisorAvailableAtCenter": {
                    "type": "boolean"
                  },
                  "supervisorsNumber": {
                    "type": "boolean"
                  },
                  "technicalSupportChannel24H": {
                    "type": "boolean"
                  },
                  "languages": {
                    "type": "boolean"
                  },
                  "screensNumber": {
                    "type": "boolean"
                  },
                  "websiteAddress": {
                    "type": "boolean"
                  },
                  "chatServiceAvailable": {
                    "type": "boolean"
                  },
                  "chatServiceType": {
                    "type": "boolean"
                  },
                  "isSupportAllDisabilities": {
                    "type": "boolean"
                  },
                  "isSupportSmartBoardBrowser": {
                    "type": "boolean"
                  },
                  "applicationName": {
                    "type": "boolean"
                  },
                  "websiteServicesProvidedNumber": {
                    "type": "boolean"
                  },
                  "serviceLevelTransactionNumber": {
                    "type": "boolean"
                  },
                  "lastDeactivatedAt": {
                    "type": "boolean"
                  },
                  "descriptionAr": {
                    "type": "boolean"
                  },
                  "descriptionEn": {
                    "type": "boolean"
                  },
                  "crmIntegrationAvailable": {
                    "type": "boolean"
                  },
                  "instantCallAvailable": {
                    "type": "boolean"
                  },
                  "hasBackOffice": {
                    "type": "boolean"
                  },
                  "isVerified": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "channelUrl": {
                    "type": "boolean"
                  },
                  "phoneNumber": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  },
                  "serviceSteps": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ],
            "title": "ServiceChannel.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ServiceChannel>"
      },
      "SubService.Filter": {
        "type": "object",
        "title": "SubService.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "SubService.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "requestId": {
                    "type": "boolean"
                  },
                  "entityId": {
                    "type": "boolean"
                  },
                  "mainServiceId": {
                    "type": "boolean"
                  },
                  "serviceChannels": {
                    "type": "boolean"
                  },
                  "variationSubServiceId": {
                    "type": "boolean"
                  },
                  "serviceType": {
                    "type": "boolean"
                  },
                  "subServiceType": {
                    "type": "boolean"
                  },
                  "subServiceClassifications": {
                    "type": "boolean"
                  },
                  "nameEn": {
                    "type": "boolean"
                  },
                  "nameAr": {
                    "type": "boolean"
                  },
                  "descriptionEn": {
                    "type": "boolean"
                  },
                  "descriptionAr": {
                    "type": "boolean"
                  },
                  "sequence": {
                    "type": "boolean"
                  },
                  "reference": {
                    "type": "boolean"
                  },
                  "isPriorityService": {
                    "type": "boolean"
                  },
                  "customerSatisfactionIndex": {
                    "type": "boolean"
                  },
                  "serviceUrl": {
                    "type": "boolean"
                  },
                  "frequencyOfServiceRequests": {
                    "type": "boolean"
                  },
                  "newDeliveryTime": {
                    "type": "boolean"
                  },
                  "provideTime": {
                    "type": "boolean"
                  },
                  "eserviceAvailable": {
                    "type": "boolean"
                  },
                  "dependOnOtherService": {
                    "type": "boolean"
                  },
                  "departmentEn": {
                    "type": "boolean"
                  },
                  "departmentAr": {
                    "type": "boolean"
                  },
                  "digitisationPotential": {
                    "type": "boolean"
                  },
                  "currentDesitisationLevel": {
                    "type": "boolean"
                  },
                  "maxDigitisationLevel": {
                    "type": "boolean"
                  },
                  "version": {
                    "type": "boolean"
                  },
                  "customersClassificationsNew": {
                    "type": "boolean"
                  },
                  "isProactive": {
                    "type": "boolean"
                  },
                  "isImmediate": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "dependentServiceIds": {
                    "type": "boolean"
                  },
                  "lastDeactivatedAt": {
                    "type": "boolean"
                  },
                  "hasFees": {
                    "type": "boolean"
                  },
                  "hasFines": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ],
            "title": "SubService.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SubService>"
      }
    }
  }
}