{
  "openapi": "3.0.1",
  "info": {
    "title": "Planometry API",
    "description": "Planometry Backend API Documentation",
    "version": "v1.0.43-staging"
  },
  "paths": {
    "/api/attributes": {
      "get": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_GetAttributes",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dataType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "levelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AttributesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_CreateAttribute",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_DeleteAttributes",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/attributes/{id}": {
      "get": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_GetAttribute",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_UpdateAttribute",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_DeleteAttribute",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/attributes/{id}/reset": {
      "delete": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_ResetAttribute",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/attributes/reset": {
      "delete": {
        "tags": [
          "Attributes"
        ],
        "operationId": "Attributes_ResetAttributes",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_Login",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LoginIdentityResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginIdentityResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginIdentityResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/session": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_EstablishSession",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EstablishSessionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EstablishSessionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EstablishSessionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/me": {
      "get": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_Me",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/refresh": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_Refresh",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/switch-tenant": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_SwitchTenant",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchTenantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchTenantRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchTenantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_Logout",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/exit-impersonation": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_ExitImpersonation",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/tenants": {
      "get": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_GetMyTenants",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthTenantInfosResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthTenantInfosResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthTenantInfosResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/verify-email": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_VerifyEmail",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyEmailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyEmailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyEmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/validate-activation": {
      "get": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_ValidateActivationToken",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationPreviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationPreviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivationPreviewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/complete-activation": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_CompleteActivation",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteActivationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteActivationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteActivationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/accept-tenant-activation": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_AcceptTenantActivation",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/accept-tenant-activation/authenticated": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_AcceptTenantActivationAuthenticated",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/decline-tenant-activation": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_DeclineTenantActivation",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenOnlyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/forgot-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_ForgotPassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/forgot-password/code": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_RequestResetCode",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/reset-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_ResetPassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/accept-invite/preview": {
      "get": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_PreviewInvite",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InvitePreviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitePreviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitePreviewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/accept-invite": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_AcceptInvite",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/accept-invite/authenticated": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_AcceptInviteAuthenticated",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/accept-invite/existing": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_AcceptInviteExisting",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteAuthenticatedResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/reject-invite/authenticated": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_RejectInviteAuthenticated",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/reject-invite": {
      "post": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_RejectInvite",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteAuthenticatedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/password": {
      "put": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_UpdatePassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChangeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PasswordChangeResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PasswordChangeResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PasswordChangeResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/auth/sessions/reset": {
      "delete": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_ResetSessions",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/blob/upload": {
      "post": {
        "tags": [
          "Blob"
        ],
        "operationId": "Blob_Upload",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  },
                  "source": {
                    "type": "string"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                },
                "source": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BlobUploadResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobUploadResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobUploadResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/blob/retrieve/{reference}": {
      "get": {
        "tags": [
          "Blob"
        ],
        "operationId": "Blob_Retrieve",
        "parameters": [
          {
            "name": "reference",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/blob/reset": {
      "delete": {
        "tags": [
          "Blob"
        ],
        "operationId": "Blob_ResetBlobs",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/blob/sync/analyze": {
      "get": {
        "tags": [
          "Blob"
        ],
        "operationId": "Blob_AnalyzeSync",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BlobSyncReportResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobSyncReportResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobSyncReportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/blob/sync/cleanup": {
      "post": {
        "tags": [
          "Blob"
        ],
        "operationId": "Blob_CleanupSync",
        "parameters": [
          {
            "name": "deleteOrphanAzureFiles",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BlobCleanupResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobCleanupResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobCleanupResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/currencies": {
      "get": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_GetCurrencies",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponsesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponsesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponsesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_CreateCurrency",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_DeleteCurrencies",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/currencies/{id}": {
      "get": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_GetCurrency",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_UpdateCurrency",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyResponseResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_DeleteCurrency",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDependencysResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDependencysResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDependencysResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/currencies/{id}/reset": {
      "delete": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_ResetCurrency",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/currencies/reset": {
      "delete": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_ResetAllCurrencies",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetDataSources",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "engine",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SourcesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourcesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourcesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_CreateDataSource",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_DeleteDataSources",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetDataSource",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_UpdateDataSource",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_DeleteDataSource",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/file": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_CreateFileDataSource",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Id": {
                    "type": "string"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "Description": {
                    "type": "string"
                  },
                  "Engine": {
                    "$ref": "#/components/schemas/DataSourceEngine"
                  },
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "Id": {
                  "style": "form"
                },
                "Name": {
                  "style": "form"
                },
                "Description": {
                  "style": "form"
                },
                "Engine": {
                  "style": "form"
                },
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FileIngestStartedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileIngestStartedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileIngestStartedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/file": {
      "put": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_UpdateFileDataSource",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Name": {
                    "type": "string"
                  },
                  "Description": {
                    "type": "string"
                  },
                  "Engine": {
                    "$ref": "#/components/schemas/DataSourceEngine"
                  },
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "Name": {
                  "style": "form"
                },
                "Description": {
                  "style": "form"
                },
                "Engine": {
                  "style": "form"
                },
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FileIngestStartedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileIngestStartedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileIngestStartedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/file/ingest-job": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetFileIngestJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/tables": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetTables",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTablesResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTablesResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTablesResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/test": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_TestConnection",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTestResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTestResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTestResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/test": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_TestConnectionConfig",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceTestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceTestRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DataSourceTestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTestResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTestResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceTestResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/sheets": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetSheets",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceSheetsResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceSheetsResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceSheetsResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/data": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetData",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourcePreviewResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourcePreviewResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourcePreviewResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/push-key": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_RegeneratePushKey",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/raw": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetApiRaw",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ApiRawResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiRawResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiRawResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/preview": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_PreviewFiltered",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilteredPreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FilteredPreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FilteredPreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FilteredPreviewResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilteredPreviewResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilteredPreviewResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/grid": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GridPreview",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GridPreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GridPreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GridPreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GridPreviewResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridPreviewResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridPreviewResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/grid/column-values": {
      "post": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GridColumnValues",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ColumnValuesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ColumnValuesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ColumnValuesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ColumnValuesResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ColumnValuesResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ColumnValuesResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/sample-data": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetSampleData",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourcePreviewResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourcePreviewResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseSourcePreviewResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/schema": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_GetSourceSchema",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mappingId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sampleSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SourceSchemaResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceSchemaResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceSchemaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/{id}/reset": {
      "delete": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_ResetDataSource",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/reset": {
      "delete": {
        "tags": [
          "DataSources"
        ],
        "operationId": "DataSources_ResetDataSources",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/dimensions": {
      "get": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_GetDimensions",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeBranches",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "includeHierarchies",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_CreateDimension",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DimensionCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DimensionCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DimensionCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/dimensions/{id}": {
      "get": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_GetDimension",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_UpdateDimension",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DimensionUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DimensionUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DimensionUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionUpdateResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionUpdateResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DimensionUpdateResultResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_DeleteDimension",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/dimensions/{id}/reset": {
      "delete": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_ResetDimension",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/dimensions/reset": {
      "delete": {
        "tags": [
          "Dimensions"
        ],
        "operationId": "Dimensions_ResetDimensions",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/exchange-rates": {
      "get": {
        "tags": [
          "ExchangeRates"
        ],
        "operationId": "ExchangeRates_GetRates",
        "parameters": [
          {
            "name": "fromCurrencyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rateType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ExchangeRateType"
            }
          },
          {
            "name": "scenarioMemberId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toCurrencyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateGridResponsesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateGridResponsesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateGridResponsesResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "ExchangeRates"
        ],
        "operationId": "ExchangeRates_UpsertRates",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ExchangeRateUpsertRequest"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ExchangeRateUpsertRequest"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ExchangeRateUpsertRequest"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "ExchangeRates"
        ],
        "operationId": "ExchangeRates_ClearRates",
        "parameters": [
          {
            "name": "fromCurrencyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scenarioMemberId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timeLevelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/exchange-rates/grid": {
      "get": {
        "tags": [
          "ExchangeRates"
        ],
        "operationId": "ExchangeRates_GetGridContext",
        "parameters": [
          {
            "name": "fromCurrencyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scenarioLevelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scenarioMemberId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timeLevelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timeStartKey",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "timeEndKey",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "scenarioDimId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timeDimId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateGridContextResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateGridContextResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateGridContextResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/exchange-rates/ranges": {
      "put": {
        "tags": [
          "ExchangeRates"
        ],
        "operationId": "ExchangeRates_UpsertRanges",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ExchangeRateRangeRequest"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ExchangeRateRangeRequest"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ExchangeRateRangeRequest"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/exports/active": {
      "get": {
        "tags": [
          "Exports"
        ],
        "operationId": "Exports_GetActive",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ActiveExportsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActiveExportsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActiveExportsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/facts/import": {
      "post": {
        "tags": [
          "Facts"
        ],
        "operationId": "Facts_ImportFacts",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Mode": {
                    "$ref": "#/components/schemas/ModelFactImportMode"
                  },
                  "ColumnMappings": {
                    "type": "string"
                  },
                  "ConstantMappings": {
                    "type": "string"
                  },
                  "ColumnTransforms": {
                    "type": "string"
                  },
                  "Sheet": {
                    "type": "string"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                },
                "Mode": {
                  "style": "form"
                },
                "ColumnMappings": {
                  "style": "form"
                },
                "ConstantMappings": {
                  "style": "form"
                },
                "ColumnTransforms": {
                  "style": "form"
                },
                "Sheet": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/facts": {
      "get": {
        "tags": [
          "Facts"
        ],
        "operationId": "Facts_GetFacts",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ModelRawFactsPageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelRawFactsPageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelRawFactsPageResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Facts"
        ],
        "operationId": "Facts_DeleteFacts",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/facts/olap": {
      "get": {
        "tags": [
          "Facts"
        ],
        "operationId": "Facts_GetOlapFacts",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ModelFactGridResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelFactGridResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelFactGridResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/facts/export": {
      "get": {
        "tags": [
          "Facts"
        ],
        "operationId": "Facts_ExportFacts",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/facts/count": {
      "get": {
        "tags": [
          "Facts"
        ],
        "operationId": "Facts_GetFactCount",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Int64Response"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int64Response"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Int64Response"
                }
              }
            }
          }
        }
      }
    },
    "/api/health": {
      "get": {
        "tags": [
          "Health"
        ],
        "operationId": "Health_GetHealth",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies": {
      "get": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_GetHierarchies",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dimensionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "isDefault",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeRollups",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchysResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchysResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchysResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_CreateHierarchy",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HierarchyCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HierarchyCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HierarchyCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_DeleteHierarchies",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/time-fill": {
      "post": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_FillTimeHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FillTimeHierarchyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FillTimeHierarchyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FillTimeHierarchyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}": {
      "get": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_GetHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/HierarchyResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_UpdateHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HierarchyUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HierarchyUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HierarchyUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_DeleteHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/schema": {
      "get": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_GetHierarchySchema",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DestinationSchemaResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DestinationSchemaResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DestinationSchemaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/import": {
      "post": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_ImportHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Mode": {
                    "$ref": "#/components/schemas/ImportMode"
                  },
                  "ColumnMappings": {
                    "type": "string"
                  },
                  "Sheet": {
                    "type": "string"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                },
                "Mode": {
                  "style": "form"
                },
                "ColumnMappings": {
                  "style": "form"
                },
                "Sheet": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/export": {
      "get": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_ExportHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/hierarchies/{id}/nodes": {
      "delete": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_ClearHierarchyNodes",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/nodes/clear-job": {
      "get": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_GetHierarchyClearJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/rollups/{rollupId}/nodes": {
      "delete": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_ClearRollupNodes",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/{id}/reset": {
      "delete": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_ResetHierarchy",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/hierarchies/reset": {
      "delete": {
        "tags": [
          "Hierarchies"
        ],
        "operationId": "Hierarchies_ResetHierarchies",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/import-jobs/{id}": {
      "get": {
        "tags": [
          "ImportJobs"
        ],
        "operationId": "ImportJobs_GetJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/keywords": {
      "get": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_GetKeywords",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponsesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponsesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponsesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_CreateKeyword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_DeleteKeywords",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/keywords/system": {
      "get": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_GetSystemKeywords",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponsesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponsesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponsesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/keywords/{id}": {
      "get": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_GetKeyword",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_UpdateKeyword",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordResponseResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_DeleteKeyword",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/keywords/preview": {
      "post": {
        "tags": [
          "Keywords"
        ],
        "operationId": "Keywords_Preview",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordPreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordPreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/KeywordPreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordPreviewResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordPreviewResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeywordPreviewResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels": {
      "get": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_GetLevels",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "dimensionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeAttributes",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeMembers",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LevelsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_CreateLevel",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LevelCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LevelCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LevelCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LevelResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_DeleteLevels",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}": {
      "get": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_GetLevel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeAttributes",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeMembers",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LevelResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_UpdateLevel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LevelUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LevelUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LevelUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLevelResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLevelResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLevelResultResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_DeleteLevel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/schema": {
      "get": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_GetLevelSchema",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DestinationSchemaResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DestinationSchemaResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DestinationSchemaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/attributes": {
      "post": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_AddAttributeToLevel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttributeCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttributeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/attributes/{attributeId}": {
      "delete": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_RemoveAttributeFromLevel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attributeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/bulk": {
      "put": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_BulkUpdateLevels",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LevelBulkUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LevelBulkUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LevelBulkUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/LevelBulkUpdateResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelBulkUpdateResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/LevelBulkUpdateResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/members/import": {
      "post": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_ImportMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "File": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Mode": {
                    "$ref": "#/components/schemas/ImportMode"
                  }
                }
              },
              "encoding": {
                "File": {
                  "style": "form"
                },
                "Mode": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/members/export": {
      "get": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_ExportMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/levels/{id}/reset": {
      "delete": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_ResetLevel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/reset": {
      "delete": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_ResetLevels",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/members": {
      "delete": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_BulkDeleteMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/levels/{id}/members/delete-job": {
      "get": {
        "tags": [
          "Levels"
        ],
        "operationId": "Levels_GetMembersDeleteJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetMappings",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/MappingType"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/MappingKind"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_CreateMapping",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MappingCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MappingCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MappingCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_DeleteMappings",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetMapping",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_UpdateMapping",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MappingUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MappingUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MappingUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_DeleteMapping",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/resolve": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_Resolve",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MappingResolveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MappingResolveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MappingResolveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResolveResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResolveResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingResolveResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/keywords": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetMappingKeywords",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingKeywordRefsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingKeywordRefsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingKeywordRefsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/target-clear-preview": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_PreviewTargetClear",
        "parameters": [
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TargetClearPreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TargetClearPreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TargetClearPreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TargetClearPreviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TargetClearPreviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TargetClearPreviewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/internal-preview": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_PreviewInternal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalMappingPreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalMappingPreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InternalMappingPreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InternalMappingPreviewResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalMappingPreviewResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalMappingPreviewResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/internal-source-preview": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_PreviewInternalSource",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalSourcePreviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalSourcePreviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InternalSourcePreviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InternalSourcePreviewResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalSourcePreviewResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalSourcePreviewResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/reset": {
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_ResetMapping",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/reset": {
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_ResetMappings",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/runs/reset": {
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_ResetMappingRuns",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetRuns",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Mode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunSummarysResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunSummarysResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunSummarysResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_StartRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartMappingRunRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StartMappingRunRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StartMappingRunRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_DeleteRuns",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRunsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRunsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRunsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/pause": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_PauseRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/resume": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_ResumeRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/cancel": {
      "post": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_CancelRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/latest": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetLatestRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "errorLimit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "warningLimit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunSummaryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunSummaryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunSummaryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_DeleteRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/delete-job": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetRunDeleteJob",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJobStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/logs": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetRunLogs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Severity",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Scope",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Phase",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RowNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ColumnName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Message",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LevelName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AfterSeq",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TimedOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CursorPagedResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CursorPagedResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CursorPagedResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/logs/groups": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetRunLogGroups",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Severity",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Phase",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ColumnName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LevelName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunLogGroupPageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunLogGroupPageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MappingRunLogGroupPageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/logs/groups/export": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_ExportRunLogGroups",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/mappings/{id}/runs/{runId}/logs/export": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_ExportRunLogs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/mappings/{id}/schedule": {
      "get": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_GetSchedule",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_UpsertSchedule",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertScheduleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertScheduleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertScheduleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Mappings"
        ],
        "operationId": "Mappings_DeleteSchedule",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/members": {
      "get": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_GetMembers",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "levelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "excludeRollupId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "excludeCalculated",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MembersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembersResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_CreateMember",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/members/{id}": {
      "get": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_GetMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StringsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringsResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_UpdateMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MemberUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_DeleteMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/members/exist-check": {
      "post": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_CheckCodesExist",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCodeExistRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCodeExistRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCodeExistRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MemberCodeExistResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberCodeExistResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberCodeExistResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/members/{id}/reset": {
      "delete": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_ResetMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/members/reset": {
      "delete": {
        "tags": [
          "Members"
        ],
        "operationId": "Members_ResetMembers",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/models": {
      "get": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_GetModels",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeDimensions",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "currencyMode",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CurrencyMode"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ModelSummarysResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelSummarysResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelSummarysResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_CreateModel",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ModelCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ModelResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_DeleteModels",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/models/{id}": {
      "get": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_GetModel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeDimensions",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "includeRollupNodes",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ModelResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_UpdateModel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ModelUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_DeleteModel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/models/{id}/schema": {
      "get": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_GetModelSchema",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeCalculated",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ModelSchemaResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelSchemaResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelSchemaResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/models/{id}/reset": {
      "delete": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_ResetModel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/models/reset": {
      "delete": {
        "tags": [
          "Models"
        ],
        "operationId": "Models_ResetModels",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia/status": {
      "get": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_GetStatus",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia/diagnostics": {
      "get": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_Diagnostics",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaDiagnosticsResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaDiagnosticsResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaDiagnosticsResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia/conversations": {
      "get": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_GetConversations",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_CreateConversation",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaCreateConversationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaCreateConversationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NiaCreateConversationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia/conversations/{id}": {
      "get": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_GetConversation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_RenameConversation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaRenameConversationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaRenameConversationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NiaRenameConversationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaConversationResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_DeleteConversation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia/conversations/{id}/messages": {
      "post": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_SendMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSendMessageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSendMessageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSendMessageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/nia/admin/overview": {
      "get": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_AdminOverview",
        "parameters": [
          {
            "name": "months",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaPlatformOverviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaPlatformOverviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaPlatformOverviewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia/usage": {
      "get": {
        "tags": [
          "Nia"
        ],
        "operationId": "Nia_GetUsage",
        "parameters": [
          {
            "name": "months",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaUsageSummarysResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaUsageSummarysResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaUsageSummarysResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia-sheets/connection": {
      "get": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_GetConnection",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_Disconnect",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia-sheets/credentials": {
      "put": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_SaveCredentials",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSheetsCredentialsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSheetsCredentialsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSheetsCredentialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia-sheets/connect": {
      "post": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_Connect",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsAuthorizeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsAuthorizeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsAuthorizeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia-sheets/callback": {
      "post": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_Callback",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSheetsCallbackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSheetsCallbackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NiaSheetsCallbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsConnectionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia-sheets/views/open": {
      "post": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_OpenView",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GridExportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GridExportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GridExportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsPublishResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsPublishResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsPublishResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/nia-sheets/handoffs/{id}": {
      "get": {
        "tags": [
          "NiaSheets"
        ],
        "operationId": "NiaSheets_GetHandoff",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsPublishResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsPublishResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NiaSheetsPublishResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/cancel/{requestId}": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_Cancel",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/columns": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_Columns",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GridColumnsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GridColumnsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GridColumnsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GridColumnsResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridColumnsResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridColumnsResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/rows": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_Rows",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GridRowsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GridRowsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GridRowsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GridRowsResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridRowsResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridRowsResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/grandtotal": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_GrandTotal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GridGrandTotalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GridGrandTotalRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GridGrandTotalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GridGrandTotalResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridGrandTotalResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GridGrandTotalResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/export": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_Export",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GridExportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GridExportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GridExportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/olap/writeback": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_WriteBack",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WriteBackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WriteBackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WriteBackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WriteBackResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WriteBackResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WriteBackResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/writeback/solve": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_WriteBackSolve",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WriteBackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WriteBackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WriteBackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WriteBackPreviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WriteBackPreviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WriteBackPreviewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/olap/rebuild/{modelExternalId}": {
      "post": {
        "tags": [
          "Olap"
        ],
        "operationId": "Olap_Rebuild",
        "parameters": [
          {
            "name": "modelExternalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation": {
      "get": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_GetTenant",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_UpdateTenant",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/stats": {
      "get": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_GetOrganisationStats",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrganisationStatsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganisationStatsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganisationStatsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/logo": {
      "patch": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_UpdateLogo",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantLogoResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantLogoResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantLogoResponseResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_DeleteLogo",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_GetLogo",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/organisation/upgrade-request": {
      "post": {
        "tags": [
          "Organisation"
        ],
        "operationId": "Organisation_RequestUpgrade",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/invitations": {
      "get": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_GetInvitations",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/InvitationStatus"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InvitationDirectoryResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitationDirectoryResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitationDirectoryResultResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_InviteUser",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserInviteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserInviteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserInviteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/invitations/{id}/revoke": {
      "delete": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_RevokeInvitation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/invitations/{id}/delete": {
      "delete": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_DeleteInvitation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/invitations/{id}/resend": {
      "post": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_ResendInvitation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/invitations/all": {
      "delete": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_PurgeAllInvitations",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/invitations/reset": {
      "delete": {
        "tags": [
          "Organisation Invitations"
        ],
        "operationId": "OrganisationInvitations_ResetInvitations",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users": {
      "get": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_GetMembers",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MemberDirectoryResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberDirectoryResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberDirectoryResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/{id}": {
      "get": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_GetUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_DismissUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/{id}/role": {
      "patch": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_UpdateUserRole",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRoleUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRoleUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserRoleUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/{id}/suspend": {
      "patch": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_SuspendUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/{id}/ban": {
      "patch": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_BanUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/{id}/reactivate": {
      "patch": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_ReactivateUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/transfer-ownership": {
      "post": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_TransferOwnership",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnershipRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnershipRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnershipRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/organisation/users/remove-all": {
      "delete": {
        "tags": [
          "Organisation Users"
        ],
        "operationId": "OrganisationUsers_RemoveAllMembers",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/": {
      "get": {
        "tags": [
          "PlanometryBackend.API"
        ],
        "operationId": "PlanometryBackend.API_70dd754d",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/profile": {
      "get": {
        "tags": [
          "Profile"
        ],
        "operationId": "Profile_GetProfile",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileResponse"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Profile"
        ],
        "operationId": "Profile_UpdateProfile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProfileUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProfileUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProfileUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/profile/image": {
      "get": {
        "tags": [
          "Profile"
        ],
        "operationId": "Profile_GetProfileImage",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "patch": {
        "tags": [
          "Profile"
        ],
        "operationId": "Profile_UpdateProfileImage",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileImageResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileImageResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileImageResponseResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Profile"
        ],
        "operationId": "Profile_DeleteProfileImage",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/demo/request": {
      "post": {
        "tags": [
          "Public"
        ],
        "operationId": "Public_RequestDemo",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DemoLeadRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DemoLeadRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DemoLeadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/internal-tables/{id}": {
      "get": {
        "tags": [
          "Push"
        ],
        "operationId": "Push_Connection",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushConnectionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushConnectionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushConnectionResponseResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Push"
        ],
        "operationId": "Push_Push",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushRowsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PushRowsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PushRowsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/datasources/internal-tables/{id}/schema": {
      "get": {
        "tags": [
          "Push"
        ],
        "operationId": "Push_Schema",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PushSchemaResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushSchemaResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushSchemaResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/roles": {
      "get": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_GetRoles",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RolesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RolesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RolesResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_CreateRole",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/roles/{externalId}": {
      "get": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_GetRole",
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_UpdateRole",
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_DeleteRole",
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/roles/available-permissions": {
      "get": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_GetAvailablePermissions",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionGroupsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionGroupsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionGroupsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/roles/reset": {
      "delete": {
        "tags": [
          "Roles"
        ],
        "operationId": "Roles_ResetRoles",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/rollups": {
      "get": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_GetRollups",
        "parameters": [
          {
            "name": "hierarchyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RollupsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/rollups/{rollupId}/nodes": {
      "get": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_GetNodes",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "parentId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeEmpty",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "scope",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "levelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodesResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_ClearNodes",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_AddNode",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddRollupNodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddRollupNodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddRollupNodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/rollups/{rollupId}/level-counts": {
      "get": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_GetLevelCounts",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RollupLevelCountsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupLevelCountsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupLevelCountsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/rollups/{rollupId}/nodes/{nodeId}/move": {
      "patch": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_MoveNode",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveRollupNodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveRollupNodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MoveRollupNodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/rollups/{rollupId}/nodes/{nodeId}": {
      "delete": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_DeleteNode",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/rollups/{rollupId}/nodes/{nodeId}/formula": {
      "patch": {
        "tags": [
          "Rollups"
        ],
        "operationId": "Rollups_SetNodeFormula",
        "parameters": [
          {
            "name": "rollupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRollupNodeFormulaRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRollupNodeFormulaRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetRollupNodeFormulaRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupNodeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_GetScripts",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "runStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_CreateScript",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_DeleteScripts",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_GetScript",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_UpdateScript",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScriptUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_DeleteScript",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_StartRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_GetRuns",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunsResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_DeleteRuns",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRunsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRunsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRunsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs/{runId}/pause": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_PauseRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs/{runId}/resume": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_ResumeRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs/{runId}/cancel": {
      "post": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_CancelRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs/latest": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_GetLatestRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScriptRunResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs/{runId}": {
      "delete": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_DeleteRun",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/scripts/{id}/runs/{runId}/logs/export": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_ExportRunLogs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "runId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "xlsx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/scripts/{id}/schedule": {
      "get": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_GetSchedule",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_UpsertSchedule",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertScheduleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertScheduleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertScheduleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Scripts"
        ],
        "operationId": "Scripts_DeleteSchedule",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/system/status": {
      "get": {
        "tags": [
          "SystemStatus"
        ],
        "operationId": "SystemStatus_GetStatus",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SystemStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SystemStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SystemStatusResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/system/migrations/apply": {
      "post": {
        "tags": [
          "SystemStatus"
        ],
        "operationId": "SystemStatus_ApplyMigrations",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/system/migrations/progress": {
      "get": {
        "tags": [
          "SystemStatus"
        ],
        "operationId": "SystemStatus_GetMigrationProgress",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationProgressResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationProgressResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationProgressResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_GetTenants",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "plan",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_CreateTenant",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TenantCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/stats": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_GetDashboardStats",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDashboardStatsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDashboardStatsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDashboardStatsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_GetTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_UpdateTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TenantUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_DeleteTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/plan": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_ChangePlan",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePlanRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePlanRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePlanRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/impersonate": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_ImpersonateTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/owner/password": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_UpdateOwnerPassword",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPasswordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/invite": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_InviteTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/cancel-invite": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_CancelInvitation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/suspend": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_SuspendTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/reactivate": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_ReactivateTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/ban": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_BanTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/activation/resend": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_ResendActivationEmail",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/activate": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_ActivateTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateTenantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateTenantRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateTenantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/transfer-ownership": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "operationId": "Tenants_TransferOwnership",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnershipRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnershipRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnershipRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_GetUsers",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalAccountsResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalAccountsResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalAccountsResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/details": {
      "get": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_GetAccountDetails",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDetailsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDetailsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDetailsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/role": {
      "patch": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_UpdateUserGlobalRole",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRoleUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRoleUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserRoleUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}": {
      "delete": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_DeleteUserGlobal",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/cancel-invite": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_CancelInvitation",
        "parameters": [
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/suspend": {
      "patch": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_SuspendAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/reactivate": {
      "patch": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_ReactivateAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/ban": {
      "patch": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_BanAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/reinstate-org": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_ReinstateOrg",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orgExternalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/{id}/sessions/revoke": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_ForceLogoutAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/users/sessions/revoke-all": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "Users_KillAllSessions",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/views": {
      "get": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_GetViews",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "modelId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isReadOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "currencyMode",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CurrencyMode"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ViewsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_CreateView",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ViewCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_DeleteViews",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteResultResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/views/{id}": {
      "get": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_GetView",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_UpdateView",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ViewUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_DeleteView",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/views/{id}/save": {
      "patch": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_SaveViewConfig",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewSaveConfigRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewSaveConfigRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ViewSaveConfigRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/views/{id}/save-as": {
      "post": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_SaveViewAs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewSaveAsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ViewSaveAsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ViewSaveAsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/views/{id}/reset": {
      "delete": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_ResetView",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/views/reset": {
      "delete": {
        "tags": [
          "Views"
        ],
        "operationId": "Views_ResetViews",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcceptInviteAuthenticatedRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcceptInviteAuthenticatedResult": {
        "type": "object",
        "properties": {
          "tenantExternalId": {
            "type": "string",
            "nullable": true
          },
          "tenantName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcceptInviteAuthenticatedResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/AcceptInviteAuthenticatedResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcceptInviteRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "confirmPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountDetailsData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "accountStatus": {
            "type": "string",
            "nullable": true
          },
          "isEmailVerified": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "organizationCount": {
            "type": "integer",
            "format": "int32"
          },
          "organizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountOrgMembership"
            },
            "nullable": true
          },
          "isOnline": {
            "type": "boolean"
          },
          "currentOrgName": {
            "type": "string",
            "nullable": true
          },
          "currentOrgExternalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountDetailsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/AccountDetailsData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountOrgMembership": {
        "type": "object",
        "properties": {
          "orgName": {
            "type": "string",
            "nullable": true
          },
          "orgExternalId": {
            "type": "string",
            "nullable": true
          },
          "orgStatus": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "memberStatus": {
            "type": "string",
            "nullable": true
          },
          "joinedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ActivateTenantRequest": {
        "type": "object",
        "properties": {
          "plan": {
            "$ref": "#/components/schemas/TenantPlan"
          }
        },
        "additionalProperties": false
      },
      "ActivationPreviewData": {
        "type": "object",
        "properties": {
          "valid": {
            "type": "boolean"
          },
          "tenantName": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "requiresPasswordSetup": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ActivationPreviewResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ActivationPreviewData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ActiveExportData": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "phase": {
            "type": "string",
            "nullable": true
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ActiveExportsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActiveExportData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddRollupNodeRequest": {
        "required": [
          "levelId",
          "memberId"
        ],
        "type": "object",
        "properties": {
          "parentId": {
            "type": "string",
            "nullable": true
          },
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "levelId": {
            "minLength": 1,
            "type": "string"
          },
          "formula": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AllocationMissingDriverPolicy": {
        "enum": [
          "SpreadEvenly",
          "LeaveUnallocated"
        ],
        "type": "string"
      },
      "ApiRawResponse": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "integer",
            "format": "int32"
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "totalBytes": {
            "type": "integer",
            "format": "int64"
          },
          "truncated": {
            "type": "boolean"
          },
          "dataPath": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApiRawResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ApiRawResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttributeCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dataType": {
            "$ref": "#/components/schemas/AttributeDataType"
          }
        },
        "additionalProperties": false
      },
      "AttributeData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dataType": {
            "$ref": "#/components/schemas/AttributeDataType"
          },
          "isActive": {
            "type": "boolean",
            "default": false
          },
          "isSystem": {
            "type": "boolean",
            "default": false
          },
          "systemKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttributeDataType": {
        "enum": [
          "Text",
          "Date",
          "Time",
          "String",
          "Integer",
          "Decimal",
          "Boolean",
          "DateTime"
        ],
        "type": "string"
      },
      "AttributeResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/AttributeData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AttributeSyncStats": {
        "type": "object",
        "properties": {
          "created": {
            "type": "integer",
            "format": "int32"
          },
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "removed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AttributeUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dataType": {
            "$ref": "#/components/schemas/AttributeDataType"
          }
        },
        "additionalProperties": false
      },
      "AttributesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttributeData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthTenantInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "memberStatus": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "isDemoReady": {
            "type": "boolean"
          },
          "demoVersion": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AuthTenantInfosResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthTenantInfo"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AxisItemData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "rollupId": {
            "type": "string",
            "nullable": true
          },
          "rollupName": {
            "type": "string",
            "nullable": true
          },
          "rollupPath": {
            "type": "string",
            "nullable": true
          },
          "rollupBranchId": {
            "type": "string",
            "nullable": true
          },
          "rollupHierarchyId": {
            "type": "string",
            "nullable": true
          },
          "selectedMembers": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupNodeData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AxisItemRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "selectedMembers": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "selection": {
            "$ref": "#/components/schemas/AxisSelectionRequest"
          }
        },
        "additionalProperties": false
      },
      "AxisSelectionRequest": {
        "type": "object",
        "properties": {
          "default": {
            "type": "boolean"
          },
          "marks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SelectionMarkRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BlobCleanupResult": {
        "type": "object",
        "properties": {
          "deletedDeadBlobInfos": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "deletedOrphanAzureFiles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BlobCleanupResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/BlobCleanupResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BlobSyncReport": {
        "type": "object",
        "properties": {
          "blobInfosMissingAzureFile": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "azureFilesMissingBlobInfo": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "htmlReferencesMissingBlobInfo": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "isConsistent": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "BlobSyncReportResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/BlobSyncReport"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BlobUploadResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "blobName": {
            "type": "string",
            "nullable": true
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "BlobUploadResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/BlobUploadResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BooleanResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BranchCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/BranchType"
          },
          "dimensionId": {
            "type": "string",
            "nullable": true
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BranchNodeRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BranchData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "isSystem": {
            "type": "boolean",
            "default": false
          },
          "dimensionId": {
            "type": "string",
            "nullable": true
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BranchNodeData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BranchNodeData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "branchId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "levelName": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "string",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BranchNodeData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BranchNodeRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "branchId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BranchType": {
        "enum": [
          "Root",
          "Auto",
          "Custom"
        ],
        "type": "string"
      },
      "BulkDeleteFailure": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "dependencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeleteDependency"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BulkDeleteRequest": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BulkDeleteResult": {
        "type": "object",
        "properties": {
          "requested": {
            "type": "integer",
            "format": "int32"
          },
          "deleted": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BulkDeleteFailure"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BulkDeleteResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/BulkDeleteResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChangePlanRequest": {
        "type": "object",
        "properties": {
          "plan": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ColumnValueSortConfig": {
        "type": "object",
        "properties": {
          "colId": {
            "type": "string",
            "nullable": true
          },
          "direction": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ColumnValuesRequest": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "nullable": true
          },
          "column": {
            "type": "string",
            "nullable": true
          },
          "columnFilters": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ColumnValuesResult": {
        "type": "object",
        "properties": {
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "hasBlanks": {
            "type": "boolean"
          },
          "hasMore": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ColumnValuesResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ColumnValuesResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompleteActivationRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConfigDriftReport": {
        "type": "object",
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConnectionStatusData": {
        "type": "object",
        "properties": {
          "isConnected": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRollupNodeRequest": {
        "required": [
          "children",
          "id",
          "levelId",
          "memberId",
          "rollupId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "rollupId": {
            "minLength": 1,
            "type": "string"
          },
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "memberCode": {
            "type": "string",
            "nullable": true
          },
          "memberName": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "minLength": 1,
            "type": "string"
          },
          "formula": {
            "type": "string",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRollupNodeRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "CreateRollupRequest": {
        "required": [
          "branchId",
          "hierarchyId",
          "id",
          "nodes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "hierarchyId": {
            "minLength": 1,
            "type": "string"
          },
          "branchId": {
            "minLength": 1,
            "type": "string"
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRollupNodeRequest"
            }
          },
          "preserveNodes": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CurrencyCreateRequest": {
        "required": [
          "code",
          "externalId",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalId": {
            "minLength": 1,
            "type": "string"
          },
          "code": {
            "maxLength": 3,
            "minLength": 3,
            "pattern": "^[A-Z]{3}$",
            "type": "string"
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "symbol": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "decimalPlaces": {
            "maximum": 3,
            "minimum": 0,
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "isBaseCurrency": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CurrencyMode": {
        "enum": [
          "Single",
          "Multi"
        ],
        "type": "string"
      },
      "CurrencyResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "decimalPlaces": {
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isBaseCurrency": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CurrencyResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/CurrencyResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CurrencyResponsesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyResponse"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CurrencyUpdateRequest": {
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "code": {
            "maxLength": 3,
            "minLength": 3,
            "pattern": "^[A-Z]{3}$",
            "type": "string"
          },
          "name": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string"
          },
          "symbol": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "decimalPlaces": {
            "maximum": 3,
            "minimum": 0,
            "type": "integer",
            "format": "int32"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "isBaseCurrency": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CursorPagedResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/CursorPagedResponse_MappingRunLogData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CursorPagedResponse_MappingRunLogData": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingRunLogData"
            },
            "nullable": true
          },
          "nextCursor": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          },
          "totalMatched": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DataSourceCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DataSourceType"
          },
          "engine": {
            "$ref": "#/components/schemas/DataSourceEngine"
          },
          "connectionConfig": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DataSourceType"
          },
          "engine": {
            "$ref": "#/components/schemas/DataSourceEngine"
          },
          "connectionConfig": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          },
          "lastSyncedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "usedByMappings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "pushKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceEngine": {
        "enum": [
          "Excel",
          "Csv",
          "SqlServer",
          "PostgreSQL",
          "MySql",
          "Json",
          "Api",
          "Connector"
        ],
        "type": "string"
      },
      "DataSourcePreviewResult": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": { }
            },
            "nullable": true
          },
          "totalRows": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DataSourceSheetsResult": {
        "type": "object",
        "properties": {
          "sheets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceTablesResult": {
        "type": "object",
        "properties": {
          "tables": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "views": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceTestRequest": {
        "type": "object",
        "properties": {
          "engine": {
            "type": "string",
            "nullable": true
          },
          "connectionConfig": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceTestResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceTestStep"
            },
            "nullable": true
          },
          "failureCategory": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "suggestions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "rawError": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceTestStep": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          },
          "detail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataSourceType": {
        "enum": [
          "File",
          "Api",
          "Database",
          "InternalTable"
        ],
        "type": "string"
      },
      "DataSourceUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DataSourceType"
          },
          "engine": {
            "$ref": "#/components/schemas/DataSourceEngine"
          },
          "connectionConfig": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DateGranularity": {
        "enum": [
          "Day",
          "Month",
          "Year",
          "MonthOfYear",
          "Quarter",
          "HalfYear"
        ],
        "type": "string"
      },
      "DeleteDependency": {
        "type": "object",
        "properties": {
          "module": {
            "type": "string",
            "nullable": true
          },
          "recordId": {
            "type": "string",
            "nullable": true
          },
          "recordName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteDependencysResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeleteDependency"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteRunsRequest": {
        "type": "object",
        "properties": {
          "runIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DemoLeadRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DestinationSchema": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaColumn"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DestinationSchemaResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DestinationSchema"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/EntityType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "branches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BranchCreateRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "default": false
          },
          "isSystem": {
            "type": "boolean",
            "default": false
          },
          "branchesCount": {
            "type": "integer",
            "format": "int32"
          },
          "hierarchiesCount": {
            "type": "integer",
            "format": "int32"
          },
          "branches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BranchData"
            },
            "nullable": true
          },
          "hierarchies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HierarchyData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DimensionData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/EntityType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "branches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BranchCreateRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionUpdateResult": {
        "type": "object",
        "properties": {
          "rootNodeChanged": {
            "type": "boolean"
          },
          "modelsAffected": {
            "type": "integer",
            "format": "int32"
          },
          "hierarchiesSynced": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DimensionUpdateResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DimensionUpdateResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DimensionData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DuplicateCoordinatePolicy": {
        "enum": [
          "First",
          "Last",
          "Sum",
          "Average",
          "Min",
          "Max",
          "Count"
        ],
        "type": "string"
      },
      "DuplicateHandling": {
        "type": "object",
        "properties": {
          "default": {
            "$ref": "#/components/schemas/DuplicateCoordinatePolicy"
          },
          "variableOverrides": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DuplicateCoordinatePolicy"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityType": {
        "enum": [
          "Scenario",
          "Time",
          "Organization",
          "Variable"
        ],
        "type": "string"
      },
      "EstablishSessionRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "nullable": true
          },
          "sessionEstablishmentToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateGridContextResponse": {
        "type": "object",
        "properties": {
          "metadata": {
            "$ref": "#/components/schemas/ExchangeRateGridMetadata"
          },
          "timeMembers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeRateTimeMember"
            },
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeRateRow"
            },
            "nullable": true
          },
          "window": {
            "$ref": "#/components/schemas/ExchangeRateWindow"
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateGridContextResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ExchangeRateGridContextResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateGridMetadata": {
        "type": "object",
        "properties": {
          "currencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyResponse"
            },
            "nullable": true
          },
          "scenarioDimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DimensionData"
            },
            "nullable": true
          },
          "timeDimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DimensionData"
            },
            "nullable": true
          },
          "scenarioLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelData"
            },
            "nullable": true
          },
          "scenarioMembers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberData"
            },
            "nullable": true
          },
          "timeLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelData"
            },
            "nullable": true
          },
          "selectedFromCurrencyId": {
            "type": "string",
            "nullable": true
          },
          "selectedRateType": {
            "$ref": "#/components/schemas/ExchangeRateType"
          },
          "selectedScenarioDimId": {
            "type": "string",
            "nullable": true
          },
          "selectedScenarioLevelId": {
            "type": "string",
            "nullable": true
          },
          "selectedScenarioMemberId": {
            "type": "string",
            "nullable": true
          },
          "selectedTimeDimId": {
            "type": "string",
            "nullable": true
          },
          "selectedTimeLevelId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateGridResponse": {
        "type": "object",
        "properties": {
          "fromCurrencyId": {
            "type": "string",
            "nullable": true
          },
          "fromCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "fromCurrencyName": {
            "type": "string",
            "nullable": true
          },
          "toCurrencyId": {
            "type": "string",
            "nullable": true
          },
          "toCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "toCurrencyName": {
            "type": "string",
            "nullable": true
          },
          "rateType": {
            "$ref": "#/components/schemas/ExchangeRateType"
          },
          "scenarioMemberId": {
            "type": "string",
            "nullable": true
          },
          "rates": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateGridResponsesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeRateGridResponse"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateRangeRequest": {
        "required": [
          "endTimeMemberId",
          "fromCurrencyId",
          "scenarioMemberId",
          "startTimeMemberId",
          "toCurrencyId"
        ],
        "type": "object",
        "properties": {
          "fromCurrencyId": {
            "minLength": 1,
            "type": "string"
          },
          "toCurrencyId": {
            "minLength": 1,
            "type": "string"
          },
          "rateType": {
            "$ref": "#/components/schemas/ExchangeRateType"
          },
          "scenarioMemberId": {
            "minLength": 1,
            "type": "string"
          },
          "startTimeMemberId": {
            "minLength": 1,
            "type": "string"
          },
          "endTimeMemberId": {
            "minLength": 1,
            "type": "string"
          },
          "rate": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateRow": {
        "type": "object",
        "properties": {
          "fromCurrencyId": {
            "type": "string",
            "nullable": true
          },
          "fromCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "fromCurrencyName": {
            "type": "string",
            "nullable": true
          },
          "toCurrencyId": {
            "type": "string",
            "nullable": true
          },
          "toCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "toCurrencyName": {
            "type": "string",
            "nullable": true
          },
          "scenarioMemberId": {
            "type": "string",
            "nullable": true
          },
          "scenarioMemberName": {
            "type": "string",
            "nullable": true
          },
          "rates": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateTimeMember": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "temporalSortKey": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateType": {
        "enum": [
          "Average",
          "Closing"
        ],
        "type": "string"
      },
      "ExchangeRateUpsertRequest": {
        "required": [
          "fromCurrencyId",
          "scenarioMemberId",
          "timeMemberId",
          "toCurrencyId"
        ],
        "type": "object",
        "properties": {
          "fromCurrencyId": {
            "minLength": 1,
            "type": "string"
          },
          "toCurrencyId": {
            "minLength": 1,
            "type": "string"
          },
          "rateType": {
            "$ref": "#/components/schemas/ExchangeRateType"
          },
          "scenarioMemberId": {
            "minLength": 1,
            "type": "string"
          },
          "timeMemberId": {
            "minLength": 1,
            "type": "string"
          },
          "rate": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateWindow": {
        "type": "object",
        "properties": {
          "startKey": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "endKey": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "levelMinKey": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "levelMaxKey": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "levelMemberCount": {
            "type": "integer",
            "format": "int32"
          },
          "windowMemberCount": {
            "type": "integer",
            "format": "int32"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FieldTransform": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/TransformKind"
          },
          "preset": {
            "type": "string",
            "nullable": true
          },
          "customFormat": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FileColumnType": {
        "enum": [
          "Text",
          "Number",
          "Date",
          "DateTime",
          "Boolean"
        ],
        "type": "string"
      },
      "FileIngestStarted": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "nullable": true
          },
          "dataSource": {
            "$ref": "#/components/schemas/DataSourceData"
          }
        },
        "additionalProperties": false
      },
      "FileIngestStartedResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/FileIngestStarted"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FillTimeHierarchyRequest": {
        "required": [
          "levels"
        ],
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/ImportMode"
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeLevelSpec"
            }
          }
        },
        "additionalProperties": false
      },
      "FilterDimensionInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isVariable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FilteredPreviewRequest": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "nullable": true
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          },
          "sourceFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFilterCondition"
            },
            "nullable": true
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "FilteredPreviewResult": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "matchedCount": {
            "type": "integer",
            "format": "int64"
          },
          "scannedCount": {
            "type": "integer",
            "format": "int64"
          },
          "capped": {
            "type": "boolean"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": { }
            },
            "nullable": true
          },
          "filterMode": {
            "$ref": "#/components/schemas/PreviewFilterMode"
          },
          "filterDurationMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FilteredPreviewResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/FilteredPreviewResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ForgotPasswordRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GenericResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GlobalAccountsResult": {
        "type": "object",
        "properties": {
          "paginatedUsers": {
            "$ref": "#/components/schemas/PaginatedResponse_UserData"
          },
          "onlineCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GlobalAccountsResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/GlobalAccountsResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridBodyRow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "string",
            "nullable": true
          },
          "depth": {
            "type": "integer",
            "format": "int32"
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridCell"
            },
            "nullable": true
          },
          "isTotal": {
            "type": "boolean",
            "nullable": true
          },
          "isGrandTotal": {
            "type": "boolean",
            "nullable": true
          },
          "isAggregated": {
            "type": "boolean",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridBodyRow"
            },
            "nullable": true
          },
          "isExpanded": {
            "type": "boolean",
            "nullable": true
          },
          "isExpandable": {
            "type": "boolean",
            "nullable": true
          },
          "tracks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridRowTrack"
            },
            "nullable": true
          },
          "writable": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridCell": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "format": "double"
          },
          "display": {
            "type": "string",
            "nullable": true
          },
          "isEmpty": {
            "type": "boolean",
            "nullable": true
          },
          "isAggregated": {
            "type": "boolean"
          },
          "isGrandTotal": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridColWindow": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "cursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridColumnsRequest": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "viewId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          },
          "page": {
            "$ref": "#/components/schemas/GridColWindow"
          }
        },
        "additionalProperties": false
      },
      "GridColumnsResult": {
        "type": "object",
        "properties": {
          "headerRows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/GridHeaderCell"
              }
            },
            "nullable": true
          },
          "flattenedCols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridFlattenedHeader"
            },
            "nullable": true
          },
          "totalLeafCount": {
            "type": "integer",
            "format": "int32"
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "grandTotalCol": {
            "$ref": "#/components/schemas/GridFlattenedHeader"
          }
        },
        "additionalProperties": false
      },
      "GridColumnsResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/GridColumnsResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridExportLabelColumn": {
        "type": "object",
        "properties": {
          "group": {
            "type": "integer",
            "format": "int32"
          },
          "depth": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GridExportRequest": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "viewId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          },
          "viewName": {
            "type": "string",
            "nullable": true
          },
          "format": {
            "type": "string",
            "nullable": true
          },
          "rowAxisNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "labelColumns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridExportLabelColumn"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridFlattenedHeader": {
        "type": "object",
        "properties": {
          "path": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "isTotal": {
            "type": "boolean",
            "nullable": true
          },
          "isGrandTotal": {
            "type": "boolean",
            "nullable": true
          },
          "writable": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridGrandTotalRequest": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "viewId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          },
          "colWindow": {
            "$ref": "#/components/schemas/GridColWindow"
          }
        },
        "additionalProperties": false
      },
      "GridGrandTotalResult": {
        "type": "object",
        "properties": {
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridCell"
            },
            "nullable": true
          },
          "colOffset": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GridGrandTotalResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/GridGrandTotalResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridHeaderCell": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "level": {
            "type": "string",
            "nullable": true
          },
          "colSpan": {
            "type": "integer",
            "format": "int32"
          },
          "rowSpan": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isTotal": {
            "type": "boolean",
            "nullable": true
          },
          "isExpanded": {
            "type": "boolean",
            "nullable": true
          },
          "isGrandTotal": {
            "type": "boolean",
            "nullable": true
          },
          "isExpandable": {
            "type": "boolean",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "leafStart": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridLayoutConfig": {
        "type": "object",
        "properties": {
          "subtotals": {
            "type": "string",
            "nullable": true
          },
          "grandTotals": {
            "type": "string",
            "nullable": true
          },
          "suppressEmptyRows": {
            "type": "boolean",
            "nullable": true
          },
          "suppressEmptyCols": {
            "type": "boolean",
            "nullable": true
          },
          "repeatRowLabels": {
            "type": "boolean",
            "nullable": true
          },
          "repeatColLabels": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridPreviewRequest": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "nullable": true
          },
          "columnFilters": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "sortColumn": {
            "type": "string",
            "nullable": true
          },
          "sortDescending": {
            "type": "boolean"
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GridPreviewResult": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": { }
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          },
          "columnTypes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridPreviewResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/GridPreviewResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridRowTrack": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "depth": {
            "type": "integer",
            "format": "int32"
          },
          "nodeId": {
            "type": "string",
            "nullable": true
          },
          "isExpandable": {
            "type": "boolean",
            "nullable": true
          },
          "isExpanded": {
            "type": "boolean",
            "nullable": true
          },
          "bandStart": {
            "type": "boolean",
            "nullable": true
          },
          "pathLabels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridRowWindow": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "cursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridRowsRequest": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "viewId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          },
          "rowPath": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "page": {
            "$ref": "#/components/schemas/GridRowWindow"
          },
          "colWindow": {
            "$ref": "#/components/schemas/GridColWindow"
          }
        },
        "additionalProperties": false
      },
      "GridRowsResult": {
        "type": "object",
        "properties": {
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridBodyRow"
            },
            "nullable": true
          },
          "subtotal": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GridCell"
            },
            "nullable": true
          },
          "childCount": {
            "type": "integer",
            "format": "int32"
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "colOffset": {
            "type": "integer",
            "format": "int32"
          },
          "writeScope": {
            "$ref": "#/components/schemas/GridWriteScope"
          }
        },
        "additionalProperties": false
      },
      "GridRowsResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/GridRowsResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GridWriteScope": {
        "type": "object",
        "properties": {
          "writable": {
            "type": "boolean"
          },
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "mixedGrain": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "grainLevelKeys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "filterPins": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HierarchyCreateRequest": {
        "required": [
          "dimensionId",
          "id",
          "isDefault",
          "name",
          "rollups",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/EntityType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dimensionId": {
            "minLength": 1,
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "rollups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRollupRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "HierarchyData": {
        "required": [
          "dimensionId",
          "id",
          "isActive",
          "isDefault",
          "name",
          "rollups",
          "rollupsCount",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "type": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "isSystem": {
            "type": "boolean",
            "default": false
          },
          "isActive": {
            "type": "boolean"
          },
          "dimensionId": {
            "minLength": 1,
            "type": "string"
          },
          "rollupsCount": {
            "type": "integer",
            "format": "int32"
          },
          "rollups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupData"
            }
          }
        },
        "additionalProperties": false
      },
      "HierarchyResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/HierarchyData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HierarchyUpdateRequest": {
        "required": [
          "isDefault",
          "name",
          "rollups",
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/EntityType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "rollups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRollupRequest"
            }
          },
          "mode": {
            "$ref": "#/components/schemas/ImportMode"
          }
        },
        "additionalProperties": false
      },
      "HierarchysResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HierarchyData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportJobStatus": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "nullable": true
          },
          "targetKey": {
            "type": "string",
            "nullable": true
          },
          "startedBy": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "result": {
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportJobStatusResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ImportJobStatus"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportMode": {
        "enum": [
          "Clear",
          "UpdateOnly",
          "Merge",
          "DeleteOnly"
        ],
        "type": "string"
      },
      "Int64Response": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "integer",
            "format": "int64"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalAggregation": {
        "enum": [
          "Sum",
          "Average",
          "Min",
          "Max",
          "First",
          "Last",
          "Count"
        ],
        "type": "string"
      },
      "InternalCopyUnmatched": {
        "type": "object",
        "properties": {
          "sourceDimension": {
            "type": "string",
            "nullable": true
          },
          "targetDimension": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "integer",
            "format": "int64"
          },
          "sampleCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "unmatchedCodes": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "InternalDimensionMap": {
        "type": "object",
        "properties": {
          "targetDimensionId": {
            "type": "string",
            "nullable": true
          },
          "sourceDimensionId": {
            "type": "string",
            "nullable": true
          },
          "sourceLevelId": {
            "type": "string",
            "nullable": true
          },
          "targetLevelId": {
            "type": "string",
            "nullable": true
          },
          "constantCode": {
            "type": "string",
            "nullable": true
          },
          "periodOffset": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InternalFixedShare": {
        "type": "object",
        "properties": {
          "memberCode": {
            "type": "string",
            "nullable": true
          },
          "weight": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "InternalMappingPreviewRequest": {
        "type": "object",
        "properties": {
          "sourceModelId": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "internalMap": {
            "$ref": "#/components/schemas/InternalModelMap"
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InternalMappingPreviewResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "notes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sourceRows": {
            "type": "integer",
            "format": "int64"
          },
          "matchedRows": {
            "type": "integer",
            "format": "int64"
          },
          "producedRows": {
            "type": "integer",
            "format": "int64"
          },
          "outOfScopeRows": {
            "type": "integer",
            "format": "int64"
          },
          "outputRows": {
            "type": "integer",
            "format": "int64"
          },
          "unmatched": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternalCopyUnmatched"
            },
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternalPreviewColumn"
            },
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "InternalMappingPreviewResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/InternalMappingPreviewResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalMissingDriver": {
        "enum": [
          "SpreadEvenly",
          "LeaveUnallocated"
        ],
        "type": "string"
      },
      "InternalModelMap": {
        "type": "object",
        "properties": {
          "dimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternalDimensionMap"
            },
            "nullable": true
          },
          "variables": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternalVariableMap"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalPreviewColumn": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalSourcePreviewRequest": {
        "type": "object",
        "properties": {
          "sourceModelId": {
            "type": "string",
            "nullable": true
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "cursor": {
            "type": "string",
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InternalSourcePreviewResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "dimensionColumnCount": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": { }
            },
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "filtered": {
            "type": "boolean"
          },
          "totalRows": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "matchedRows": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "InternalSourcePreviewResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/InternalSourcePreviewResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalSpread": {
        "enum": [
          "Even",
          "Repeat",
          "Proportional",
          "Rate",
          "Fixed"
        ],
        "type": "string"
      },
      "InternalTimeBehavior": {
        "enum": [
          "Direct",
          "Cumulative",
          "Differenced"
        ],
        "type": "string"
      },
      "InternalUpdate": {
        "enum": [
          "Replace",
          "Augment"
        ],
        "type": "string"
      },
      "InternalVariableMap": {
        "type": "object",
        "properties": {
          "targetVariableId": {
            "type": "string",
            "nullable": true
          },
          "sourceVariableId": {
            "type": "string",
            "nullable": true
          },
          "factor": {
            "type": "number",
            "format": "double"
          },
          "addend": {
            "type": "number",
            "format": "double"
          },
          "timeBehavior": {
            "$ref": "#/components/schemas/InternalTimeBehavior"
          },
          "update": {
            "$ref": "#/components/schemas/InternalUpdate"
          },
          "aggregation": {
            "$ref": "#/components/schemas/InternalAggregation"
          },
          "spread": {
            "$ref": "#/components/schemas/InternalSpread"
          },
          "spreadBasisVariableId": {
            "type": "string",
            "nullable": true
          },
          "missingDriver": {
            "$ref": "#/components/schemas/InternalMissingDriver"
          },
          "fixedShares": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternalFixedShare"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvitationDirectoryResult": {
        "type": "object",
        "properties": {
          "paginatedInvitations": {
            "$ref": "#/components/schemas/PaginatedResponse_UserData"
          },
          "stats": {
            "$ref": "#/components/schemas/InvitationStats"
          }
        },
        "additionalProperties": false
      },
      "InvitationDirectoryResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/InvitationDirectoryResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvitationStats": {
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "pending": {
            "type": "integer",
            "format": "int32"
          },
          "expired": {
            "type": "integer",
            "format": "int32"
          },
          "revoked": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InvitationStatus": {
        "enum": [
          "Pending",
          "Accepted",
          "Rejected",
          "Expired",
          "Revoked"
        ],
        "type": "string"
      },
      "InvitePreviewData": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "hasExistingAccount": {
            "type": "boolean"
          },
          "isActivatedAccount": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InvitePreviewResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/InvitePreviewData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordCreateRequest": {
        "required": [
          "externalId",
          "name",
          "value"
        ],
        "type": "object",
        "properties": {
          "externalId": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
            "type": "string"
          },
          "value": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "nullable": true
          },
          "boundModule": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "assignedToUserId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordPreviewRequest": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "KeywordPreviewResponse": {
        "type": "object",
        "properties": {
          "resolved": {
            "type": "string",
            "nullable": true
          },
          "unknownTokens": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordPreviewResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/KeywordPreviewResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "valueType": {
            "type": "string",
            "nullable": true
          },
          "isSystem": {
            "type": "boolean"
          },
          "kind": {
            "type": "string",
            "nullable": true
          },
          "boundModule": {
            "type": "string",
            "nullable": true
          },
          "assignedToUserId": {
            "type": "string",
            "nullable": true
          },
          "assignedToUserName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/KeywordResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordResponsesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KeywordResponse"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "KeywordUpdateRequest": {
        "required": [
          "name",
          "value"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
            "type": "string"
          },
          "value": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "nullable": true
          },
          "boundModule": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "assignedToUserId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelBulkUpdateError": {
        "type": "object",
        "properties": {
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "memberCode": {
            "type": "string",
            "nullable": true
          },
          "memberName": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelBulkUpdateItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/LevelUpdateRequest"
          }
        },
        "additionalProperties": false
      },
      "LevelBulkUpdateRequest": {
        "type": "object",
        "properties": {
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelBulkUpdateItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelBulkUpdateResult": {
        "type": "object",
        "properties": {
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelBulkUpdateError"
            },
            "nullable": true
          },
          "statsByLevel": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/MemberSyncStats"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelBulkUpdateResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/LevelBulkUpdateResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/EntityType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isCurrencyBased": {
            "type": "boolean"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttributeCreateRequest"
            },
            "nullable": true
          },
          "members": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": { }
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "default": false
          },
          "isCurrencyBased": {
            "type": "boolean",
            "default": false
          },
          "isSystem": {
            "type": "boolean",
            "default": false
          },
          "membersCount": {
            "type": "integer",
            "format": "int32"
          },
          "attributesCount": {
            "type": "integer",
            "format": "int32"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttributeData"
            },
            "nullable": true
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberData"
            },
            "nullable": true
          },
          "memberStats": {
            "$ref": "#/components/schemas/MemberSyncStats"
          },
          "attributeStats": {
            "$ref": "#/components/schemas/AttributeSyncStats"
          }
        },
        "additionalProperties": false
      },
      "LevelMappingConfig": {
        "type": "object",
        "properties": {
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "levelOrder": {
            "type": "integer",
            "format": "int32"
          },
          "nameColumn": {
            "type": "string",
            "nullable": true
          },
          "codeColumn": {
            "type": "string",
            "nullable": true
          },
          "constantCode": {
            "type": "string",
            "nullable": true
          },
          "constantName": {
            "type": "string",
            "nullable": true
          },
          "attributeColumns": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "constantAttributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "nameTransform": {
            "$ref": "#/components/schemas/FieldTransform"
          },
          "codeTransform": {
            "$ref": "#/components/schemas/FieldTransform"
          },
          "attributeTransforms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldTransform"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/LevelData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelSortConfig": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "method": {
            "type": "string",
            "nullable": true
          },
          "direction": {
            "type": "string",
            "nullable": true
          },
          "customOrder": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "enabled": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LevelUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/EntityType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isCurrencyBased": {
            "type": "boolean",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttributeCreateRequest"
            },
            "nullable": true
          },
          "members": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": { }
            },
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/ImportMode"
          }
        },
        "additionalProperties": false
      },
      "LevelsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoginIdentityResponse": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "isSuperAdmin": {
            "type": "boolean"
          },
          "tenants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthTenantInfo"
            },
            "nullable": true
          },
          "sessionEstablishmentToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoginIdentityResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/LoginIdentityResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoginRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingConfig": {
        "type": "object",
        "properties": {
          "sourceQuery": {
            "type": "string",
            "nullable": true
          },
          "sourceMode": {
            "$ref": "#/components/schemas/MappingSourceMode"
          },
          "knownHeaders": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastKnownSheets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "levelMappingConfigs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelMappingConfig"
            },
            "nullable": true
          },
          "modelColumnMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelConstantMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelColumnTransforms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldTransform"
            },
            "nullable": true
          },
          "modelAllocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelAllocation"
            },
            "nullable": true
          },
          "duplicateHandling": {
            "$ref": "#/components/schemas/DuplicateHandling"
          },
          "modelVariableMath": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/VariableMath"
            },
            "nullable": true
          },
          "internalMap": {
            "$ref": "#/components/schemas/InternalModelMap"
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          },
          "sourceFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFilterCondition"
            },
            "nullable": true
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "sourceEngine": {
            "type": "string",
            "nullable": true
          },
          "targetName": {
            "type": "string",
            "nullable": true
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingCreateRequest": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/MappingType"
          },
          "kind": {
            "$ref": "#/components/schemas/MappingKind"
          },
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "sourceModelId": {
            "type": "string",
            "nullable": true
          },
          "internalMap": {
            "$ref": "#/components/schemas/InternalModelMap"
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "sourceQuery": {
            "type": "string",
            "nullable": true
          },
          "sourceMode": {
            "$ref": "#/components/schemas/MappingSourceMode"
          },
          "hierarchyId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "levelMappingConfigs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelMappingConfig"
            },
            "nullable": true
          },
          "modelColumnMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelConstantMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelColumnTransforms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldTransform"
            },
            "nullable": true
          },
          "modelAllocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelAllocation"
            },
            "nullable": true
          },
          "duplicateHandling": {
            "$ref": "#/components/schemas/DuplicateHandling"
          },
          "modelVariableMath": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/VariableMath"
            },
            "nullable": true
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "knownHeaders": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastKnownSheets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sourceFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFilterCondition"
            },
            "nullable": true
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          }
        },
        "additionalProperties": false
      },
      "MappingData": {
        "required": [
          "createdAt",
          "id",
          "knownHeaders",
          "levelMappingConfigs",
          "modelColumnMappings",
          "modelColumnTransforms",
          "modelConstantMappings",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/MappingKind"
          },
          "sourceModelId": {
            "type": "string",
            "nullable": true
          },
          "sourceModelName": {
            "type": "string",
            "nullable": true
          },
          "internalMap": {
            "$ref": "#/components/schemas/InternalModelMap"
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "dataSourceName": {
            "type": "string",
            "nullable": true
          },
          "dataSourceType": {
            "type": "string",
            "nullable": true
          },
          "sourceQuery": {
            "type": "string",
            "nullable": true
          },
          "sourceMode": {
            "$ref": "#/components/schemas/MappingSourceMode"
          },
          "hierarchyId": {
            "type": "string",
            "nullable": true
          },
          "hierarchyName": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "levelName": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "modelName": {
            "type": "string",
            "nullable": true
          },
          "levelMappingConfigs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelMappingConfig"
            }
          },
          "modelColumnMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "modelConstantMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "modelColumnTransforms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldTransform"
            }
          },
          "modelAllocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelAllocation"
            },
            "nullable": true
          },
          "duplicateHandling": {
            "$ref": "#/components/schemas/DuplicateHandling"
          },
          "modelVariableMath": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/VariableMath"
            },
            "nullable": true
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "knownHeaders": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "lastKnownSheets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sourceFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFilterCondition"
            },
            "nullable": true
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          },
          "configDrift": {
            "$ref": "#/components/schemas/ConfigDriftReport"
          },
          "isOwnedByScript": {
            "type": "boolean"
          },
          "config": {
            "$ref": "#/components/schemas/MappingConfig"
          },
          "debugSourceSql": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "lastRun": {
            "$ref": "#/components/schemas/MappingRunData"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingIssue": {
        "type": "object",
        "properties": {
          "tab": {
            "$ref": "#/components/schemas/MappingIssueTab"
          },
          "kind": {
            "$ref": "#/components/schemas/MappingIssueKind"
          },
          "ref": {
            "type": "string",
            "nullable": true
          },
          "feeds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "blocking": {
            "type": "boolean"
          },
          "field": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingIssueKind": {
        "enum": [
          "Slice",
          "Source",
          "SourceColumn",
          "Destination",
          "Level",
          "Attribute",
          "Dimension",
          "VariableMember",
          "Keyword",
          "TargetDimension",
          "TargetLevel",
          "TargetMember"
        ],
        "type": "string"
      },
      "MappingIssueTab": {
        "enum": [
          "Mapping",
          "Filters",
          "Allocations"
        ],
        "type": "string"
      },
      "MappingKeywordRef": {
        "required": [
          "kind",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "side": {
            "type": "string",
            "nullable": true
          },
          "defaultValue": {
            "type": "string",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "nullable": true
          },
          "isOverrideTarget": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MappingKeywordRefsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingKeywordRef"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingKind": {
        "enum": [
          "External",
          "Internal"
        ],
        "type": "string"
      },
      "MappingResolveConfig": {
        "type": "object",
        "properties": {
          "levelMappingConfigs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelMappingConfig"
            },
            "nullable": true
          },
          "modelColumnMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelConstantMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelColumnTransforms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldTransform"
            },
            "nullable": true
          },
          "modelAllocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelAllocation"
            },
            "nullable": true
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          }
        },
        "additionalProperties": false
      },
      "MappingResolveRequest": {
        "type": "object",
        "properties": {
          "mappingId": {
            "type": "string",
            "nullable": true
          },
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "sourceQuery": {
            "type": "string",
            "nullable": true
          },
          "sourceMode": {
            "$ref": "#/components/schemas/MappingSourceMode"
          },
          "type": {
            "$ref": "#/components/schemas/MappingType"
          },
          "hierarchyId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/MappingResolveConfig"
          },
          "strictSlice": {
            "type": "boolean"
          },
          "skipSource": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MappingResolveResult": {
        "type": "object",
        "properties": {
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "sourceQuery": {
            "type": "string",
            "nullable": true
          },
          "sourceMode": {
            "$ref": "#/components/schemas/MappingSourceMode"
          },
          "sliceChanged": {
            "type": "boolean"
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/MappingResolveConfig"
          },
          "unmatched": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingIssue"
            },
            "nullable": true
          },
          "hasBlockingIssues": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MappingResolveResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MappingResolveResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MappingData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingRunData": {
        "required": [
          "id",
          "mappingId",
          "mode",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "mappingId": {
            "minLength": 1,
            "type": "string"
          },
          "status": {
            "minLength": 1,
            "type": "string"
          },
          "mode": {
            "minLength": 1,
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "totalMembers": {
            "type": "integer",
            "format": "int32"
          },
          "createdMembers": {
            "type": "integer",
            "format": "int32"
          },
          "updatedMembers": {
            "type": "integer",
            "format": "int32"
          },
          "deletedMembers": {
            "type": "integer",
            "format": "int32"
          },
          "errorCount": {
            "type": "integer",
            "format": "int32"
          },
          "warningCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalLogCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "subTreeStats": {
            "$ref": "#/components/schemas/SubTreeStatsData"
          },
          "filterSnapshot": {
            "$ref": "#/components/schemas/RunFilterSnapshot"
          },
          "logs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingRunLogData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingRunLogData": {
        "required": [
          "createdAt",
          "message",
          "phase",
          "scope",
          "severity"
        ],
        "type": "object",
        "properties": {
          "severity": {
            "minLength": 1,
            "type": "string"
          },
          "scope": {
            "minLength": 1,
            "type": "string"
          },
          "phase": {
            "minLength": 1,
            "type": "string"
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "minLength": 1,
            "type": "string"
          },
          "durationMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "columnName": {
            "type": "string",
            "nullable": true
          },
          "levelName": {
            "type": "string",
            "nullable": true
          },
          "sequence": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "MappingRunLogGroupData": {
        "required": [
          "message",
          "phase",
          "severity"
        ],
        "type": "object",
        "properties": {
          "severity": {
            "minLength": 1,
            "type": "string"
          },
          "phase": {
            "minLength": 1,
            "type": "string"
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "levelName": {
            "type": "string",
            "nullable": true
          },
          "columnName": {
            "type": "string",
            "nullable": true
          },
          "target": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "minLength": 1,
            "type": "string"
          },
          "rows": {
            "type": "integer",
            "format": "int32"
          },
          "firstRow": {
            "type": "integer",
            "format": "int32"
          },
          "lastRow": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MappingRunLogGroupPage": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingRunLogGroupData"
            },
            "nullable": true
          },
          "totalGroups": {
            "type": "integer",
            "format": "int32"
          },
          "totalRows": {
            "type": "integer",
            "format": "int32"
          },
          "offset": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "hasMore": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MappingRunLogGroupPageResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MappingRunLogGroupPage"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingRunResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MappingRunData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingRunSummaryData": {
        "required": [
          "run"
        ],
        "type": "object",
        "properties": {
          "run": {
            "$ref": "#/components/schemas/MappingRunData"
          },
          "logs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingRunLogData"
            },
            "nullable": true
          },
          "totalErrors": {
            "type": "integer",
            "format": "int32"
          },
          "totalWarnings": {
            "type": "integer",
            "format": "int32"
          },
          "errorsTruncated": {
            "type": "integer",
            "format": "int32"
          },
          "warningsTruncated": {
            "type": "integer",
            "format": "int32"
          },
          "errorLimit": {
            "type": "integer",
            "format": "int32"
          },
          "warningLimit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MappingRunSummaryResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MappingRunSummaryData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingRunSummarysResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingRunSummaryData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MappingSourceMode": {
        "enum": [
          "TableList",
          "CustomQuery"
        ],
        "type": "string"
      },
      "MappingType": {
        "enum": [
          "Hierarchy",
          "Level",
          "Model"
        ],
        "type": "string"
      },
      "MappingUpdateRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/MappingType"
          },
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "sourceModelId": {
            "type": "string",
            "nullable": true
          },
          "internalMap": {
            "$ref": "#/components/schemas/InternalModelMap"
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "hierarchyId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "sourceQuery": {
            "type": "string",
            "nullable": true
          },
          "sourceMode": {
            "$ref": "#/components/schemas/MappingSourceMode"
          },
          "levelMappingConfigs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelMappingConfig"
            },
            "nullable": true
          },
          "modelColumnMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelConstantMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "modelColumnTransforms": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldTransform"
            },
            "nullable": true
          },
          "modelAllocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelAllocation"
            },
            "nullable": true
          },
          "duplicateHandling": {
            "$ref": "#/components/schemas/DuplicateHandling"
          },
          "modelVariableMath": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/VariableMath"
            },
            "nullable": true
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "knownHeaders": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastKnownSheets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "sourceFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFilterCondition"
            },
            "nullable": true
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          }
        },
        "additionalProperties": false
      },
      "MappingsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MappingData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MemberCodeExistRequest": {
        "type": "object",
        "properties": {
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "codes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MemberCodeExistResult": {
        "type": "object",
        "properties": {
          "existingCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MemberCodeExistResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MemberCodeExistResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MemberCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "MemberData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isCurrency": {
            "type": "boolean",
            "default": false
          },
          "isSystem": {
            "type": "boolean",
            "default": false
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "currencyId": {
            "type": "string",
            "nullable": true
          },
          "attributes": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MemberDirectoryResult": {
        "type": "object",
        "properties": {
          "paginatedUsers": {
            "$ref": "#/components/schemas/PaginatedResponse_UserData"
          },
          "stats": {
            "$ref": "#/components/schemas/MemberStats"
          }
        },
        "additionalProperties": false
      },
      "MemberDirectoryResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MemberDirectoryResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MemberStats": {
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "online": {
            "type": "integer",
            "format": "int32"
          },
          "offline": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MemberSyncStats": {
        "type": "object",
        "properties": {
          "created": {
            "type": "integer",
            "format": "int32"
          },
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "deleted": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MemberUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "MembersResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": { }
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MigrationItemData": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MigrationProgressData": {
        "type": "object",
        "properties": {
          "isRunning": {
            "type": "boolean"
          },
          "totalMigrations": {
            "type": "integer",
            "format": "int32"
          },
          "appliedMigrations": {
            "type": "integer",
            "format": "int32"
          },
          "currentMigration": {
            "type": "string",
            "nullable": true
          },
          "migrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MigrationItemData"
            },
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MigrationProgressResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/MigrationProgressData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MigrationStatusData": {
        "type": "object",
        "properties": {
          "totalMigrations": {
            "type": "integer",
            "format": "int32"
          },
          "appliedMigrations": {
            "type": "integer",
            "format": "int32"
          },
          "pendingMigrations": {
            "type": "integer",
            "format": "int32"
          },
          "isUpToDate": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ModelAllocation": {
        "type": "object",
        "properties": {
          "targetColumnId": {
            "type": "string",
            "nullable": true
          },
          "driverColumn": {
            "type": "string",
            "nullable": true
          },
          "groupByColumnIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "roundingScale": {
            "type": "integer",
            "format": "int32"
          },
          "missingDrivers": {
            "$ref": "#/components/schemas/AllocationMissingDriverPolicy"
          },
          "disabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ModelCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelDimensionRequest"
            },
            "nullable": true
          },
          "currencyMode": {
            "$ref": "#/components/schemas/CurrencyMode"
          },
          "currencyIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "dimensionsCount": {
            "type": "integer",
            "format": "int32"
          },
          "dimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelDimensionData"
            },
            "nullable": true
          },
          "currencyMode": {
            "type": "string",
            "nullable": true
          },
          "activeCurrencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelDimensionData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "branchesCount": {
            "type": "integer",
            "format": "int32"
          },
          "hierarchiesCount": {
            "type": "integer",
            "format": "int32"
          },
          "selectedHierarchy": {
            "$ref": "#/components/schemas/HierarchyData"
          },
          "rootBranch": {
            "$ref": "#/components/schemas/BranchData"
          }
        },
        "additionalProperties": false
      },
      "ModelDimensionRequest": {
        "type": "object",
        "properties": {
          "dimensionId": {
            "type": "string",
            "nullable": true
          },
          "hierarchyId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelFactGridResult": {
        "type": "object",
        "properties": {
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": { }
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ModelFactGridResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ModelFactGridResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelFactImportMode": {
        "enum": [
          "Clear",
          "Update",
          "Merge"
        ],
        "type": "string"
      },
      "ModelRawFactsPage": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "dimensionColumnCount": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": { }
            },
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ModelRawFactsPageResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ModelRawFactsPage"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ModelData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelSchemaResult": {
        "type": "object",
        "properties": {
          "headers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "headerIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "headerKinds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "dimensionHeaderCount": {
            "type": "integer",
            "format": "int32"
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaColumn"
            },
            "nullable": true
          },
          "filterDimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FilterDimensionInfo"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelSchemaResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ModelSchemaResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelSummaryData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "dimensionsCount": {
            "type": "integer",
            "format": "int32"
          },
          "currencyMode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelSummarysResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelSummaryData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ModelUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dimensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelDimensionRequest"
            },
            "nullable": true
          },
          "currencyMode": {
            "$ref": "#/components/schemas/CurrencyMode"
          },
          "currencyIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MoveRollupNodeRequest": {
        "type": "object",
        "properties": {
          "newParentId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaConversationData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "contextViewId": {
            "type": "string",
            "nullable": true
          },
          "contextModelId": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastMessageAt": {
            "type": "string",
            "format": "date-time"
          },
          "messageCount": {
            "type": "integer",
            "format": "int32"
          },
          "promptTokens": {
            "type": "integer",
            "format": "int32"
          },
          "completionTokens": {
            "type": "integer",
            "format": "int32"
          },
          "costUsd": {
            "type": "number",
            "format": "double"
          },
          "messages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NiaMessageData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaConversationResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaConversationData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaConversationsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NiaConversationData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaCreateConversationRequest": {
        "type": "object",
        "properties": {
          "contextViewId": {
            "type": "string",
            "nullable": true
          },
          "contextModelId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaCredits": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "used_this_month": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "billing_exempt": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaCreditsSummaryData": {
        "type": "object",
        "properties": {
          "remainingUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "consumedThisMonthUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "consumedAllTimeUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "budgetUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "gatewayUsedThisMonthUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "billingExempt": {
            "type": "boolean"
          },
          "planometryMeteredThisMonthUsd": {
            "type": "number",
            "format": "double"
          },
          "reportError": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaDiagnosticStep": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "passed": {
            "type": "boolean"
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "usage": {
            "$ref": "#/components/schemas/NiaUsage"
          }
        },
        "additionalProperties": false
      },
      "NiaDiagnosticsResult": {
        "type": "object",
        "properties": {
          "configured": {
            "type": "boolean"
          },
          "baseUrl": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NiaDiagnosticStep"
            },
            "nullable": true
          },
          "allPassed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "NiaDiagnosticsResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaDiagnosticsResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaLimitsData": {
        "type": "object",
        "properties": {
          "maxToolRounds": {
            "type": "integer",
            "format": "int32"
          },
          "maxOutputTokens": {
            "type": "integer",
            "format": "int32"
          },
          "maxToolResultBytes": {
            "type": "integer",
            "format": "int32"
          },
          "maxCells": {
            "type": "integer",
            "format": "int32"
          },
          "historyTurns": {
            "type": "integer",
            "format": "int32"
          },
          "maxConcurrentPerTenant": {
            "type": "integer",
            "format": "int32"
          },
          "monthlyCostCapUsd": {
            "type": "number",
            "format": "double"
          },
          "retentionDays": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NiaMessageData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "seq": {
            "type": "integer",
            "format": "int32"
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "toolCalls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NiaToolStepData"
            },
            "nullable": true
          },
          "toolName": {
            "type": "string",
            "nullable": true
          },
          "promptTokens": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "completionTokens": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "costUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "latencyMs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NiaModelInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "nia_input_price_per_1m": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "nia_output_price_per_1m": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaPlatformOverviewData": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/NiaStatusData"
          },
          "credits": {
            "$ref": "#/components/schemas/NiaCredits"
          },
          "modelPricing": {
            "$ref": "#/components/schemas/NiaModelInfo"
          },
          "gatewayError": {
            "type": "string",
            "nullable": true
          },
          "creditsSummary": {
            "$ref": "#/components/schemas/NiaCreditsSummaryData"
          },
          "usage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NiaTenantUsageData"
            },
            "nullable": true
          },
          "limits": {
            "$ref": "#/components/schemas/NiaLimitsData"
          }
        },
        "additionalProperties": false
      },
      "NiaPlatformOverviewResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaPlatformOverviewData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaRenameConversationRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSendMessageRequest": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "nullable": true
          },
          "contextViewId": {
            "type": "string",
            "nullable": true
          },
          "contextModelId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsAuthorizeData": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsAuthorizeResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaSheetsAuthorizeData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsCallbackRequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsConnectionData": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          },
          "guide": {
            "$ref": "#/components/schemas/NiaSheetsRegistrationGuide"
          },
          "hasCredentials": {
            "type": "boolean"
          },
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "clientSecretHint": {
            "type": "string",
            "nullable": true
          },
          "connected": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "niaEmail": {
            "type": "string",
            "nullable": true
          },
          "niaName": {
            "type": "string",
            "nullable": true
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "connectedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastUsedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "destination": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsConnectionResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaSheetsConnectionData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsCredentialsRequest": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsPublishResult": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "handoffId": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "openUrl": {
            "type": "string",
            "nullable": true
          },
          "webUrl": {
            "type": "string",
            "nullable": true
          },
          "provider": {
            "type": "string",
            "nullable": true
          },
          "folderName": {
            "type": "string",
            "nullable": true
          },
          "connectUrl": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsPublishResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaSheetsPublishResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaSheetsRegistrationGuide": {
        "type": "object",
        "properties": {
          "niaDeveloperUrl": {
            "type": "string",
            "nullable": true
          },
          "applicationName": {
            "type": "string",
            "nullable": true
          },
          "clientType": {
            "type": "string",
            "nullable": true
          },
          "redirectUri": {
            "type": "string",
            "nullable": true
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaStatusData": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "configured": {
            "type": "boolean"
          },
          "baseUrl": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaStatusResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/NiaStatusData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaTenantUsageData": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "nullable": true
          },
          "tenantName": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "type": "integer",
            "format": "int32"
          },
          "month": {
            "type": "integer",
            "format": "int32"
          },
          "conversations": {
            "type": "integer",
            "format": "int32"
          },
          "users": {
            "type": "integer",
            "format": "int32"
          },
          "turns": {
            "type": "integer",
            "format": "int32"
          },
          "toolCalls": {
            "type": "integer",
            "format": "int32"
          },
          "promptTokens": {
            "type": "integer",
            "format": "int64"
          },
          "completionTokens": {
            "type": "integer",
            "format": "int64"
          },
          "costUsd": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "NiaToolStepData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "argumentsJson": {
            "type": "string",
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "resultBytes": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "failed": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NiaUsage": {
        "type": "object",
        "properties": {
          "prompt_tokens": {
            "type": "integer",
            "format": "int32"
          },
          "completion_tokens": {
            "type": "integer",
            "format": "int32"
          },
          "total_tokens": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NiaUsageSummaryData": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "format": "int32"
          },
          "month": {
            "type": "integer",
            "format": "int32"
          },
          "conversations": {
            "type": "integer",
            "format": "int32"
          },
          "turns": {
            "type": "integer",
            "format": "int32"
          },
          "toolCalls": {
            "type": "integer",
            "format": "int32"
          },
          "promptTokens": {
            "type": "integer",
            "format": "int64"
          },
          "completionTokens": {
            "type": "integer",
            "format": "int64"
          },
          "costUsd": {
            "type": "number",
            "format": "double"
          },
          "monthlyCapUsd": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NiaUsageSummarysResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NiaUsageSummaryData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrganisationStats": {
        "type": "object",
        "properties": {
          "totalUsers": {
            "type": "integer",
            "format": "int32"
          },
          "onlineUsers": {
            "type": "integer",
            "format": "int32"
          },
          "totalModels": {
            "type": "integer",
            "format": "int32"
          },
          "totalDimensions": {
            "type": "integer",
            "format": "int32"
          },
          "totalDataSources": {
            "type": "integer",
            "format": "int32"
          },
          "totalViews": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "OrganisationStatsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/OrganisationStats"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedResponse_UserData": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserData"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "readOnly": true
          },
          "hasNextPage": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PasswordChangeRequest": {
        "type": "object",
        "properties": {
          "currentPassword": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          },
          "confirmPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PasswordChangeResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PasswordChangeResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/PasswordChangeResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermissionGroup": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "nullable": true
          },
          "actions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermissionGroupsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroup"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviewFilterMode": {
        "enum": [
          "None",
          "Pushdown",
          "InMemory"
        ],
        "type": "string"
      },
      "ProfileData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "tenantPlan": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ProfileImageResponse": {
        "type": "object",
        "properties": {
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProfileImageResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ProfileImageResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProfileResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ProfileData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProfileUpdateRequest": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PushColumnDefinition": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/FileColumnType"
          },
          "isKey": {
            "type": "boolean"
          },
          "renamedFrom": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PushConnectionResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "dataSourceName": {
            "type": "string",
            "nullable": true
          },
          "serverTime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "PushConnectionResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/PushConnectionResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PushMode": {
        "enum": [
          "Replace",
          "Upsert",
          "Delete",
          "Realtime"
        ],
        "type": "string"
      },
      "PushResult": {
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/PushMode"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "loadId": {
            "type": "string",
            "nullable": true
          },
          "loadRowsReceived": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "rowCount": {
            "type": "integer",
            "format": "int64"
          },
          "rowsAffected": {
            "type": "integer",
            "format": "int64"
          },
          "rowsDeleted": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "runs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushTriggeredRun"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PushResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/PushResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PushRowsRequest": {
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/PushMode"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": { }
            },
            "nullable": true
          },
          "deleted": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": { }
            },
            "nullable": true
          },
          "loadId": {
            "type": "string",
            "nullable": true
          },
          "last": {
            "type": "boolean"
          },
          "totalRows": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "runMappings": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PushRunWindow": {
        "type": "object",
        "properties": {
          "mappingExternalId": {
            "type": "string",
            "nullable": true
          },
          "sinceVersion": {
            "type": "integer",
            "format": "int64"
          },
          "untilVersion": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PushSchemaResponse": {
        "type": "object",
        "properties": {
          "dataSourceId": {
            "type": "string",
            "nullable": true
          },
          "dataSourceName": {
            "type": "string",
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushColumnDefinition"
            },
            "nullable": true
          },
          "keyColumns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "supportedModes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "maxRowsPerRequest": {
            "type": "integer",
            "format": "int32"
          },
          "rowCount": {
            "type": "integer",
            "format": "int64"
          },
          "rowsUpdatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PushSchemaResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/PushSchemaResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PushTriggeredRun": {
        "type": "object",
        "properties": {
          "mappingId": {
            "type": "string",
            "nullable": true
          },
          "mappingName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "runId": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "sinceVersion": {
            "type": "integer",
            "format": "int64"
          },
          "untilVersion": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          },
          "confirmPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponseSourcePreviewResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DataSourcePreviewResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponseSourceResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DataSourceData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponseSourceSheetsResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DataSourceSheetsResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponseSourceTablesResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DataSourceTablesResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponseSourceTestResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/DataSourceTestResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleCreateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "isSystem": {
            "type": "boolean"
          },
          "hierarchyLevel": {
            "type": "integer",
            "format": "int32"
          },
          "assignedUserCount": {
            "type": "integer",
            "format": "int32"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/RoleData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RoleUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RolesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RollupData": {
        "required": [
          "branchId",
          "hierarchyId",
          "id",
          "name",
          "nodes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "hierarchyId": {
            "minLength": 1,
            "type": "string"
          },
          "branchId": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "levels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupLevelData"
            },
            "nullable": true
          },
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupNodeData"
            }
          }
        },
        "additionalProperties": false
      },
      "RollupLevelCountData": {
        "required": [
          "levelId",
          "levelName"
        ],
        "type": "object",
        "properties": {
          "levelId": {
            "minLength": 1,
            "type": "string"
          },
          "levelName": {
            "minLength": 1,
            "type": "string"
          },
          "memberCount": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "RollupLevelCountsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupLevelCountData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RollupLevelData": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RollupNodeData": {
        "required": [
          "children",
          "id",
          "levelId",
          "memberCode",
          "memberId",
          "memberName",
          "rollupId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "rollupId": {
            "minLength": 1,
            "type": "string"
          },
          "levelId": {
            "minLength": 1,
            "type": "string"
          },
          "memberId": {
            "minLength": 1,
            "type": "string"
          },
          "memberName": {
            "minLength": 1,
            "type": "string"
          },
          "memberCode": {
            "type": "string",
            "nullable": true
          },
          "memberIsActive": {
            "type": "boolean"
          },
          "memberIsCurrency": {
            "type": "boolean"
          },
          "hasData": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "member": {
            "$ref": "#/components/schemas/MemberData"
          },
          "formula": {
            "type": "string",
            "nullable": true
          },
          "hasChildren": {
            "type": "boolean"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupNodeData"
            }
          }
        },
        "additionalProperties": false
      },
      "RollupNodeResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/RollupNodeData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RollupNodesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupNodeData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RollupsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RollupData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RowValueSortConfig": {
        "type": "object",
        "properties": {
          "rowId": {
            "type": "string",
            "nullable": true
          },
          "direction": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RunFilterSnapshot": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "nullable": true
          },
          "sourceFilter": {
            "$ref": "#/components/schemas/SourceFilter"
          },
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "sourceModelFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "constantKeywords": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "sourceFilterPushedDown": {
            "type": "boolean"
          },
          "config": {
            "$ref": "#/components/schemas/MappingConfig"
          },
          "sourceSql": {
            "type": "string",
            "nullable": true
          },
          "sourceDistinctProjection": {
            "type": "boolean"
          },
          "dataSourceName": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "sourceObject": {
            "type": "string",
            "nullable": true
          },
          "targetName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScheduleData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "targetType": {
            "type": "string",
            "nullable": true
          },
          "targetExternalId": {
            "type": "string",
            "nullable": true
          },
          "cronExpression": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          },
          "lastRunAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nextRunAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ScheduleResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ScheduleData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchemaColumn": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "kind": {
            "type": "string",
            "nullable": true
          },
          "required": {
            "type": "boolean"
          },
          "group": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "calculated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScriptActionType": {
        "enum": [
          "RunMapping",
          "RunScript"
        ],
        "type": "string"
      },
      "ScriptCreateRequest": {
        "required": [
          "name",
          "steps"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptStepRequest"
            }
          },
          "stopOnFailure": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScriptData": {
        "required": [
          "createdAt",
          "id",
          "name",
          "steps"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptStepData"
            }
          },
          "isOwnedByScript": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "stopOnFailure": {
            "type": "boolean"
          },
          "lastRun": {
            "$ref": "#/components/schemas/ScriptRunData"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ScriptData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptRunData": {
        "required": [
          "id",
          "scriptId",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "scriptId": {
            "minLength": 1,
            "type": "string"
          },
          "status": {
            "minLength": 1,
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          },
          "errorCount": {
            "type": "integer",
            "format": "int32"
          },
          "warningCount": {
            "type": "integer",
            "format": "int32"
          },
          "stepLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptStepLogData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptRunResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ScriptRunData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptRunsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptRunData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptStepData": {
        "required": [
          "actionType",
          "id",
          "keywordOverrides",
          "parameters",
          "targetExternalId",
          "targetName"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "actionType": {
            "minLength": 1,
            "type": "string"
          },
          "targetExternalId": {
            "minLength": 1,
            "type": "string"
          },
          "targetName": {
            "minLength": 1,
            "type": "string"
          },
          "parameters": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ScriptStepLogData": {
        "required": [
          "actionType",
          "createdAt",
          "id",
          "message",
          "severity",
          "targetName"
        ],
        "type": "object",
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "stepOrder": {
            "type": "integer",
            "format": "int32"
          },
          "actionType": {
            "minLength": 1,
            "type": "string"
          },
          "targetName": {
            "minLength": 1,
            "type": "string"
          },
          "severity": {
            "minLength": 1,
            "type": "string"
          },
          "message": {
            "minLength": 1,
            "type": "string"
          },
          "childRunExternalId": {
            "type": "string",
            "nullable": true
          },
          "sequence": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ScriptStepRequest": {
        "required": [
          "actionType",
          "targetExternalId"
        ],
        "type": "object",
        "properties": {
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "actionType": {
            "$ref": "#/components/schemas/ScriptActionType"
          },
          "targetExternalId": {
            "minLength": 1,
            "type": "string"
          },
          "mode": {
            "type": "string",
            "nullable": true
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScriptUpdateRequest": {
        "required": [
          "name",
          "steps"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptStepRequest"
            }
          },
          "stopOnFailure": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScriptsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScriptData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SelectionMarkRequest": {
        "type": "object",
        "properties": {
          "path": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "selected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SessionDataResponse": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "hierarchyLevel": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "organizationPlan": {
            "type": "string",
            "nullable": true
          },
          "organizationStatus": {
            "type": "string",
            "nullable": true
          },
          "isSuperAdmin": {
            "type": "boolean"
          },
          "isImpersonating": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SessionResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/SessionDataResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPasswordRequest": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetRollupNodeFormulaRequest": {
        "type": "object",
        "properties": {
          "formula": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceFilter": {
        "type": "object",
        "properties": {
          "root": {
            "$ref": "#/components/schemas/SourceFilterGroup"
          }
        },
        "additionalProperties": false
      },
      "SourceFilterCondition": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "$ref": "#/components/schemas/SourceFilterOperator"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "valueTo": {
            "type": "string",
            "nullable": true
          },
          "valueType": {
            "$ref": "#/components/schemas/SourceFilterValueType"
          },
          "granularity": {
            "$ref": "#/components/schemas/DateGranularity"
          },
          "disabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SourceFilterConnector": {
        "enum": [
          "And",
          "Or"
        ],
        "type": "string"
      },
      "SourceFilterGroup": {
        "type": "object",
        "properties": {
          "connector": {
            "$ref": "#/components/schemas/SourceFilterConnector"
          },
          "negate": {
            "type": "boolean"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SourceFilterNode"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceFilterNode": {
        "type": "object",
        "properties": {
          "group": {
            "$ref": "#/components/schemas/SourceFilterGroup"
          },
          "condition": {
            "$ref": "#/components/schemas/SourceFilterCondition"
          }
        },
        "additionalProperties": false
      },
      "SourceFilterOperator": {
        "enum": [
          "Equals",
          "NotEquals",
          "Contains",
          "StartsWith",
          "EndsWith",
          "GreaterThan",
          "LessThan",
          "GreaterOrEqual",
          "LessOrEqual",
          "IsEmpty",
          "IsNotEmpty",
          "In",
          "NotIn",
          "Between"
        ],
        "type": "string"
      },
      "SourceFilterValueType": {
        "enum": [
          "Text",
          "Number",
          "Date"
        ],
        "type": "string"
      },
      "SourceSchema": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "columnTypes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "sampleRows": {
            "type": "array",
            "items": {
              "type": "array",
              "items": { }
            },
            "nullable": true
          },
          "removedColumns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "newColumns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceSchemaResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/SourceSchema"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourcesResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataSourceData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StartMappingRunRequest": {
        "required": [
          "mode"
        ],
        "type": "object",
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/ImportMode"
          },
          "rollups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateRollupRequest"
            },
            "nullable": true
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "pushWindow": {
            "$ref": "#/components/schemas/PushRunWindow"
          }
        },
        "additionalProperties": false
      },
      "StringResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StringsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubTreeStatsData": {
        "type": "object",
        "properties": {
          "created": {
            "type": "integer",
            "format": "int32"
          },
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "deleted": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SwitchTenantRequest": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SystemStatusData": {
        "type": "object",
        "properties": {
          "apiVersion": {
            "type": "string",
            "nullable": true
          },
          "appVersion": {
            "type": "string",
            "nullable": true
          },
          "database": {
            "$ref": "#/components/schemas/ConnectionStatusData"
          },
          "migrationStatus": {
            "$ref": "#/components/schemas/MigrationStatusData"
          }
        },
        "additionalProperties": false
      },
      "SystemStatusResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/SystemStatusData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetClearPreview": {
        "type": "object",
        "properties": {
          "affectedFacts": {
            "type": "integer",
            "format": "int64"
          },
          "totalFacts": {
            "type": "integer",
            "format": "int64"
          },
          "clearsWholeModel": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetClearPreviewRequest": {
        "type": "object",
        "properties": {
          "targetFilter": {
            "$ref": "#/components/schemas/TargetFilter"
          },
          "keywordOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetClearPreviewResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/TargetClearPreview"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetFilter": {
        "type": "object",
        "properties": {
          "root": {
            "$ref": "#/components/schemas/TargetFilterGroup"
          }
        },
        "additionalProperties": false
      },
      "TargetFilterCondition": {
        "type": "object",
        "properties": {
          "dimensionId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "$ref": "#/components/schemas/TargetFilterOperator"
          },
          "memberCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "fromCode": {
            "type": "string",
            "nullable": true
          },
          "toCode": {
            "type": "string",
            "nullable": true
          },
          "disabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TargetFilterConnector": {
        "enum": [
          "And",
          "Or"
        ],
        "type": "string"
      },
      "TargetFilterGroup": {
        "type": "object",
        "properties": {
          "connector": {
            "$ref": "#/components/schemas/TargetFilterConnector"
          },
          "negate": {
            "type": "boolean"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TargetFilterNode"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TargetFilterNode": {
        "type": "object",
        "properties": {
          "group": {
            "$ref": "#/components/schemas/TargetFilterGroup"
          },
          "condition": {
            "$ref": "#/components/schemas/TargetFilterCondition"
          }
        },
        "additionalProperties": false
      },
      "TargetFilterOperator": {
        "enum": [
          "In",
          "NotIn",
          "Between",
          "GreaterThan",
          "GreaterOrEqual",
          "LessThan",
          "LessOrEqual",
          "Equals",
          "NotEquals",
          "Contains",
          "StartsWith",
          "EndsWith"
        ],
        "type": "string"
      },
      "TenantCreateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "ownerEmail": {
            "type": "string",
            "nullable": true
          },
          "ownerFirstName": {
            "type": "string",
            "nullable": true
          },
          "ownerLastName": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "industry": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantDashboardStats": {
        "type": "object",
        "properties": {
          "totalTenants": {
            "type": "integer",
            "format": "int32"
          },
          "activeTenants": {
            "type": "integer",
            "format": "int32"
          },
          "trialTenants": {
            "type": "integer",
            "format": "int32"
          },
          "onboardingTenants": {
            "type": "integer",
            "format": "int32"
          },
          "suspendedTenants": {
            "type": "integer",
            "format": "int32"
          },
          "suspendedAccounts": {
            "type": "integer",
            "format": "int32"
          },
          "totalUsers": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TenantDashboardStatsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/TenantDashboardStats"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "plan": {
            "type": "string",
            "nullable": true
          },
          "maxUsers": {
            "type": "integer",
            "format": "int32"
          },
          "userCount": {
            "type": "integer",
            "format": "int32"
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "industry": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "demoVersion": {
            "type": "integer",
            "format": "int32"
          },
          "lastDemoUpdatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "hasPendingActivation": {
            "type": "boolean"
          },
          "pendingActivationPlan": {
            "type": "string",
            "nullable": true
          },
          "activationInvitedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "activationExpiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "activationAcceptedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastActivationDeclinedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "owner": {
            "$ref": "#/components/schemas/TenantOwnerData"
          }
        },
        "additionalProperties": false
      },
      "TenantLogoResponse": {
        "type": "object",
        "properties": {
          "logoUrl": {
            "type": "string",
            "nullable": true
          },
          "blobName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantLogoResponseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/TenantLogoResponse"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantOwnerData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "invitationStatus": {
            "type": "string",
            "nullable": true
          },
          "accountStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantPlan": {
        "enum": [
          "Trial",
          "Basic",
          "Professional",
          "Enterprise"
        ],
        "type": "string"
      },
      "TenantResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/TenantData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "industry": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TimeGrain": {
        "enum": [
          "Year",
          "Quarter",
          "Month",
          "Week",
          "Day",
          "HalfYear"
        ],
        "type": "string"
      },
      "TimeLevelSpec": {
        "required": [
          "levelId"
        ],
        "type": "object",
        "properties": {
          "levelId": {
            "minLength": 1,
            "type": "string"
          },
          "grain": {
            "$ref": "#/components/schemas/TimeGrain"
          }
        },
        "additionalProperties": false
      },
      "TokenOnlyRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransferOwnershipRequest": {
        "type": "object",
        "properties": {
          "targetUserExternalId": {
            "type": "string",
            "nullable": true
          },
          "newRoleExternalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TransformKind": {
        "enum": [
          "None",
          "Text",
          "Number",
          "Boolean",
          "Date",
          "Time",
          "DateTime"
        ],
        "type": "string"
      },
      "UpdateLevelResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LevelBulkUpdateError"
            },
            "nullable": true
          },
          "memberStats": {
            "$ref": "#/components/schemas/MemberSyncStats"
          },
          "attributeStats": {
            "$ref": "#/components/schemas/AttributeSyncStats"
          }
        },
        "additionalProperties": false
      },
      "UpdateLevelResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/UpdateLevelResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpsertScheduleRequest": {
        "type": "object",
        "properties": {
          "cronExpression": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "role": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "accountStatus": {
            "type": "string",
            "nullable": true
          },
          "tenantSlug": {
            "type": "string",
            "nullable": true
          },
          "tenantExternalId": {
            "type": "string",
            "nullable": true
          },
          "tenantStatus": {
            "type": "string",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "invitationStatus": {
            "type": "string",
            "nullable": true
          },
          "isEmailVerified": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "organizationCount": {
            "type": "integer",
            "format": "int32"
          },
          "isOnline": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserInviteRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/UserData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserRoleUpdateRequest": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VariableMath": {
        "type": "object",
        "properties": {
          "factor": {
            "type": "number",
            "format": "double"
          },
          "addend": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "VerifyEmailRequest": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ViewConfig": {
        "type": "object",
        "properties": {
          "gridType": {
            "type": "string",
            "nullable": true
          },
          "aggregations": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "layout": {
            "$ref": "#/components/schemas/GridLayoutConfig"
          },
          "expandedRows": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "expandedCols": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "expandedRowDepth": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "expandedColDepth": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "collapsedRows": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "collapsedCols": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "rowDimDepths": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "colDimDepths": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "visibleColDepth": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sorting": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "levelSort": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LevelSortConfig"
            },
            "nullable": true
          },
          "columnValueSort": {
            "$ref": "#/components/schemas/ColumnValueSortConfig"
          },
          "rowValueSort": {
            "$ref": "#/components/schemas/RowValueSortConfig"
          },
          "rounding": {
            "type": "boolean",
            "nullable": true
          },
          "precision": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "selectedCurrencyId": {
            "type": "string",
            "nullable": true
          },
          "selections": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AxisSelectionRequest"
            },
            "nullable": true
          },
          "labelModes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "persistentFilter": {
            "$ref": "#/components/schemas/ViewFilterConfig"
          },
          "advancedFilter": {
            "$ref": "#/components/schemas/ViewFilterConfig"
          }
        },
        "additionalProperties": false
      },
      "ViewCreateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "useOrgLogo": {
            "type": "boolean"
          },
          "logoBlobId": {
            "type": "string",
            "nullable": true
          },
          "isReadOnly": {
            "type": "boolean"
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          }
        },
        "additionalProperties": false
      },
      "ViewData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "useOrgLogo": {
            "type": "boolean"
          },
          "logoBlobId": {
            "type": "string",
            "nullable": true
          },
          "isReadOnly": {
            "type": "boolean"
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "modelName": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemData"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemData"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemData"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          }
        },
        "additionalProperties": false
      },
      "ViewFilterCondition": {
        "type": "object",
        "properties": {
          "dimensionId": {
            "type": "string",
            "nullable": true
          },
          "rollupId": {
            "type": "string",
            "nullable": true
          },
          "levelId": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "type": "string",
            "nullable": true
          },
          "valueMode": {
            "type": "string",
            "nullable": true
          },
          "memberIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ViewFilterConfig": {
        "type": "object",
        "properties": {
          "op": {
            "type": "string",
            "nullable": true
          },
          "conditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ViewFilterCondition"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ViewResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/ViewData"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ViewSaveAsRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          }
        },
        "additionalProperties": false
      },
      "ViewSaveConfigRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          }
        },
        "additionalProperties": false
      },
      "ViewUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "useOrgLogo": {
            "type": "boolean"
          },
          "logoBlobId": {
            "type": "string",
            "nullable": true
          },
          "isReadOnly": {
            "type": "boolean"
          },
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          }
        },
        "additionalProperties": false
      },
      "ViewsResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ViewData"
            },
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackBasis": {
        "type": "object",
        "properties": {
          "storeStamp": {
            "type": "string",
            "nullable": true
          },
          "deltaSeq": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "WriteBackCell": {
        "type": "object",
        "properties": {
          "rowPath": {
            "type": "string",
            "nullable": true
          },
          "colPath": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "raw": {
            "type": "string",
            "nullable": true
          },
          "expected": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "hasExpected": {
            "type": "boolean"
          },
          "coordinate": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackCellError": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackConflict": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "current": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackPreview": {
        "type": "object",
        "properties": {
          "requiresReview": {
            "type": "boolean"
          },
          "preciseCount": {
            "type": "integer",
            "format": "int32"
          },
          "targets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackSolveTarget"
            },
            "nullable": true
          },
          "totalLeaves": {
            "type": "integer",
            "format": "int64"
          },
          "cap": {
            "type": "integer",
            "format": "int64"
          },
          "canCommit": {
            "type": "boolean"
          },
          "basis": {
            "$ref": "#/components/schemas/WriteBackBasis"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackCellError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackPreviewResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/WriteBackPreview"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackRequest": {
        "type": "object",
        "properties": {
          "modelId": {
            "type": "string",
            "nullable": true
          },
          "viewId": {
            "type": "string",
            "nullable": true
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "cols": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AxisItemRequest"
            },
            "nullable": true
          },
          "config": {
            "$ref": "#/components/schemas/ViewConfig"
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackCell"
            },
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "method": {
            "type": "string",
            "nullable": true
          },
          "locks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackCell"
            },
            "nullable": true
          },
          "basis": {
            "$ref": "#/components/schemas/WriteBackBasis"
          }
        },
        "additionalProperties": false
      },
      "WriteBackResult": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string",
            "nullable": true
          },
          "applied": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "integer",
            "format": "int32"
          },
          "storeRebuilt": {
            "type": "boolean"
          },
          "conflicts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackConflict"
            },
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackCellError"
            },
            "nullable": true
          },
          "preview": {
            "$ref": "#/components/schemas/WriteBackPreview"
          }
        },
        "additionalProperties": false
      },
      "WriteBackResultResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/WriteBackResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviousPage": {
            "type": "boolean",
            "nullable": true
          },
          "hasNextPage": {
            "type": "boolean",
            "nullable": true
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WriteBackSolveSample": {
        "type": "object",
        "properties": {
          "coordinate": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "measure": {
            "type": "string",
            "nullable": true
          },
          "before": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "after": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "locked": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WriteBackSolveTarget": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "spreadOver": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          },
          "leafCount": {
            "type": "integer",
            "format": "int64"
          },
          "populatedCount": {
            "type": "integer",
            "format": "int64"
          },
          "lockedCount": {
            "type": "integer",
            "format": "int64"
          },
          "before": {
            "type": "number",
            "format": "double"
          },
          "after": {
            "type": "number",
            "format": "double"
          },
          "method": {
            "type": "string",
            "nullable": true
          },
          "refusal": {
            "type": "string",
            "nullable": true
          },
          "sample": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WriteBackSolveSample"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}