> ## Documentation Index
> Fetch the complete documentation index at: https://docs.drpn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Single JSON-RPC endpoint for all Darpan facade methods



## OpenAPI

````yaml /api-reference/openapi.json post /rpc/json
openapi: 3.1.0
info:
  title: Darpan Facade API
  version: 2.1.2
  x-darpan-contract-version: 1
  description: >-
    GENERATED from the facade service XML — do not edit by hand. Regenerate with
    ./gradlew :runtime:component:darpan:generateApiContract.


    Transport: JSON-RPC 2.0 over POST /rpc/json. Auth channels: browser SPA uses
    the HttpOnly darpan_login_key cookie + CSRF token (canonical); integration
    callers and no-credentialed-CORS fallbacks use the login_key header
    (in-memory only, never query params). HTTP status is 200 for every
    dispatched call; distinguish outcomes by shape. JSON-RPC error object:
    protocol failures (-32700 parse, -32600 invalid request, -32601 method not
    found, -32602 invalid params), unhandled service errors (code 500),
    authorization denial (code 403). Facade business validation instead returns
    a success envelope with result.ok=false and result.errors[].
servers:
  - url: /
    description: Same-origin Moqui backend (api.drpn.ai in production)
security: []
paths:
  /rpc/json:
    post:
      summary: Single JSON-RPC endpoint for all Darpan facade methods
      operationId: jsonRpcCall
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/ChangeOwnPasswordRequest'
                - $ref: '#/components/schemas/GetSessionInfoRequest'
                - $ref: '#/components/schemas/LoginSessionRequest'
                - $ref: '#/components/schemas/LogoutAllSessionsRequest'
                - $ref: '#/components/schemas/LogoutSessionRequest'
                - $ref: '#/components/schemas/SaveActiveTenantRequest'
                - $ref: '#/components/schemas/SaveUserSettingsRequest'
                - $ref: '#/components/schemas/VerifyOwnPasswordRequest'
                - $ref: '#/components/schemas/DeleteHotWaxOmsRestSourceConfigRequest'
                - $ref: '#/components/schemas/ListHotWaxOmsRestSourceConfigsRequest'
                - $ref: '#/components/schemas/SaveHotWaxOmsRestSourceConfigRequest'
                - $ref: '#/components/schemas/DeleteJsonSchemaRequest'
                - $ref: '#/components/schemas/FlattenJsonSchemaRequest'
                - $ref: '#/components/schemas/GetJsonSchemaRequest'
                - $ref: '#/components/schemas/InferJsonSchemaFromTextRequest'
                - $ref: '#/components/schemas/ListJsonSchemasRequest'
                - $ref: '#/components/schemas/SaveJsonSchemaTextRequest'
                - $ref: '#/components/schemas/SaveRefinedSchemaRequest'
                - $ref: '#/components/schemas/ValidateJsonTextAgainstSchemaRequest'
                - $ref: '#/components/schemas/CreateCsvRunRequest'
                - $ref: '#/components/schemas/CreateMappingRequest'
                - $ref: '#/components/schemas/CreateRuleSetRunRequest'
                - $ref: '#/components/schemas/DeleteAutomationRequest'
                - $ref: '#/components/schemas/DeleteGeneratedOutputRequest'
                - $ref: '#/components/schemas/DeleteSavedRunRequest'
                - $ref: '#/components/schemas/GetAutomationRequest'
                - $ref: '#/components/schemas/GetGeneratedOutputRequest'
                - $ref: '#/components/schemas/GetGeneratedOutputDifferencesRequest'
                - $ref: '#/components/schemas/GetMappingRequest'
                - $ref: '#/components/schemas/ListAutomationExecutionsRequest'
                - $ref: '#/components/schemas/ListAutomationSourceOptionsRequest'
                - $ref: '#/components/schemas/ListAutomationsRequest'
                - $ref: '#/components/schemas/ListGeneratedOutputsRequest'
                - $ref: '#/components/schemas/ListMappingsRequest'
                - $ref: '#/components/schemas/ListSavedRunsRequest'
                - $ref: '#/components/schemas/PauseAutomationRequest'
                - $ref: '#/components/schemas/ReprocessAutomationExecutionRequest'
                - $ref: '#/components/schemas/ResumeAutomationRequest'
                - $ref: '#/components/schemas/RunAutomationNowRequest'
                - $ref: '#/components/schemas/RunGenericDiffRequest'
                - $ref: '#/components/schemas/RunSavedRunDiffRequest'
                - $ref: '#/components/schemas/SaveAutomationRequest'
                - $ref: '#/components/schemas/SaveDashboardPinnedMappingsRequest'
                - $ref: '#/components/schemas/SaveDashboardPinnedSavedRunsRequest'
                - $ref: '#/components/schemas/SaveMappingRequest'
                - $ref: '#/components/schemas/SaveRuleSetRunRequest'
                - $ref: '#/components/schemas/SaveSavedRunNameRequest'
                - $ref: '#/components/schemas/SearchNavigationTargetsRequest'
                - $ref: '#/components/schemas/GetLlmSettingsRequest'
                - $ref: '#/components/schemas/GetTenantNotificationSettingsRequest'
                - $ref: '#/components/schemas/GetTenantSettingsRequest'
                - $ref: '#/components/schemas/ListEnumOptionsRequest'
                - $ref: '#/components/schemas/ListNsAuthConfigsRequest'
                - $ref: '#/components/schemas/ListNsRestletConfigsRequest'
                - $ref: '#/components/schemas/ListSftpServersRequest'
                - $ref: '#/components/schemas/SaveLlmSettingsRequest'
                - $ref: '#/components/schemas/SaveNsAuthConfigRequest'
                - $ref: '#/components/schemas/SaveNsRestletConfigRequest'
                - $ref: '#/components/schemas/SaveSftpServerRequest'
                - $ref: '#/components/schemas/SaveTenantNotificationSettingsRequest'
                - $ref: '#/components/schemas/SaveTenantSettingsRequest'
                - $ref: '#/components/schemas/DeleteShopifyAuthConfigRequest'
                - $ref: '#/components/schemas/GetShopifyAuthConfigRequest'
                - $ref: '#/components/schemas/ListShopifyAuthConfigsRequest'
                - $ref: '#/components/schemas/SaveShopifyAuthConfigRequest'
              discriminator:
                propertyName: method
                mapping:
                  facade.AuthFacadeServices.change#OwnPassword:
                    $ref: '#/components/schemas/ChangeOwnPasswordRequest'
                  facade.AuthFacadeServices.get#SessionInfo:
                    $ref: '#/components/schemas/GetSessionInfoRequest'
                  facade.AuthFacadeServices.login#Session:
                    $ref: '#/components/schemas/LoginSessionRequest'
                  facade.AuthFacadeServices.logout#AllSessions:
                    $ref: '#/components/schemas/LogoutAllSessionsRequest'
                  facade.AuthFacadeServices.logout#Session:
                    $ref: '#/components/schemas/LogoutSessionRequest'
                  facade.AuthFacadeServices.save#ActiveTenant:
                    $ref: '#/components/schemas/SaveActiveTenantRequest'
                  facade.AuthFacadeServices.save#UserSettings:
                    $ref: '#/components/schemas/SaveUserSettingsRequest'
                  facade.AuthFacadeServices.verify#OwnPassword:
                    $ref: '#/components/schemas/VerifyOwnPasswordRequest'
                  facade.HotWaxOmsFacadeServices.delete#HotWaxOmsRestSourceConfig:
                    $ref: >-
                      #/components/schemas/DeleteHotWaxOmsRestSourceConfigRequest
                  facade.HotWaxOmsFacadeServices.list#HotWaxOmsRestSourceConfigs:
                    $ref: '#/components/schemas/ListHotWaxOmsRestSourceConfigsRequest'
                  facade.HotWaxOmsFacadeServices.save#HotWaxOmsRestSourceConfig:
                    $ref: '#/components/schemas/SaveHotWaxOmsRestSourceConfigRequest'
                  facade.JsonSchemaFacadeServices.delete#JsonSchema:
                    $ref: '#/components/schemas/DeleteJsonSchemaRequest'
                  facade.JsonSchemaFacadeServices.flatten#JsonSchema:
                    $ref: '#/components/schemas/FlattenJsonSchemaRequest'
                  facade.JsonSchemaFacadeServices.get#JsonSchema:
                    $ref: '#/components/schemas/GetJsonSchemaRequest'
                  facade.JsonSchemaFacadeServices.infer#JsonSchemaFromText:
                    $ref: '#/components/schemas/InferJsonSchemaFromTextRequest'
                  facade.JsonSchemaFacadeServices.list#JsonSchemas:
                    $ref: '#/components/schemas/ListJsonSchemasRequest'
                  facade.JsonSchemaFacadeServices.save#JsonSchemaText:
                    $ref: '#/components/schemas/SaveJsonSchemaTextRequest'
                  facade.JsonSchemaFacadeServices.save#RefinedSchema:
                    $ref: '#/components/schemas/SaveRefinedSchemaRequest'
                  facade.JsonSchemaFacadeServices.validate#JsonTextAgainstSchema:
                    $ref: '#/components/schemas/ValidateJsonTextAgainstSchemaRequest'
                  facade.ReconciliationFacadeServices.create#CsvRun:
                    $ref: '#/components/schemas/CreateCsvRunRequest'
                  facade.ReconciliationFacadeServices.create#Mapping:
                    $ref: '#/components/schemas/CreateMappingRequest'
                  facade.ReconciliationFacadeServices.create#RuleSetRun:
                    $ref: '#/components/schemas/CreateRuleSetRunRequest'
                  facade.ReconciliationFacadeServices.delete#Automation:
                    $ref: '#/components/schemas/DeleteAutomationRequest'
                  facade.ReconciliationFacadeServices.delete#GeneratedOutput:
                    $ref: '#/components/schemas/DeleteGeneratedOutputRequest'
                  facade.ReconciliationFacadeServices.delete#SavedRun:
                    $ref: '#/components/schemas/DeleteSavedRunRequest'
                  facade.ReconciliationFacadeServices.get#Automation:
                    $ref: '#/components/schemas/GetAutomationRequest'
                  facade.ReconciliationFacadeServices.get#GeneratedOutput:
                    $ref: '#/components/schemas/GetGeneratedOutputRequest'
                  facade.ReconciliationFacadeServices.get#GeneratedOutputDifferences:
                    $ref: '#/components/schemas/GetGeneratedOutputDifferencesRequest'
                  facade.ReconciliationFacadeServices.get#Mapping:
                    $ref: '#/components/schemas/GetMappingRequest'
                  facade.ReconciliationFacadeServices.list#AutomationExecutions:
                    $ref: '#/components/schemas/ListAutomationExecutionsRequest'
                  facade.ReconciliationFacadeServices.list#AutomationSourceOptions:
                    $ref: '#/components/schemas/ListAutomationSourceOptionsRequest'
                  facade.ReconciliationFacadeServices.list#Automations:
                    $ref: '#/components/schemas/ListAutomationsRequest'
                  facade.ReconciliationFacadeServices.list#GeneratedOutputs:
                    $ref: '#/components/schemas/ListGeneratedOutputsRequest'
                  facade.ReconciliationFacadeServices.list#Mappings:
                    $ref: '#/components/schemas/ListMappingsRequest'
                  facade.ReconciliationFacadeServices.list#SavedRuns:
                    $ref: '#/components/schemas/ListSavedRunsRequest'
                  facade.ReconciliationFacadeServices.pause#Automation:
                    $ref: '#/components/schemas/PauseAutomationRequest'
                  facade.ReconciliationFacadeServices.reprocess#AutomationExecution:
                    $ref: '#/components/schemas/ReprocessAutomationExecutionRequest'
                  facade.ReconciliationFacadeServices.resume#Automation:
                    $ref: '#/components/schemas/ResumeAutomationRequest'
                  facade.ReconciliationFacadeServices.run#AutomationNow:
                    $ref: '#/components/schemas/RunAutomationNowRequest'
                  facade.ReconciliationFacadeServices.run#GenericDiff:
                    $ref: '#/components/schemas/RunGenericDiffRequest'
                  facade.ReconciliationFacadeServices.run#SavedRunDiff:
                    $ref: '#/components/schemas/RunSavedRunDiffRequest'
                  facade.ReconciliationFacadeServices.save#Automation:
                    $ref: '#/components/schemas/SaveAutomationRequest'
                  facade.ReconciliationFacadeServices.save#DashboardPinnedMappings:
                    $ref: '#/components/schemas/SaveDashboardPinnedMappingsRequest'
                  facade.ReconciliationFacadeServices.save#DashboardPinnedSavedRuns:
                    $ref: '#/components/schemas/SaveDashboardPinnedSavedRunsRequest'
                  facade.ReconciliationFacadeServices.save#Mapping:
                    $ref: '#/components/schemas/SaveMappingRequest'
                  facade.ReconciliationFacadeServices.save#RuleSetRun:
                    $ref: '#/components/schemas/SaveRuleSetRunRequest'
                  facade.ReconciliationFacadeServices.save#SavedRunName:
                    $ref: '#/components/schemas/SaveSavedRunNameRequest'
                  facade.SearchFacadeServices.search#NavigationTargets:
                    $ref: '#/components/schemas/SearchNavigationTargetsRequest'
                  facade.SettingsFacadeServices.get#LlmSettings:
                    $ref: '#/components/schemas/GetLlmSettingsRequest'
                  facade.SettingsFacadeServices.get#TenantNotificationSettings:
                    $ref: '#/components/schemas/GetTenantNotificationSettingsRequest'
                  facade.SettingsFacadeServices.get#TenantSettings:
                    $ref: '#/components/schemas/GetTenantSettingsRequest'
                  facade.SettingsFacadeServices.list#EnumOptions:
                    $ref: '#/components/schemas/ListEnumOptionsRequest'
                  facade.SettingsFacadeServices.list#NsAuthConfigs:
                    $ref: '#/components/schemas/ListNsAuthConfigsRequest'
                  facade.SettingsFacadeServices.list#NsRestletConfigs:
                    $ref: '#/components/schemas/ListNsRestletConfigsRequest'
                  facade.SettingsFacadeServices.list#SftpServers:
                    $ref: '#/components/schemas/ListSftpServersRequest'
                  facade.SettingsFacadeServices.save#LlmSettings:
                    $ref: '#/components/schemas/SaveLlmSettingsRequest'
                  facade.SettingsFacadeServices.save#NsAuthConfig:
                    $ref: '#/components/schemas/SaveNsAuthConfigRequest'
                  facade.SettingsFacadeServices.save#NsRestletConfig:
                    $ref: '#/components/schemas/SaveNsRestletConfigRequest'
                  facade.SettingsFacadeServices.save#SftpServer:
                    $ref: '#/components/schemas/SaveSftpServerRequest'
                  facade.SettingsFacadeServices.save#TenantNotificationSettings:
                    $ref: '#/components/schemas/SaveTenantNotificationSettingsRequest'
                  facade.SettingsFacadeServices.save#TenantSettings:
                    $ref: '#/components/schemas/SaveTenantSettingsRequest'
                  facade.ShopifyFacadeServices.delete#ShopifyAuthConfig:
                    $ref: '#/components/schemas/DeleteShopifyAuthConfigRequest'
                  facade.ShopifyFacadeServices.get#ShopifyAuthConfig:
                    $ref: '#/components/schemas/GetShopifyAuthConfigRequest'
                  facade.ShopifyFacadeServices.list#ShopifyAuthConfigs:
                    $ref: '#/components/schemas/ListShopifyAuthConfigsRequest'
                  facade.ShopifyFacadeServices.save#ShopifyAuthConfig:
                    $ref: '#/components/schemas/SaveShopifyAuthConfigRequest'
      responses:
        '200':
          description: JSON-RPC response — success envelope, or protocol error object
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/JsonRpcErrorResponse'
                  - $ref: '#/components/schemas/ChangeOwnPasswordResponse'
                  - $ref: '#/components/schemas/GetSessionInfoResponse'
                  - $ref: '#/components/schemas/LoginSessionResponse'
                  - $ref: '#/components/schemas/LogoutAllSessionsResponse'
                  - $ref: '#/components/schemas/LogoutSessionResponse'
                  - $ref: '#/components/schemas/SaveActiveTenantResponse'
                  - $ref: '#/components/schemas/SaveUserSettingsResponse'
                  - $ref: '#/components/schemas/VerifyOwnPasswordResponse'
                  - $ref: >-
                      #/components/schemas/DeleteHotWaxOmsRestSourceConfigResponse
                  - $ref: >-
                      #/components/schemas/ListHotWaxOmsRestSourceConfigsResponse
                  - $ref: '#/components/schemas/SaveHotWaxOmsRestSourceConfigResponse'
                  - $ref: '#/components/schemas/DeleteJsonSchemaResponse'
                  - $ref: '#/components/schemas/FlattenJsonSchemaResponse'
                  - $ref: '#/components/schemas/GetJsonSchemaResponse'
                  - $ref: '#/components/schemas/InferJsonSchemaFromTextResponse'
                  - $ref: '#/components/schemas/ListJsonSchemasResponse'
                  - $ref: '#/components/schemas/SaveJsonSchemaTextResponse'
                  - $ref: '#/components/schemas/SaveRefinedSchemaResponse'
                  - $ref: '#/components/schemas/ValidateJsonTextAgainstSchemaResponse'
                  - $ref: '#/components/schemas/CreateCsvRunResponse'
                  - $ref: '#/components/schemas/CreateMappingResponse'
                  - $ref: '#/components/schemas/CreateRuleSetRunResponse'
                  - $ref: '#/components/schemas/DeleteAutomationResponse'
                  - $ref: '#/components/schemas/DeleteGeneratedOutputResponse'
                  - $ref: '#/components/schemas/DeleteSavedRunResponse'
                  - $ref: '#/components/schemas/GetAutomationResponse'
                  - $ref: '#/components/schemas/GetGeneratedOutputResponse'
                  - $ref: '#/components/schemas/GetGeneratedOutputDifferencesResponse'
                  - $ref: '#/components/schemas/GetMappingResponse'
                  - $ref: '#/components/schemas/ListAutomationExecutionsResponse'
                  - $ref: '#/components/schemas/ListAutomationSourceOptionsResponse'
                  - $ref: '#/components/schemas/ListAutomationsResponse'
                  - $ref: '#/components/schemas/ListGeneratedOutputsResponse'
                  - $ref: '#/components/schemas/ListMappingsResponse'
                  - $ref: '#/components/schemas/ListSavedRunsResponse'
                  - $ref: '#/components/schemas/PauseAutomationResponse'
                  - $ref: '#/components/schemas/ReprocessAutomationExecutionResponse'
                  - $ref: '#/components/schemas/ResumeAutomationResponse'
                  - $ref: '#/components/schemas/RunAutomationNowResponse'
                  - $ref: '#/components/schemas/RunGenericDiffResponse'
                  - $ref: '#/components/schemas/RunSavedRunDiffResponse'
                  - $ref: '#/components/schemas/SaveAutomationResponse'
                  - $ref: '#/components/schemas/SaveDashboardPinnedMappingsResponse'
                  - $ref: '#/components/schemas/SaveDashboardPinnedSavedRunsResponse'
                  - $ref: '#/components/schemas/SaveMappingResponse'
                  - $ref: '#/components/schemas/SaveRuleSetRunResponse'
                  - $ref: '#/components/schemas/SaveSavedRunNameResponse'
                  - $ref: '#/components/schemas/SearchNavigationTargetsResponse'
                  - $ref: '#/components/schemas/GetLlmSettingsResponse'
                  - $ref: '#/components/schemas/GetTenantNotificationSettingsResponse'
                  - $ref: '#/components/schemas/GetTenantSettingsResponse'
                  - $ref: '#/components/schemas/ListEnumOptionsResponse'
                  - $ref: '#/components/schemas/ListNsAuthConfigsResponse'
                  - $ref: '#/components/schemas/ListNsRestletConfigsResponse'
                  - $ref: '#/components/schemas/ListSftpServersResponse'
                  - $ref: '#/components/schemas/SaveLlmSettingsResponse'
                  - $ref: '#/components/schemas/SaveNsAuthConfigResponse'
                  - $ref: '#/components/schemas/SaveNsRestletConfigResponse'
                  - $ref: '#/components/schemas/SaveSftpServerResponse'
                  - $ref: >-
                      #/components/schemas/SaveTenantNotificationSettingsResponse
                  - $ref: '#/components/schemas/SaveTenantSettingsResponse'
                  - $ref: '#/components/schemas/DeleteShopifyAuthConfigResponse'
                  - $ref: '#/components/schemas/GetShopifyAuthConfigResponse'
                  - $ref: '#/components/schemas/ListShopifyAuthConfigsResponse'
                  - $ref: '#/components/schemas/SaveShopifyAuthConfigResponse'
components:
  schemas:
    ChangeOwnPasswordRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.AuthFacadeServices.change#OwnPassword
      x-darpan-method: facade.AuthFacadeServices.change#OwnPassword
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.change#OwnPassword
        params:
          $ref: '#/components/schemas/ChangeOwnPasswordParams'
      required:
        - jsonrpc
        - id
        - method
    GetSessionInfoRequest:
      type: object
      description: JSON-RPC request envelope for facade.AuthFacadeServices.get#SessionInfo
      x-darpan-method: facade.AuthFacadeServices.get#SessionInfo
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.get#SessionInfo
        params:
          $ref: '#/components/schemas/GetSessionInfoParams'
      required:
        - jsonrpc
        - id
        - method
    LoginSessionRequest:
      type: object
      description: JSON-RPC request envelope for facade.AuthFacadeServices.login#Session
      x-darpan-method: facade.AuthFacadeServices.login#Session
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.login#Session
        params:
          $ref: '#/components/schemas/LoginSessionParams'
      required:
        - jsonrpc
        - id
        - method
    LogoutAllSessionsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.AuthFacadeServices.logout#AllSessions
      x-darpan-method: facade.AuthFacadeServices.logout#AllSessions
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.logout#AllSessions
        params:
          $ref: '#/components/schemas/LogoutAllSessionsParams'
      required:
        - jsonrpc
        - id
        - method
    LogoutSessionRequest:
      type: object
      description: JSON-RPC request envelope for facade.AuthFacadeServices.logout#Session
      x-darpan-method: facade.AuthFacadeServices.logout#Session
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.logout#Session
        params:
          $ref: '#/components/schemas/LogoutSessionParams'
      required:
        - jsonrpc
        - id
        - method
    SaveActiveTenantRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.AuthFacadeServices.save#ActiveTenant
      x-darpan-method: facade.AuthFacadeServices.save#ActiveTenant
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.save#ActiveTenant
        params:
          $ref: '#/components/schemas/SaveActiveTenantParams'
      required:
        - jsonrpc
        - id
        - method
    SaveUserSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.AuthFacadeServices.save#UserSettings
      x-darpan-method: facade.AuthFacadeServices.save#UserSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.save#UserSettings
        params:
          $ref: '#/components/schemas/SaveUserSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    VerifyOwnPasswordRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.AuthFacadeServices.verify#OwnPassword
      x-darpan-method: facade.AuthFacadeServices.verify#OwnPassword
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.AuthFacadeServices.verify#OwnPassword
        params:
          $ref: '#/components/schemas/VerifyOwnPasswordParams'
      required:
        - jsonrpc
        - id
        - method
    DeleteHotWaxOmsRestSourceConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.HotWaxOmsFacadeServices.delete#HotWaxOmsRestSourceConfig
      x-darpan-method: facade.HotWaxOmsFacadeServices.delete#HotWaxOmsRestSourceConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.HotWaxOmsFacadeServices.delete#HotWaxOmsRestSourceConfig
        params:
          $ref: '#/components/schemas/DeleteHotWaxOmsRestSourceConfigParams'
      required:
        - jsonrpc
        - id
        - method
    ListHotWaxOmsRestSourceConfigsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.HotWaxOmsFacadeServices.list#HotWaxOmsRestSourceConfigs
      x-darpan-method: facade.HotWaxOmsFacadeServices.list#HotWaxOmsRestSourceConfigs
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.HotWaxOmsFacadeServices.list#HotWaxOmsRestSourceConfigs
        params:
          $ref: '#/components/schemas/ListHotWaxOmsRestSourceConfigsParams'
      required:
        - jsonrpc
        - id
        - method
    SaveHotWaxOmsRestSourceConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.HotWaxOmsFacadeServices.save#HotWaxOmsRestSourceConfig
      x-darpan-method: facade.HotWaxOmsFacadeServices.save#HotWaxOmsRestSourceConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.HotWaxOmsFacadeServices.save#HotWaxOmsRestSourceConfig
        params:
          $ref: '#/components/schemas/SaveHotWaxOmsRestSourceConfigParams'
      required:
        - jsonrpc
        - id
        - method
    DeleteJsonSchemaRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.delete#JsonSchema
      x-darpan-method: facade.JsonSchemaFacadeServices.delete#JsonSchema
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.delete#JsonSchema
        params:
          $ref: '#/components/schemas/DeleteJsonSchemaParams'
      required:
        - jsonrpc
        - id
        - method
    FlattenJsonSchemaRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.flatten#JsonSchema
      x-darpan-method: facade.JsonSchemaFacadeServices.flatten#JsonSchema
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.flatten#JsonSchema
        params:
          $ref: '#/components/schemas/FlattenJsonSchemaParams'
      required:
        - jsonrpc
        - id
        - method
    GetJsonSchemaRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.get#JsonSchema
      x-darpan-method: facade.JsonSchemaFacadeServices.get#JsonSchema
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.get#JsonSchema
        params:
          $ref: '#/components/schemas/GetJsonSchemaParams'
      required:
        - jsonrpc
        - id
        - method
    InferJsonSchemaFromTextRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.infer#JsonSchemaFromText
      x-darpan-method: facade.JsonSchemaFacadeServices.infer#JsonSchemaFromText
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.infer#JsonSchemaFromText
        params:
          $ref: '#/components/schemas/InferJsonSchemaFromTextParams'
      required:
        - jsonrpc
        - id
        - method
    ListJsonSchemasRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.list#JsonSchemas
      x-darpan-method: facade.JsonSchemaFacadeServices.list#JsonSchemas
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.list#JsonSchemas
        params:
          $ref: '#/components/schemas/ListJsonSchemasParams'
      required:
        - jsonrpc
        - id
        - method
    SaveJsonSchemaTextRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.save#JsonSchemaText
      x-darpan-method: facade.JsonSchemaFacadeServices.save#JsonSchemaText
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.save#JsonSchemaText
        params:
          $ref: '#/components/schemas/SaveJsonSchemaTextParams'
      required:
        - jsonrpc
        - id
        - method
    SaveRefinedSchemaRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.save#RefinedSchema
      x-darpan-method: facade.JsonSchemaFacadeServices.save#RefinedSchema
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.save#RefinedSchema
        params:
          $ref: '#/components/schemas/SaveRefinedSchemaParams'
      required:
        - jsonrpc
        - id
        - method
    ValidateJsonTextAgainstSchemaRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.JsonSchemaFacadeServices.validate#JsonTextAgainstSchema
      x-darpan-method: facade.JsonSchemaFacadeServices.validate#JsonTextAgainstSchema
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.JsonSchemaFacadeServices.validate#JsonTextAgainstSchema
        params:
          $ref: '#/components/schemas/ValidateJsonTextAgainstSchemaParams'
      required:
        - jsonrpc
        - id
        - method
    CreateCsvRunRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.create#CsvRun
      x-darpan-method: facade.ReconciliationFacadeServices.create#CsvRun
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.create#CsvRun
        params:
          $ref: '#/components/schemas/CreateCsvRunParams'
      required:
        - jsonrpc
        - id
        - method
    CreateMappingRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.create#Mapping
      x-darpan-method: facade.ReconciliationFacadeServices.create#Mapping
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.create#Mapping
        params:
          $ref: '#/components/schemas/CreateMappingParams'
      required:
        - jsonrpc
        - id
        - method
    CreateRuleSetRunRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.create#RuleSetRun
      x-darpan-method: facade.ReconciliationFacadeServices.create#RuleSetRun
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.create#RuleSetRun
        params:
          $ref: '#/components/schemas/CreateRuleSetRunParams'
      required:
        - jsonrpc
        - id
        - method
    DeleteAutomationRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.delete#Automation
      x-darpan-method: facade.ReconciliationFacadeServices.delete#Automation
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.delete#Automation
        params:
          $ref: '#/components/schemas/DeleteAutomationParams'
      required:
        - jsonrpc
        - id
        - method
    DeleteGeneratedOutputRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.delete#GeneratedOutput
      x-darpan-method: facade.ReconciliationFacadeServices.delete#GeneratedOutput
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.delete#GeneratedOutput
        params:
          $ref: '#/components/schemas/DeleteGeneratedOutputParams'
      required:
        - jsonrpc
        - id
        - method
    DeleteSavedRunRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.delete#SavedRun
      x-darpan-method: facade.ReconciliationFacadeServices.delete#SavedRun
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.delete#SavedRun
        params:
          $ref: '#/components/schemas/DeleteSavedRunParams'
      required:
        - jsonrpc
        - id
        - method
    GetAutomationRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.get#Automation
      x-darpan-method: facade.ReconciliationFacadeServices.get#Automation
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.get#Automation
        params:
          $ref: '#/components/schemas/GetAutomationParams'
      required:
        - jsonrpc
        - id
        - method
    GetGeneratedOutputRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.get#GeneratedOutput
      x-darpan-method: facade.ReconciliationFacadeServices.get#GeneratedOutput
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.get#GeneratedOutput
        params:
          $ref: '#/components/schemas/GetGeneratedOutputParams'
      required:
        - jsonrpc
        - id
        - method
    GetGeneratedOutputDifferencesRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.get#GeneratedOutputDifferences
      x-darpan-method: facade.ReconciliationFacadeServices.get#GeneratedOutputDifferences
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.get#GeneratedOutputDifferences
        params:
          $ref: '#/components/schemas/GetGeneratedOutputDifferencesParams'
      required:
        - jsonrpc
        - id
        - method
    GetMappingRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.get#Mapping
      x-darpan-method: facade.ReconciliationFacadeServices.get#Mapping
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.get#Mapping
        params:
          $ref: '#/components/schemas/GetMappingParams'
      required:
        - jsonrpc
        - id
        - method
    ListAutomationExecutionsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.list#AutomationExecutions
      x-darpan-method: facade.ReconciliationFacadeServices.list#AutomationExecutions
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.list#AutomationExecutions
        params:
          $ref: '#/components/schemas/ListAutomationExecutionsParams'
      required:
        - jsonrpc
        - id
        - method
    ListAutomationSourceOptionsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.list#AutomationSourceOptions
      x-darpan-method: facade.ReconciliationFacadeServices.list#AutomationSourceOptions
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.list#AutomationSourceOptions
        params:
          $ref: '#/components/schemas/ListAutomationSourceOptionsParams'
      required:
        - jsonrpc
        - id
        - method
    ListAutomationsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.list#Automations
      x-darpan-method: facade.ReconciliationFacadeServices.list#Automations
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.list#Automations
        params:
          $ref: '#/components/schemas/ListAutomationsParams'
      required:
        - jsonrpc
        - id
        - method
    ListGeneratedOutputsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.list#GeneratedOutputs
      x-darpan-method: facade.ReconciliationFacadeServices.list#GeneratedOutputs
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.list#GeneratedOutputs
        params:
          $ref: '#/components/schemas/ListGeneratedOutputsParams'
      required:
        - jsonrpc
        - id
        - method
    ListMappingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.list#Mappings
      x-darpan-method: facade.ReconciliationFacadeServices.list#Mappings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.list#Mappings
        params:
          $ref: '#/components/schemas/ListMappingsParams'
      required:
        - jsonrpc
        - id
        - method
    ListSavedRunsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.list#SavedRuns
      x-darpan-method: facade.ReconciliationFacadeServices.list#SavedRuns
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.list#SavedRuns
        params:
          $ref: '#/components/schemas/ListSavedRunsParams'
      required:
        - jsonrpc
        - id
        - method
    PauseAutomationRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.pause#Automation
      x-darpan-method: facade.ReconciliationFacadeServices.pause#Automation
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.pause#Automation
        params:
          $ref: '#/components/schemas/PauseAutomationParams'
      required:
        - jsonrpc
        - id
        - method
    ReprocessAutomationExecutionRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.reprocess#AutomationExecution
      x-darpan-method: facade.ReconciliationFacadeServices.reprocess#AutomationExecution
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.reprocess#AutomationExecution
        params:
          $ref: '#/components/schemas/ReprocessAutomationExecutionParams'
      required:
        - jsonrpc
        - id
        - method
    ResumeAutomationRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.resume#Automation
      x-darpan-method: facade.ReconciliationFacadeServices.resume#Automation
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.resume#Automation
        params:
          $ref: '#/components/schemas/ResumeAutomationParams'
      required:
        - jsonrpc
        - id
        - method
    RunAutomationNowRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.run#AutomationNow
      x-darpan-method: facade.ReconciliationFacadeServices.run#AutomationNow
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.run#AutomationNow
        params:
          $ref: '#/components/schemas/RunAutomationNowParams'
      required:
        - jsonrpc
        - id
        - method
    RunGenericDiffRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.run#GenericDiff
      x-darpan-method: facade.ReconciliationFacadeServices.run#GenericDiff
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.run#GenericDiff
        params:
          $ref: '#/components/schemas/RunGenericDiffParams'
      required:
        - jsonrpc
        - id
        - method
    RunSavedRunDiffRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.run#SavedRunDiff
      x-darpan-method: facade.ReconciliationFacadeServices.run#SavedRunDiff
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.run#SavedRunDiff
        params:
          $ref: '#/components/schemas/RunSavedRunDiffParams'
      required:
        - jsonrpc
        - id
        - method
    SaveAutomationRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.save#Automation
      x-darpan-method: facade.ReconciliationFacadeServices.save#Automation
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.save#Automation
        params:
          $ref: '#/components/schemas/SaveAutomationParams'
      required:
        - jsonrpc
        - id
        - method
    SaveDashboardPinnedMappingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.save#DashboardPinnedMappings
      x-darpan-method: facade.ReconciliationFacadeServices.save#DashboardPinnedMappings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.save#DashboardPinnedMappings
        params:
          $ref: '#/components/schemas/SaveDashboardPinnedMappingsParams'
      required:
        - jsonrpc
        - id
        - method
    SaveDashboardPinnedSavedRunsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.save#DashboardPinnedSavedRuns
      x-darpan-method: facade.ReconciliationFacadeServices.save#DashboardPinnedSavedRuns
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.save#DashboardPinnedSavedRuns
        params:
          $ref: '#/components/schemas/SaveDashboardPinnedSavedRunsParams'
      required:
        - jsonrpc
        - id
        - method
    SaveMappingRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.save#Mapping
      x-darpan-method: facade.ReconciliationFacadeServices.save#Mapping
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.save#Mapping
        params:
          $ref: '#/components/schemas/SaveMappingParams'
      required:
        - jsonrpc
        - id
        - method
    SaveRuleSetRunRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.save#RuleSetRun
      x-darpan-method: facade.ReconciliationFacadeServices.save#RuleSetRun
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.save#RuleSetRun
        params:
          $ref: '#/components/schemas/SaveRuleSetRunParams'
      required:
        - jsonrpc
        - id
        - method
    SaveSavedRunNameRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ReconciliationFacadeServices.save#SavedRunName
      x-darpan-method: facade.ReconciliationFacadeServices.save#SavedRunName
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ReconciliationFacadeServices.save#SavedRunName
        params:
          $ref: '#/components/schemas/SaveSavedRunNameParams'
      required:
        - jsonrpc
        - id
        - method
    SearchNavigationTargetsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SearchFacadeServices.search#NavigationTargets
      x-darpan-method: facade.SearchFacadeServices.search#NavigationTargets
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SearchFacadeServices.search#NavigationTargets
        params:
          $ref: '#/components/schemas/SearchNavigationTargetsParams'
      required:
        - jsonrpc
        - id
        - method
    GetLlmSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.get#LlmSettings
      x-darpan-method: facade.SettingsFacadeServices.get#LlmSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.get#LlmSettings
        params:
          $ref: '#/components/schemas/GetLlmSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    GetTenantNotificationSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.get#TenantNotificationSettings
      x-darpan-method: facade.SettingsFacadeServices.get#TenantNotificationSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.get#TenantNotificationSettings
        params:
          $ref: '#/components/schemas/GetTenantNotificationSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    GetTenantSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.get#TenantSettings
      x-darpan-method: facade.SettingsFacadeServices.get#TenantSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.get#TenantSettings
        params:
          $ref: '#/components/schemas/GetTenantSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    ListEnumOptionsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.list#EnumOptions
      x-darpan-method: facade.SettingsFacadeServices.list#EnumOptions
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.list#EnumOptions
        params:
          $ref: '#/components/schemas/ListEnumOptionsParams'
      required:
        - jsonrpc
        - id
        - method
    ListNsAuthConfigsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.list#NsAuthConfigs
      x-darpan-method: facade.SettingsFacadeServices.list#NsAuthConfigs
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.list#NsAuthConfigs
        params:
          $ref: '#/components/schemas/ListNsAuthConfigsParams'
      required:
        - jsonrpc
        - id
        - method
    ListNsRestletConfigsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.list#NsRestletConfigs
      x-darpan-method: facade.SettingsFacadeServices.list#NsRestletConfigs
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.list#NsRestletConfigs
        params:
          $ref: '#/components/schemas/ListNsRestletConfigsParams'
      required:
        - jsonrpc
        - id
        - method
    ListSftpServersRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.list#SftpServers
      x-darpan-method: facade.SettingsFacadeServices.list#SftpServers
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.list#SftpServers
        params:
          $ref: '#/components/schemas/ListSftpServersParams'
      required:
        - jsonrpc
        - id
        - method
    SaveLlmSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.save#LlmSettings
      x-darpan-method: facade.SettingsFacadeServices.save#LlmSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.save#LlmSettings
        params:
          $ref: '#/components/schemas/SaveLlmSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    SaveNsAuthConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.save#NsAuthConfig
      x-darpan-method: facade.SettingsFacadeServices.save#NsAuthConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.save#NsAuthConfig
        params:
          $ref: '#/components/schemas/SaveNsAuthConfigParams'
      required:
        - jsonrpc
        - id
        - method
    SaveNsRestletConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.save#NsRestletConfig
      x-darpan-method: facade.SettingsFacadeServices.save#NsRestletConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.save#NsRestletConfig
        params:
          $ref: '#/components/schemas/SaveNsRestletConfigParams'
      required:
        - jsonrpc
        - id
        - method
    SaveSftpServerRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.save#SftpServer
      x-darpan-method: facade.SettingsFacadeServices.save#SftpServer
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.save#SftpServer
        params:
          $ref: '#/components/schemas/SaveSftpServerParams'
      required:
        - jsonrpc
        - id
        - method
    SaveTenantNotificationSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.save#TenantNotificationSettings
      x-darpan-method: facade.SettingsFacadeServices.save#TenantNotificationSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.save#TenantNotificationSettings
        params:
          $ref: '#/components/schemas/SaveTenantNotificationSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    SaveTenantSettingsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.SettingsFacadeServices.save#TenantSettings
      x-darpan-method: facade.SettingsFacadeServices.save#TenantSettings
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.SettingsFacadeServices.save#TenantSettings
        params:
          $ref: '#/components/schemas/SaveTenantSettingsParams'
      required:
        - jsonrpc
        - id
        - method
    DeleteShopifyAuthConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ShopifyFacadeServices.delete#ShopifyAuthConfig
      x-darpan-method: facade.ShopifyFacadeServices.delete#ShopifyAuthConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ShopifyFacadeServices.delete#ShopifyAuthConfig
        params:
          $ref: '#/components/schemas/DeleteShopifyAuthConfigParams'
      required:
        - jsonrpc
        - id
        - method
    GetShopifyAuthConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ShopifyFacadeServices.get#ShopifyAuthConfig
      x-darpan-method: facade.ShopifyFacadeServices.get#ShopifyAuthConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ShopifyFacadeServices.get#ShopifyAuthConfig
        params:
          $ref: '#/components/schemas/GetShopifyAuthConfigParams'
      required:
        - jsonrpc
        - id
        - method
    ListShopifyAuthConfigsRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ShopifyFacadeServices.list#ShopifyAuthConfigs
      x-darpan-method: facade.ShopifyFacadeServices.list#ShopifyAuthConfigs
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ShopifyFacadeServices.list#ShopifyAuthConfigs
        params:
          $ref: '#/components/schemas/ListShopifyAuthConfigsParams'
      required:
        - jsonrpc
        - id
        - method
    SaveShopifyAuthConfigRequest:
      type: object
      description: >-
        JSON-RPC request envelope for
        facade.ShopifyFacadeServices.save#ShopifyAuthConfig
      x-darpan-method: facade.ShopifyFacadeServices.save#ShopifyAuthConfig
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        method:
          type: string
          const: facade.ShopifyFacadeServices.save#ShopifyAuthConfig
        params:
          $ref: '#/components/schemas/SaveShopifyAuthConfigParams'
      required:
        - jsonrpc
        - id
        - method
    JsonRpcErrorResponse:
      type: object
      description: >-
        Dispatcher-level failure: protocol errors (-32xxx), unhandled service
        errors (code 500), or authorization denial (code 403). Facade business
        validation does NOT use this shape — it returns a success envelope with
        result.ok=false and result.errors[].
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
            - type: 'null'
        error:
          $ref: '#/components/schemas/JsonRpcError'
      required:
        - jsonrpc
        - error
    ChangeOwnPasswordResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.AuthFacadeServices.change#OwnPassword. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ChangeOwnPasswordResult'
      required:
        - jsonrpc
        - result
    GetSessionInfoResponse:
      type: object
      description: >-
        JSON-RPC success envelope for facade.AuthFacadeServices.get#SessionInfo.
        Check result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetSessionInfoResult'
      required:
        - jsonrpc
        - result
    LoginSessionResponse:
      type: object
      description: >-
        JSON-RPC success envelope for facade.AuthFacadeServices.login#Session.
        Check result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/LoginSessionResult'
      required:
        - jsonrpc
        - result
    LogoutAllSessionsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.AuthFacadeServices.logout#AllSessions. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/LogoutAllSessionsResult'
      required:
        - jsonrpc
        - result
    LogoutSessionResponse:
      type: object
      description: >-
        JSON-RPC success envelope for facade.AuthFacadeServices.logout#Session.
        Check result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/LogoutSessionResult'
      required:
        - jsonrpc
        - result
    SaveActiveTenantResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.AuthFacadeServices.save#ActiveTenant. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveActiveTenantResult'
      required:
        - jsonrpc
        - result
    SaveUserSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.AuthFacadeServices.save#UserSettings. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveUserSettingsResult'
      required:
        - jsonrpc
        - result
    VerifyOwnPasswordResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.AuthFacadeServices.verify#OwnPassword. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/VerifyOwnPasswordResult'
      required:
        - jsonrpc
        - result
    DeleteHotWaxOmsRestSourceConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.HotWaxOmsFacadeServices.delete#HotWaxOmsRestSourceConfig. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/DeleteHotWaxOmsRestSourceConfigResult'
      required:
        - jsonrpc
        - result
    ListHotWaxOmsRestSourceConfigsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.HotWaxOmsFacadeServices.list#HotWaxOmsRestSourceConfigs. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListHotWaxOmsRestSourceConfigsResult'
      required:
        - jsonrpc
        - result
    SaveHotWaxOmsRestSourceConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.HotWaxOmsFacadeServices.save#HotWaxOmsRestSourceConfig. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveHotWaxOmsRestSourceConfigResult'
      required:
        - jsonrpc
        - result
    DeleteJsonSchemaResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.delete#JsonSchema. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/DeleteJsonSchemaResult'
      required:
        - jsonrpc
        - result
    FlattenJsonSchemaResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.flatten#JsonSchema. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/FlattenJsonSchemaResult'
      required:
        - jsonrpc
        - result
    GetJsonSchemaResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.get#JsonSchema. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetJsonSchemaResult'
      required:
        - jsonrpc
        - result
    InferJsonSchemaFromTextResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.infer#JsonSchemaFromText. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/InferJsonSchemaFromTextResult'
      required:
        - jsonrpc
        - result
    ListJsonSchemasResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.list#JsonSchemas. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListJsonSchemasResult'
      required:
        - jsonrpc
        - result
    SaveJsonSchemaTextResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.save#JsonSchemaText. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveJsonSchemaTextResult'
      required:
        - jsonrpc
        - result
    SaveRefinedSchemaResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.save#RefinedSchema. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveRefinedSchemaResult'
      required:
        - jsonrpc
        - result
    ValidateJsonTextAgainstSchemaResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.JsonSchemaFacadeServices.validate#JsonTextAgainstSchema. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ValidateJsonTextAgainstSchemaResult'
      required:
        - jsonrpc
        - result
    CreateCsvRunResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.create#CsvRun. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/CreateCsvRunResult'
      required:
        - jsonrpc
        - result
    CreateMappingResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.create#Mapping. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/CreateMappingResult'
      required:
        - jsonrpc
        - result
    CreateRuleSetRunResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.create#RuleSetRun. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/CreateRuleSetRunResult'
      required:
        - jsonrpc
        - result
    DeleteAutomationResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.delete#Automation. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/DeleteAutomationResult'
      required:
        - jsonrpc
        - result
    DeleteGeneratedOutputResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.delete#GeneratedOutput. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/DeleteGeneratedOutputResult'
      required:
        - jsonrpc
        - result
    DeleteSavedRunResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.delete#SavedRun. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/DeleteSavedRunResult'
      required:
        - jsonrpc
        - result
    GetAutomationResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.get#Automation. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetAutomationResult'
      required:
        - jsonrpc
        - result
    GetGeneratedOutputResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.get#GeneratedOutput. Check result.ok
        / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetGeneratedOutputResult'
      required:
        - jsonrpc
        - result
    GetGeneratedOutputDifferencesResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.get#GeneratedOutputDifferences.
        Check result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetGeneratedOutputDifferencesResult'
      required:
        - jsonrpc
        - result
    GetMappingResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.get#Mapping. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetMappingResult'
      required:
        - jsonrpc
        - result
    ListAutomationExecutionsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.list#AutomationExecutions. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListAutomationExecutionsResult'
      required:
        - jsonrpc
        - result
    ListAutomationSourceOptionsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.list#AutomationSourceOptions. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListAutomationSourceOptionsResult'
      required:
        - jsonrpc
        - result
    ListAutomationsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.list#Automations. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListAutomationsResult'
      required:
        - jsonrpc
        - result
    ListGeneratedOutputsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.list#GeneratedOutputs. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListGeneratedOutputsResult'
      required:
        - jsonrpc
        - result
    ListMappingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.list#Mappings. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListMappingsResult'
      required:
        - jsonrpc
        - result
    ListSavedRunsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.list#SavedRuns. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListSavedRunsResult'
      required:
        - jsonrpc
        - result
    PauseAutomationResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.pause#Automation. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/PauseAutomationResult'
      required:
        - jsonrpc
        - result
    ReprocessAutomationExecutionResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.reprocess#AutomationExecution. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ReprocessAutomationExecutionResult'
      required:
        - jsonrpc
        - result
    ResumeAutomationResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.resume#Automation. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ResumeAutomationResult'
      required:
        - jsonrpc
        - result
    RunAutomationNowResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.run#AutomationNow. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/RunAutomationNowResult'
      required:
        - jsonrpc
        - result
    RunGenericDiffResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.run#GenericDiff. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/RunGenericDiffResult'
      required:
        - jsonrpc
        - result
    RunSavedRunDiffResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.run#SavedRunDiff. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/RunSavedRunDiffResult'
      required:
        - jsonrpc
        - result
    SaveAutomationResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.save#Automation. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveAutomationResult'
      required:
        - jsonrpc
        - result
    SaveDashboardPinnedMappingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.save#DashboardPinnedMappings. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveDashboardPinnedMappingsResult'
      required:
        - jsonrpc
        - result
    SaveDashboardPinnedSavedRunsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.save#DashboardPinnedSavedRuns. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveDashboardPinnedSavedRunsResult'
      required:
        - jsonrpc
        - result
    SaveMappingResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.save#Mapping. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveMappingResult'
      required:
        - jsonrpc
        - result
    SaveRuleSetRunResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.save#RuleSetRun. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveRuleSetRunResult'
      required:
        - jsonrpc
        - result
    SaveSavedRunNameResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ReconciliationFacadeServices.save#SavedRunName. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveSavedRunNameResult'
      required:
        - jsonrpc
        - result
    SearchNavigationTargetsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SearchFacadeServices.search#NavigationTargets. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SearchNavigationTargetsResult'
      required:
        - jsonrpc
        - result
    GetLlmSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.get#LlmSettings. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetLlmSettingsResult'
      required:
        - jsonrpc
        - result
    GetTenantNotificationSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.get#TenantNotificationSettings. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetTenantNotificationSettingsResult'
      required:
        - jsonrpc
        - result
    GetTenantSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.get#TenantSettings. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetTenantSettingsResult'
      required:
        - jsonrpc
        - result
    ListEnumOptionsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.list#EnumOptions. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListEnumOptionsResult'
      required:
        - jsonrpc
        - result
    ListNsAuthConfigsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.list#NsAuthConfigs. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListNsAuthConfigsResult'
      required:
        - jsonrpc
        - result
    ListNsRestletConfigsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.list#NsRestletConfigs. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListNsRestletConfigsResult'
      required:
        - jsonrpc
        - result
    ListSftpServersResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.list#SftpServers. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListSftpServersResult'
      required:
        - jsonrpc
        - result
    SaveLlmSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.save#LlmSettings. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveLlmSettingsResult'
      required:
        - jsonrpc
        - result
    SaveNsAuthConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.save#NsAuthConfig. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveNsAuthConfigResult'
      required:
        - jsonrpc
        - result
    SaveNsRestletConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.save#NsRestletConfig. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveNsRestletConfigResult'
      required:
        - jsonrpc
        - result
    SaveSftpServerResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.save#SftpServer. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveSftpServerResult'
      required:
        - jsonrpc
        - result
    SaveTenantNotificationSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.save#TenantNotificationSettings. Check
        result.ok / result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveTenantNotificationSettingsResult'
      required:
        - jsonrpc
        - result
    SaveTenantSettingsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.SettingsFacadeServices.save#TenantSettings. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveTenantSettingsResult'
      required:
        - jsonrpc
        - result
    DeleteShopifyAuthConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ShopifyFacadeServices.delete#ShopifyAuthConfig. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/DeleteShopifyAuthConfigResult'
      required:
        - jsonrpc
        - result
    GetShopifyAuthConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ShopifyFacadeServices.get#ShopifyAuthConfig. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/GetShopifyAuthConfigResult'
      required:
        - jsonrpc
        - result
    ListShopifyAuthConfigsResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ShopifyFacadeServices.list#ShopifyAuthConfigs. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/ListShopifyAuthConfigsResult'
      required:
        - jsonrpc
        - result
    SaveShopifyAuthConfigResponse:
      type: object
      description: >-
        JSON-RPC success envelope for
        facade.ShopifyFacadeServices.save#ShopifyAuthConfig. Check result.ok /
        result.errors for business failures.
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          oneOf:
            - type: string
            - type: number
        result:
          $ref: '#/components/schemas/SaveShopifyAuthConfigResult'
      required:
        - jsonrpc
        - result
    ChangeOwnPasswordParams:
      type: object
      properties:
        currentPassword:
          type: string
          description: The authenticated user's current password.
        newPassword:
          type: string
          description: The new password requested by the authenticated user.
        newPasswordVerify:
          type: string
          description: Confirmation value for the new password.
      required:
        - currentPassword
        - newPassword
        - newPasswordVerify
      description: >-
        Change the authenticated user's own password using Moqui's standard
        password policy checks.
    GetSessionInfoParams:
      type: object
      properties: {}
      description: >-
        Return session metadata for darpan-ui route guards. Moqui resolves the
        request user from the explicit `login_key` header when present.
    LoginSessionParams:
      type: object
      properties:
        username:
          type: string
          description: Account username used for login.
        password:
          type: string
          description: Account password used for login.
      required:
        - username
        - password
      description: >-
        Create an authenticated session from username/password and return the
        explicit Moqui login-key token darpan-ui sends on later requests.
    LogoutAllSessionsParams:
      type: object
      properties: {}
      description: >-
        Revoke every active UserLoginKey for the authenticated user (sign out on
        every device).
    LogoutSessionParams:
      type: object
      properties: {}
      description: >-
        Revoke the explicit login-key token from the current request and
        terminate any active authenticated session.
    SaveActiveTenantParams:
      type: object
      properties:
        activeTenantUserGroupId:
          type: string
          description: User-group id for the tenant the user wants to work in.
      required:
        - activeTenantUserGroupId
      description: >-
        Persist the authenticated user's active tenant selection and return
        refreshed session metadata.
    SaveUserSettingsParams:
      type: object
      properties:
        displayName:
          type: string
          description: Optional user display name shown by darpan-ui instead of username.
      description: >-
        Persist authenticated user-level settings and return refreshed session
        metadata.
    VerifyOwnPasswordParams:
      type: object
      properties:
        currentPassword:
          type: string
          description: >-
            The authenticated user's current password to verify before a
            self-service password change proceeds.
      required:
        - currentPassword
      description: >-
        Verify the authenticated user's current password without mutating the
        password or issuing a new login token.
    DeleteHotWaxOmsRestSourceConfigParams:
      type: object
      properties:
        omsRestSourceConfigId:
          type: string
      required:
        - omsRestSourceConfigId
      description: Delete one tenant-owned HotWax OMS REST source configuration.
    ListHotWaxOmsRestSourceConfigsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: List OMS REST source configurations available to the active tenant.
    SaveHotWaxOmsRestSourceConfigParams:
      type: object
      properties:
        omsRestSourceConfigId:
          type: string
        description:
          type: string
        baseUrl:
          type: string
        ordersPath:
          type: string
        timeZone:
          type: string
        authType:
          type: string
          description: >-
            Supported values are NONE, BASIC, BEARER, and API_KEY. API_KEY sends
            the encrypted API token in the OMS Swagger-documented api_key
            header.
        username:
          type: string
        password:
          type: string
        apiToken:
          type: string
        headersJson:
          type: string
        connectTimeoutSeconds:
          type: integer
        readTimeoutSeconds:
          type: integer
        isActive:
          type: boolean
        canReadOrders:
          type: boolean
      required:
        - omsRestSourceConfigId
        - baseUrl
      description: >-
        Create or update a tenant-owned OMS REST source configuration. Secret
        fields are stored encrypted and are never returned in clear text.
    DeleteJsonSchemaParams:
      type: object
      properties:
        jsonSchemaId:
          type: string
        schemaName:
          type: string
      description: Delete a saved JSON schema by id or schemaName.
    FlattenJsonSchemaParams:
      type: object
      properties:
        jsonSchemaId:
          type: string
        schemaName:
          type: string
      description: Flatten a saved schema to editor field rows.
    GetJsonSchemaParams:
      type: object
      properties:
        jsonSchemaId:
          type: string
        schemaName:
          type: string
      description: Get a single JSON schema including schemaText.
    InferJsonSchemaFromTextParams:
      type: object
      properties:
        jsonText:
          type: string
      required:
        - jsonText
      description: Infer schema from JSON text and return flattened editor field rows.
    ListJsonSchemasParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: List active JSON schemas with pagination for darpan-ui browse page.
    SaveJsonSchemaTextParams:
      type: object
      properties:
        jsonSchemaId:
          type: string
        schemaName:
          type: string
        description:
          type: string
        systemEnumId:
          type: string
        schemaText:
          type: string
        overwrite:
          type: boolean
      required:
        - schemaText
      description: >-
        Save schema text directly from darpan-ui (no backend screen transition
        dependency).
    SaveRefinedSchemaParams:
      type: object
      properties:
        jsonSchemaId:
          type: string
        schemaName:
          type: string
        description:
          type: string
        systemEnumId:
          type: string
        fieldList:
          type: array
          items: {}
      required:
        - fieldList
      description: Save refined schema field rows from editor in darpan-ui.
    ValidateJsonTextAgainstSchemaParams:
      type: object
      properties:
        jsonText:
          type: string
        jsonSchemaId:
          type: string
        schemaName:
          type: string
      required:
        - jsonText
      description: Validate JSON text against a saved schema.
    CreateCsvRunParams:
      type: object
      properties:
        runName:
          type: string
        description:
          type: string
        file1SystemEnumId:
          type: string
        file2SystemEnumId:
          type: string
        file1CompareColumn:
          type: string
        file2CompareColumn:
          type: string
      required:
        - runName
        - file1SystemEnumId
        - file2SystemEnumId
        - file1CompareColumn
        - file2CompareColumn
      description: >-
        Create a tenant-scoped CSV saved run backed by one RuleSet compare
        scope.
    CreateMappingParams:
      type: object
      properties:
        mappingName:
          type: string
        schema1Id:
          type: string
        schema2Id:
          type: string
        schema1FieldPath:
          type: string
        schema2FieldPath:
          type: string
      required:
        - mappingName
        - schema1Id
        - schema2Id
        - schema1FieldPath
        - schema2FieldPath
      description: >-
        Create a reconciliation mapping from two saved JSON schemas and selected
        id field paths.
    CreateRuleSetRunParams:
      type: object
      properties:
        runName:
          type: string
        description:
          type: string
        file1SystemEnumId:
          type: string
        file1SourceTypeEnumId:
          type: string
        file1SystemMessageRemoteId:
          type: string
        file1NsRestletConfigId:
          type: string
        file1SourceConfigId:
          type: string
        file1SourceConfigType:
          type: string
        file1FileTypeEnumId:
          type: string
        file1SchemaFileName:
          type: string
        file1RecordRootExpression:
          type: string
        file1PrimaryIdExpression:
          type: string
        file2SystemEnumId:
          type: string
        file2SourceTypeEnumId:
          type: string
        file2SystemMessageRemoteId:
          type: string
        file2NsRestletConfigId:
          type: string
        file2SourceConfigId:
          type: string
        file2SourceConfigType:
          type: string
        file2FileTypeEnumId:
          type: string
        file2SchemaFileName:
          type: string
        file2RecordRootExpression:
          type: string
        file2PrimaryIdExpression:
          type: string
        rules:
          type: array
          items:
            type: object
            properties:
              ruleId:
                type: string
              sequenceNum:
                type: integer
              ruleText:
                type: string
              ruleLogic:
                type: string
              ruleType:
                type: string
              expression:
                type: string
              enabled:
                type: string
              severity:
                type: string
      required:
        - runName
        - file1SystemEnumId
        - file2SystemEnumId
      description: >-
        Create a tenant-scoped saved run backed by one RuleSet compare scope and
        zero or more initial rules.
    DeleteAutomationParams:
      type: object
      properties:
        automationId:
          type: string
      required:
        - automationId
      description: >-
        Delete one tenant-scoped automation configuration, its source rows, and
        its execution history rows.
    DeleteGeneratedOutputParams:
      type: object
      properties:
        fileName:
          type: string
          description: >-
            Generated-output file name or safe data-manager relative path
            returned by list#GeneratedOutputs.
      required:
        - fileName
      description: Delete one scoped generated reconciliation diff output file.
    DeleteSavedRunParams:
      type: object
      properties:
        savedRunId:
          type: string
      required:
        - savedRunId
      description: Delete one tenant-scoped saved run and generated outputs created for it.
    GetAutomationParams:
      type: object
      properties:
        automationId:
          type: string
      required:
        - automationId
      description: >-
        Get one tenant-scoped automation with editable source rows and dashboard
        summary fields.
    GetGeneratedOutputParams:
      type: object
      properties:
        fileName:
          type: string
          description: >-
            Generated-output file name or safe data-manager relative path
            returned by list#GeneratedOutputs.
        format:
          type: string
      required:
        - fileName
      description: >-
        Retrieve a scoped generated diff output for direct download from
        darpan-ui.
    GetGeneratedOutputDifferencesParams:
      type: object
      properties:
        fileName:
          type: string
          description: >-
            Generated-output result file name or safe relative path returned by
            list#GeneratedOutputs.
        pageIndex:
          type: integer
        pageSize:
          type: integer
        buckets:
          type: string
          description: >-
            Comma-separated active diff buckets (file-1,file-2,rule). Empty
            means all.
        ruleFilterKey:
          type: string
          description: >-
            Rule selector key ('all', 'base-diff', or a specific rule filter
            key).
        search:
          type: string
          description: Optional record-id substring filter (case-insensitive).
        includeFacets:
          type: boolean
          description: Skip bucket counts + rule options for pure page navigation.
      required:
        - fileName
      description: >-
        Return a bounded page of a JSON diff document's differences (plus
        whole-document facets,
                    effective summary, metadata, and a download descriptor WITHOUT the file body) so darpan-ui
                    can render large reconciliation results without loading the entire file. Audit #21.
    GetMappingParams:
      type: object
      properties:
        reconciliationMappingId:
          type: string
      required:
        - reconciliationMappingId
      description: >-
        Load one mapping with editable schema and field details for darpan-ui
        settings workflows.
    ListAutomationExecutionsParams:
      type: object
      properties:
        automationId:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: >-
        List execution history for the active tenant, optionally filtered to one
        automation.
    ListAutomationSourceOptionsParams:
      type: object
      properties: {}
      description: >-
        List active-tenant saved runs, SFTP servers, NetSuite endpoints, system
        remotes, and enum options needed by automation workflows.
    ListAutomationsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: >-
        List tenant-scoped reconciliation automations with dashboard-ready
        saved-run, source, schedule, last-execution, and permission summaries.
    ListGeneratedOutputsParams:
      type: object
      properties:
        savedRunId:
          type: string
        reconciliationMappingId:
          type: string
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: >-
        List generated reconciliation diff outputs within the current
        active-tenant scope.
    ListMappingsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: >-
        List mapping options and their system pairs for darpan-ui generic diff
        flow.
    ListSavedRunsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: List saved runs across legacy mappings and RuleSet-backed CSV runs.
    PauseAutomationParams:
      type: object
      properties:
        automationId:
          type: string
      required:
        - automationId
      description: Pause one tenant-scoped automation by setting isActive to N.
    ReprocessAutomationExecutionParams:
      type: object
      properties:
        automationExecutionId:
          type: string
        maxRetryCount:
          type: integer
          description: >-
            Optional override for the retry budget on the re-driven execution;
            defaults to the execution's existing/platform value.
      required:
        - automationExecutionId
      description: >-
        Operator re-drive: reset a FAILED or dead-lettered automation execution
        to PENDING so the retry scanner runs it again, after active-tenant
        ownership and run-permission validation.
    ResumeAutomationParams:
      type: object
      properties:
        automationId:
          type: string
      required:
        - automationId
      description: Resume one tenant-scoped automation by setting isActive to Y.
    RunAutomationNowParams:
      type: object
      properties:
        automationId:
          type: string
        scheduledFireTime:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        windowStartDate:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        windowEndDate:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        hasHeader:
          type: boolean
        outputLocation:
          type: string
        sparkMaster:
          type: string
        sparkAppName:
          type: string
      required:
        - automationId
      description: >-
        Run one automation immediately after active-tenant ownership and
        run-permission validation.
    RunGenericDiffParams:
      type: object
      properties:
        reconciliationMappingId:
          type: string
        file1Name:
          type: string
        file1Text:
          type: string
        file2Name:
          type: string
        file2Text:
          type: string
        file1SystemEnumId:
          type: string
        file2SystemEnumId:
          type: string
        hasHeader:
          type: boolean
        sparkMaster:
          type: string
        sparkAppName:
          type: string
      required:
        - reconciliationMappingId
      description: >-
        Run the generic diff flow using text-based file payloads suitable for
        darpan-ui JSON-RPC calls.
    RunSavedRunDiffParams:
      type: object
      properties:
        savedRunId:
          type: string
        file1Name:
          type: string
        file1Text:
          type: string
        file2Name:
          type: string
        file2Text:
          type: string
        file1SystemEnumId:
          type: string
        file2SystemEnumId:
          type: string
        windowStartDate:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        windowEndDate:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        windowStartLocalDate:
          type: string
        windowEndLocalDate:
          type: string
        hasHeader:
          type: boolean
        sparkMaster:
          type: string
        sparkAppName:
          type: string
      required:
        - savedRunId
      description: >-
        Run a saved reconciliation flow backed by either a legacy mapping or a
        RuleSet compare scope.
    SaveAutomationParams:
      type: object
      properties:
        automationId:
          type: string
        automationName:
          type: string
        description:
          type: string
        inputModeEnumId:
          type: string
        savedRunId:
          type: string
        savedRunType:
          type: string
        savedRun:
          type: object
        newSavedRun:
          type: object
        scheduleExpr:
          type: string
        nextScheduledFireTime:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        lastScheduledFireTime:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        relativeWindowTypeEnumId:
          type: string
        relativeWindowCount:
          type: integer
        customWindowStartDate:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        customWindowEndDate:
          oneOf:
            - type: string
            - type: number
          description: Timestamp — ISO-8601 string or epoch milliseconds
        maxWindowDays:
          type: integer
        splitWindowDays:
          type: integer
        windowTimeZone:
          type: string
        safeConfigJson:
          type: string
        isActive:
          type: boolean
        sources:
          type: array
          items:
            type: object
            properties:
              fileSide:
                type: string
              sourceTypeEnumId:
                type: string
              systemEnumId:
                type: string
              fileTypeEnumId:
                type: string
              schemaFileName:
                type: string
              recordRootExpression:
                type: string
              primaryIdExpression:
                type: string
              idValueNormalizer:
                type: string
              systemMessageRemoteId:
                type: string
              nsRestletConfigId:
                type: string
              sftpServerId:
                type: string
              remotePathTemplate:
                type: string
              fileNamePattern:
                type: string
              apiRequestTemplateJson:
                type: string
              apiResponsePathExpression:
                type: string
              dateFromParameterName:
                type: string
              dateToParameterName:
                type: string
              safeMetadataJson:
                type: string
              optionKey:
                type: string
              sourceConfigId:
                type: string
              shopifyAuthConfigId:
                type: string
              omsRestSourceConfigId:
                type: string
      required:
        - automationName
        - inputModeEnumId
      description: >-
        Create or update a tenant-scoped automation against either an existing
        saved run or a newly-created saved run payload.
    SaveDashboardPinnedMappingsParams:
      type: object
      properties:
        pinnedReconciliationMappingIds:
          type: array
          items:
            type: string
      description: >-
        Persist dashboard pinned reconciliation mappings for the authenticated
        user.
    SaveDashboardPinnedSavedRunsParams:
      type: object
      properties:
        pinnedSavedRunIds:
          type: array
          items:
            type: string
      description: Persist dashboard pinned saved runs for the authenticated user.
    SaveMappingParams:
      type: object
      properties:
        reconciliationMappingId:
          type: string
        mappingName:
          type: string
        schema1Id:
          type: string
        schema2Id:
          type: string
        schema1FieldPath:
          type: string
        schema2FieldPath:
          type: string
      required:
        - reconciliationMappingId
        - mappingName
        - schema1Id
        - schema2Id
        - schema1FieldPath
        - schema2FieldPath
      description: Update an existing two-source mapping for darpan-ui settings workflows.
    SaveRuleSetRunParams:
      type: object
      properties:
        savedRunId:
          type: string
        runName:
          type: string
        description:
          type: string
        file1SystemEnumId:
          type: string
        file1SourceTypeEnumId:
          type: string
        file1SystemMessageRemoteId:
          type: string
        file1NsRestletConfigId:
          type: string
        file1SourceConfigId:
          type: string
        file1SourceConfigType:
          type: string
        file1FileTypeEnumId:
          type: string
        file1SchemaFileName:
          type: string
        file1RecordRootExpression:
          type: string
        file1PrimaryIdExpression:
          type: string
        file2SystemEnumId:
          type: string
        file2SourceTypeEnumId:
          type: string
        file2SystemMessageRemoteId:
          type: string
        file2NsRestletConfigId:
          type: string
        file2SourceConfigId:
          type: string
        file2SourceConfigType:
          type: string
        file2FileTypeEnumId:
          type: string
        file2SchemaFileName:
          type: string
        file2RecordRootExpression:
          type: string
        file2PrimaryIdExpression:
          type: string
        rules:
          type: array
          items:
            type: object
            properties:
              ruleId:
                type: string
              sequenceNum:
                type: integer
              ruleText:
                type: string
              ruleLogic:
                type: string
              ruleType:
                type: string
              expression:
                type: string
              enabled:
                type: string
              severity:
                type: string
      required:
        - savedRunId
        - runName
        - file1SystemEnumId
        - file2SystemEnumId
      description: >-
        Update configuration and, when provided, the executable rules for a
        tenant-scoped RuleSet-backed saved run.
    SaveSavedRunNameParams:
      type: object
      properties:
        savedRunId:
          type: string
        runName:
          type: string
      required:
        - savedRunId
        - runName
      description: >-
        Rename one tenant-scoped saved run without changing its source or rule
        configuration.
    SearchNavigationTargetsParams:
      type: object
      properties:
        query:
          type: string
        types:
          type: array
          items:
            type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: >-
        Search authorized Darpan records and return normalized navigation
        targets for Ask Darpan.
    GetLlmSettingsParams:
      type: object
      properties:
        llmProvider:
          type: string
      description: Get LLM provider settings with stored-secret indicators.
    GetTenantNotificationSettingsParams:
      type: object
      properties: {}
      description: >-
        Get active-tenant notification settings with Google Chat webhook
        redaction.
    GetTenantSettingsParams:
      type: object
      properties: {}
      description: Get active-tenant settings shared by users in the tenant.
    ListEnumOptionsParams:
      type: object
      properties:
        enumTypeId:
          type: string
      required:
        - enumTypeId
      description: List enum options for frontend dropdowns using fallback-friendly labels.
    ListNsAuthConfigsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: List NetSuite auth configurations with secret indicators.
    ListNsRestletConfigsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: List NetSuite endpoint configs joined with auth metadata.
    ListSftpServersParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: List SFTP server configs with secret redaction indicators.
    SaveLlmSettingsParams:
      type: object
      properties:
        llmProvider:
          type: string
        llmApiKey:
          type: string
        llmModel:
          type: string
        llmBaseUrl:
          type: string
        llmTimeoutSeconds:
          type: string
        llmEnabled:
          type: string
      required:
        - llmProvider
      description: Save LLM provider settings while preserving existing key when blank.
    SaveNsAuthConfigParams:
      type: object
      properties:
        nsAuthConfigId:
          type: string
        description:
          type: string
        authType:
          type: string
        username:
          type: string
        password:
          type: string
        apiToken:
          type: string
        tokenUrl:
          type: string
        clientId:
          type: string
        certId:
          type: string
        scope:
          type: string
        privateKeyPem:
          type: string
        isActive:
          type: boolean
      required:
        - nsAuthConfigId
      description: Create or update a NetSuite auth configuration.
    SaveNsRestletConfigParams:
      type: object
      properties:
        nsRestletConfigId:
          type: string
        description:
          type: string
        endpointUrl:
          type: string
        httpMethod:
          type: string
        nsAuthConfigId:
          type: string
        headersJson:
          type: string
        connectTimeoutSeconds:
          type: integer
        readTimeoutSeconds:
          type: integer
        isActive:
          type: boolean
      required:
        - nsRestletConfigId
        - endpointUrl
        - nsAuthConfigId
      description: >-
        Create or update a NetSuite endpoint configuration bound to an auth
        config.
    SaveSftpServerParams:
      type: object
      properties:
        sftpServerId:
          type: string
        description:
          type: string
        host:
          type: string
        port:
          type: integer
        username:
          type: string
        password:
          type: string
        privateKey:
          type: string
        remoteAttributes:
          type: boolean
      required:
        - sftpServerId
        - host
        - username
      description: Create or update an SFTP server configuration.
    SaveTenantNotificationSettingsParams:
      type: object
      properties:
        googleChatWebhookUrl:
          type: string
        isActive:
          type: boolean
      description: Save one Google Chat run-completion webhook for the active tenant.
    SaveTenantSettingsParams:
      type: object
      properties:
        timeZone:
          type: string
          description: >-
            Timezone identifier for the active tenant, such as UTC or
            America/Los_Angeles.
      required:
        - timeZone
      description: Save active-tenant settings shared by users in the tenant.
    DeleteShopifyAuthConfigParams:
      type: object
      properties:
        shopifyAuthConfigId:
          type: string
      required:
        - shopifyAuthConfigId
      description: Delete one tenant-owned Shopify auth config.
    GetShopifyAuthConfigParams:
      type: object
      properties:
        shopifyAuthConfigId:
          type: string
      required:
        - shopifyAuthConfigId
      description: >-
        Get one Shopify auth config for the active tenant with the access token
        redacted.
    ListShopifyAuthConfigsParams:
      type: object
      properties:
        query:
          type: string
        pageIndex:
          type: integer
        pageSize:
          type: integer
      description: >-
        List Shopify auth configs for the active tenant with secret redaction
        indicators.
    SaveShopifyAuthConfigParams:
      type: object
      properties:
        shopifyAuthConfigId:
          type: string
        description:
          type: string
        shopApiUrl:
          type: string
        apiVersion:
          type: string
        timeZone:
          type: string
        accessToken:
          type: string
        isActive:
          type: string
        canReadOrders:
          type: string
      required:
        - shopifyAuthConfigId
        - shopApiUrl
        - apiVersion
      description: >-
        Create or update a tenant-owned Shopify auth config, preserving the
        stored token when no replacement is provided.
    JsonRpcError:
      type: object
      description: JSON-RPC error object as emitted by the Moqui dispatcher
      properties:
        code:
          type: integer
          enum:
            - -32700
            - -32600
            - -32601
            - -32602
            - -32603
            - 500
            - 403
          description: >-
            -32700 parse error; -32600 invalid request; -32601 method not found;
            -32602 invalid params; -32603 internal error (defined, rarely
            emitted); 500 service error (exception or unhandled ec.message
            errors); 403 authorization denied (ArtifactAuthorizationException)
        message:
          type: string
          description: Real error string from the backend
        data:
          description: Optional implementation-specific detail
      required:
        - code
        - message
    ChangeOwnPasswordResult:
      type: object
      properties:
        ok:
          type: boolean
          description: True when the password update completed without facade errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during password update handling.
        errors:
          type: array
          items:
            type: string
          description: Errors returned while validating or changing the password.
        authenticated:
          type: boolean
          description: True when the current request resolves to an authenticated session.
        passwordUpdated:
          type: boolean
          description: >-
            True when Moqui successfully changed the authenticated user's
            password.
        sessionInfo:
          type: object
          properties:
            userId:
              type: string
            username:
              type: string
            displayName:
              type: string
            locale:
              type: string
            timeZone:
              type: string
            lastLoginDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastRun:
              type: object
              properties:
                reconciliationRunResultId:
                  type: string
                savedRunId:
                  type: string
                savedRunType:
                  type: string
                reconciliationRunId:
                  type: string
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
            scopeType:
              type: string
            customerScopeId:
              type: string
            activeTenantUserGroupId:
              type: string
            activeTenantLabel:
              type: string
            availableTenants:
              type: array
              items:
                type: object
                properties:
                  userGroupId:
                    type: string
                  label:
                    type: string
            activeTenantPermissionGroupIds:
              type: array
              items:
                type: string
            canViewActiveTenantData:
              type: boolean
            canRunActiveTenantReconciliation:
              type: boolean
            canEditActiveTenantData:
              type: boolean
            canManageDarpanCore:
              type: boolean
            isSuperAdmin:
              type: boolean
          description: Refreshed authenticated session metadata returned to darpan-ui.
    GetSessionInfoResult:
      type: object
      properties:
        ok:
          type: boolean
          description: True when the session info lookup completed without facade errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during session-info lookup.
        errors:
          type: array
          items:
            type: string
          description: Errors returned while resolving session state.
        authenticated:
          type: boolean
          description: True when the current request resolves to an authenticated session.
        sessionInfo:
          type: object
          properties:
            userId:
              type: string
            username:
              type: string
            displayName:
              type: string
            locale:
              type: string
            timeZone:
              type: string
            lastLoginDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastRun:
              type: object
              properties:
                reconciliationRunResultId:
                  type: string
                savedRunId:
                  type: string
                savedRunType:
                  type: string
                reconciliationRunId:
                  type: string
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
            scopeType:
              type: string
            customerScopeId:
              type: string
            activeTenantUserGroupId:
              type: string
            activeTenantLabel:
              type: string
            availableTenants:
              type: array
              items:
                type: object
                properties:
                  userGroupId:
                    type: string
                  label:
                    type: string
            activeTenantPermissionGroupIds:
              type: array
              items:
                type: string
            canViewActiveTenantData:
              type: boolean
            canRunActiveTenantReconciliation:
              type: boolean
            canEditActiveTenantData:
              type: boolean
            canManageDarpanCore:
              type: boolean
            isSuperAdmin:
              type: boolean
          description: Authenticated session metadata returned to darpan-ui.
    LoginSessionResult:
      type: object
      properties:
        ok:
          type: boolean
          description: True when the login attempt completed without facade errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during login handling.
        errors:
          type: array
          items:
            type: string
          description: Validation or authentication errors for the login attempt.
        authenticated:
          type: boolean
          description: True when the session is authenticated after the login attempt.
        authToken:
          type: string
          description: >-
            Explicit login-key token that darpan-ui sends on later requests
            through the `login_key` header.
        authTokenType:
          type: string
          description: 'Token scheme identifier. Current value: `LOGIN_KEY`.'
        authTokenHeaderName:
          type: string
          description: >-
            Request header name darpan-ui must send for stateless auth. Current
            value: `login_key`.
        authTokenExpiresInSeconds:
          type: integer
          description: >-
            Approximate token lifetime in seconds, derived from the Moqui
            login-key expiry.
        sessionInfo:
          type: object
          properties:
            userId:
              type: string
            username:
              type: string
            displayName:
              type: string
            locale:
              type: string
            timeZone:
              type: string
            lastLoginDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastRun:
              type: object
              properties:
                reconciliationRunResultId:
                  type: string
                savedRunId:
                  type: string
                savedRunType:
                  type: string
                reconciliationRunId:
                  type: string
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
            scopeType:
              type: string
            customerScopeId:
              type: string
            activeTenantUserGroupId:
              type: string
            activeTenantLabel:
              type: string
            availableTenants:
              type: array
              items:
                type: object
                properties:
                  userGroupId:
                    type: string
                  label:
                    type: string
            activeTenantPermissionGroupIds:
              type: array
              items:
                type: string
            canViewActiveTenantData:
              type: boolean
            canRunActiveTenantReconciliation:
              type: boolean
            canEditActiveTenantData:
              type: boolean
            canManageDarpanCore:
              type: boolean
            isSuperAdmin:
              type: boolean
          description: Authenticated session metadata returned to darpan-ui.
    LogoutAllSessionsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        authenticated:
          type: boolean
        authTokenRevoked:
          type: boolean
        allSessionsRevoked:
          type: integer
          description: Count of UserLoginKey rows removed for the user.
    LogoutSessionResult:
      type: object
      properties:
        ok:
          type: boolean
          description: True when logout cleanup completed without facade errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during logout handling.
        errors:
          type: array
          items:
            type: string
          description: Errors returned while clearing session state.
        authenticated:
          type: boolean
          description: Always false after logout cleanup finishes.
        authTokenRevoked:
          type: boolean
          description: >-
            True when logout removed the matching `UserLoginKey` record for the
            supplied auth token.
    SaveActiveTenantResult:
      type: object
      properties:
        ok:
          type: boolean
          description: True when the active-tenant update completed without facade errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during active-tenant handling.
        errors:
          type: array
          items:
            type: string
          description: Errors returned while validating or saving the active tenant.
        authenticated:
          type: boolean
          description: True when the current request resolves to an authenticated session.
        sessionInfo:
          type: object
          properties:
            userId:
              type: string
            username:
              type: string
            displayName:
              type: string
            locale:
              type: string
            timeZone:
              type: string
            lastLoginDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastRun:
              type: object
              properties:
                reconciliationRunResultId:
                  type: string
                savedRunId:
                  type: string
                savedRunType:
                  type: string
                reconciliationRunId:
                  type: string
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
            scopeType:
              type: string
            customerScopeId:
              type: string
            activeTenantUserGroupId:
              type: string
            activeTenantLabel:
              type: string
            availableTenants:
              type: array
              items:
                type: object
                properties:
                  userGroupId:
                    type: string
                  label:
                    type: string
            activeTenantPermissionGroupIds:
              type: array
              items:
                type: string
            canViewActiveTenantData:
              type: boolean
            canRunActiveTenantReconciliation:
              type: boolean
            canEditActiveTenantData:
              type: boolean
            canManageDarpanCore:
              type: boolean
            isSuperAdmin:
              type: boolean
          description: Refreshed authenticated session metadata returned to darpan-ui.
    SaveUserSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
          description: True when the user settings update completed without facade errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during user-settings handling.
        errors:
          type: array
          items:
            type: string
          description: Errors returned while validating or saving user settings.
        authenticated:
          type: boolean
          description: True when the current request resolves to an authenticated session.
        sessionInfo:
          type: object
          properties:
            userId:
              type: string
            username:
              type: string
            displayName:
              type: string
            locale:
              type: string
            timeZone:
              type: string
            lastLoginDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastRun:
              type: object
              properties:
                reconciliationRunResultId:
                  type: string
                savedRunId:
                  type: string
                savedRunType:
                  type: string
                reconciliationRunId:
                  type: string
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
            scopeType:
              type: string
            customerScopeId:
              type: string
            activeTenantUserGroupId:
              type: string
            activeTenantLabel:
              type: string
            availableTenants:
              type: array
              items:
                type: object
                properties:
                  userGroupId:
                    type: string
                  label:
                    type: string
            activeTenantPermissionGroupIds:
              type: array
              items:
                type: string
            canViewActiveTenantData:
              type: boolean
            canRunActiveTenantReconciliation:
              type: boolean
            canEditActiveTenantData:
              type: boolean
            canManageDarpanCore:
              type: boolean
            isSuperAdmin:
              type: boolean
          description: Refreshed authenticated session metadata returned to darpan-ui.
    VerifyOwnPasswordResult:
      type: object
      properties:
        ok:
          type: boolean
          description: >-
            True when the current-password verification completed without facade
            errors.
        messages:
          type: array
          items:
            type: string
          description: Informational messages emitted during password verification.
        errors:
          type: array
          items:
            type: string
          description: Errors returned while validating the current password.
        authenticated:
          type: boolean
          description: True when the current request resolves to an authenticated session.
        passwordVerified:
          type: boolean
          description: >-
            True when the provided password matches the authenticated user's
            current password.
        sessionInfo:
          type: object
          properties:
            userId:
              type: string
            username:
              type: string
            displayName:
              type: string
            locale:
              type: string
            timeZone:
              type: string
            lastLoginDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastRun:
              type: object
              properties:
                reconciliationRunResultId:
                  type: string
                savedRunId:
                  type: string
                savedRunType:
                  type: string
                reconciliationRunId:
                  type: string
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
            scopeType:
              type: string
            customerScopeId:
              type: string
            activeTenantUserGroupId:
              type: string
            activeTenantLabel:
              type: string
            availableTenants:
              type: array
              items:
                type: object
                properties:
                  userGroupId:
                    type: string
                  label:
                    type: string
            activeTenantPermissionGroupIds:
              type: array
              items:
                type: string
            canViewActiveTenantData:
              type: boolean
            canRunActiveTenantReconciliation:
              type: boolean
            canEditActiveTenantData:
              type: boolean
            canManageDarpanCore:
              type: boolean
            isSuperAdmin:
              type: boolean
          description: Refreshed authenticated session metadata returned to darpan-ui.
    DeleteHotWaxOmsRestSourceConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items: {}
        errors:
          type: array
          items: {}
        deleted:
          type: boolean
        deletedOmsRestSourceConfigId:
          type: string
    ListHotWaxOmsRestSourceConfigsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items: {}
        errors:
          type: array
          items: {}
        omsRestSourceConfigs:
          type: array
          items: {}
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
    SaveHotWaxOmsRestSourceConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items: {}
        errors:
          type: array
          items: {}
        savedOmsRestSourceConfig:
          type: object
    DeleteJsonSchemaResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        deleted:
          type: boolean
    FlattenJsonSchemaResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        jsonSchemaString:
          type: string
        fieldList:
          type: array
          items:
            type: string
    GetJsonSchemaResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        schemaData:
          type: object
          properties:
            jsonSchemaId:
              type: string
            schemaName:
              type: string
            description:
              type: string
            systemEnumId:
              type: string
            systemLabel:
              type: string
            ownerUserId:
              type: string
            companyUserGroupId:
              type: string
            createdByUserId:
              type: string
            schemaText:
              type: string
            statusId:
              type: string
            createdDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastUpdatedStamp:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    InferJsonSchemaFromTextResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        jsonSchemaString:
          type: string
        fieldList:
          type: array
          items:
            type: string
    ListJsonSchemasResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        schemas:
          type: array
          items:
            type: object
            properties:
              jsonSchemaId:
                type: string
              schemaName:
                type: string
              description:
                type: string
              systemEnumId:
                type: string
              systemLabel:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              createdByUserId:
                type: string
              statusId:
                type: string
              createdDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              lastUpdatedStamp:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
    SaveJsonSchemaTextResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedSchema:
          type: object
          properties:
            jsonSchemaId:
              type: string
            schemaName:
              type: string
            description:
              type: string
            systemEnumId:
              type: string
            systemLabel:
              type: string
            ownerUserId:
              type: string
            companyUserGroupId:
              type: string
            createdByUserId:
              type: string
            statusId:
              type: string
            lastUpdatedStamp:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    SaveRefinedSchemaResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedSchema:
          type: object
          properties:
            jsonSchemaId:
              type: string
            schemaName:
              type: string
            filename:
              type: string
            systemEnumId:
              type: string
            systemLabel:
              type: string
            companyUserGroupId:
              type: string
            createdByUserId:
              type: string
            lastUpdatedStamp:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    ValidateJsonTextAgainstSchemaResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        valid:
          type: boolean
        errorCount:
          type: integer
        errorMessages:
          type: array
          items:
            type: string
    CreateCsvRunResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedRun:
          type: object
          properties:
            savedRunId:
              type: string
            runName:
              type: string
            description:
              type: string
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            runType:
              type: string
            ruleSetId:
              type: string
            compareScopeId:
              type: string
            requiresSystemSelection:
              type: boolean
            defaultFile1SystemEnumId:
              type: string
            defaultFile2SystemEnumId:
              type: string
            systemOptions:
              type: array
              items:
                type: object
                properties:
                  fileSide:
                    type: string
                  enumId:
                    type: string
                  enumCode:
                    type: string
                  description:
                    type: string
                  label:
                    type: string
                  fileTypeEnumId:
                    type: string
                  fileTypeLabel:
                    type: string
                  idFieldExpression:
                    type: string
                  schemaFileName:
                    type: string
                  sourceTypeEnumId:
                    type: string
                  sourceTypeLabel:
                    type: string
                  systemMessageRemoteId:
                    type: string
                  systemMessageRemoteLabel:
                    type: string
                  nsRestletConfigId:
                    type: string
                  nsRestletConfigLabel:
                    type: string
                  sourceConfigId:
                    type: string
                  sourceConfigType:
                    type: string
    CreateMappingResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedMapping:
          type: object
          properties:
            reconciliationMappingId:
              type: string
            mappingName:
              type: string
            companyUserGroupId:
              type: string
            createdByUserId:
              type: string
            file1SystemEnumId:
              type: string
            file2SystemEnumId:
              type: string
            file1SchemaName:
              type: string
            file2SchemaName:
              type: string
            file1FieldPath:
              type: string
            file2FieldPath:
              type: string
    CreateRuleSetRunResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedRun:
          type: object
          properties:
            savedRunId:
              type: string
            runName:
              type: string
            description:
              type: string
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            runType:
              type: string
            ruleSetId:
              type: string
            compareScopeId:
              type: string
            requiresSystemSelection:
              type: boolean
            defaultFile1SystemEnumId:
              type: string
            defaultFile2SystemEnumId:
              type: string
            systemOptions:
              type: array
              items:
                type: object
                properties:
                  fileSide:
                    type: string
                  enumId:
                    type: string
                  enumCode:
                    type: string
                  description:
                    type: string
                  label:
                    type: string
                  fileTypeEnumId:
                    type: string
                  fileTypeLabel:
                    type: string
                  idFieldExpression:
                    type: string
                  schemaFileName:
                    type: string
                  sourceTypeEnumId:
                    type: string
                  sourceTypeLabel:
                    type: string
                  systemMessageRemoteId:
                    type: string
                  systemMessageRemoteLabel:
                    type: string
                  nsRestletConfigId:
                    type: string
                  nsRestletConfigLabel:
                    type: string
                  sourceConfigId:
                    type: string
                  sourceConfigType:
                    type: string
            rules:
              type: array
              items:
                type: object
                properties:
                  ruleId:
                    type: string
                  sequenceNum:
                    type: integer
                  ruleText:
                    type: string
                  ruleLogic:
                    type: string
                  ruleType:
                    type: string
                  expression:
                    type: string
                  enabled:
                    type: string
                  severity:
                    type: string
                  file1FieldPath:
                    type: string
                  file2FieldPath:
                    type: string
                  operator:
                    type: string
                  preActions:
                    type: array
                    items:
                      type: object
                      properties:
                        fieldSide:
                          type: string
                        action:
                          type: string
    DeleteAutomationResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        deleted:
          type: boolean
        deletedAutomationId:
          type: string
        deletedSourceCount:
          type: integer
        deletedExecutionCount:
          type: integer
    DeleteGeneratedOutputResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        deleted:
          type: boolean
        deletedFileName:
          type: string
        statusMessage:
          type: string
    DeleteSavedRunResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        deleted:
          type: boolean
        deletedSavedRunId:
          type: string
        deletedRunType:
          type: string
        deletedGeneratedOutputCount:
          type: integer
        deletedRuleCount:
          type: integer
        deletedCompareScopeCount:
          type: integer
        deletedCompareSourceCount:
          type: integer
        deletedMappingMemberCount:
          type: integer
    GetAutomationResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        automation:
          type: object
    GetGeneratedOutputResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        outputFile:
          type: object
          properties:
            fileName:
              type: string
            downloadFileName:
              type: string
            sourceFormat:
              type: string
            format:
              type: string
            contentType:
              type: string
            contentText:
              type: string
            sourceDetails:
              type: object
              properties:
                mode:
                  type: string
                dateRange:
                  type: object
                  properties:
                    start:
                      type: string
                    end:
                      type: string
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      side:
                        type: string
                      label:
                        type: string
                      fileName:
                        type: string
                      filePath:
                        type: string
                      downloadFileName:
                        type: string
                      sourceFormat:
                        type: string
                      canDownload:
                        type: boolean
    GetGeneratedOutputDifferencesResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        metadata:
          type: object
        summary:
          type: object
        bucketCounts:
          type: object
        ruleOptions:
          type: array
          items: {}
        differences:
          type: array
          items: {}
        pageIndex:
          type: integer
        pageSize:
          type: integer
        pageCount:
          type: integer
        totalDifferences:
          type: integer
        totalFiltered:
          type: integer
        outputFile:
          type: object
    GetMappingResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        mapping:
          type: object
          properties:
            reconciliationMappingId:
              type: string
            mappingName:
              type: string
            companyUserGroupId:
              type: string
            createdByUserId:
              type: string
            members:
              type: array
              items:
                type: object
                properties:
                  mappingMemberId:
                    type: string
                  systemEnumId:
                    type: string
                  systemLabel:
                    type: string
                  jsonSchemaId:
                    type: string
                  schemaName:
                    type: string
                  fieldPath:
                    type: string
    ListAutomationExecutionsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        executions:
          type: array
          items:
            type: object
            properties:
              automationExecutionId:
                type: string
              automationId:
                type: string
              companyUserGroupId:
                type: string
              statusEnumId:
                type: string
              statusLabel:
                type: string
              scheduledDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              startedDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              completedDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              resultFileName:
                type: string
              resultDataManagerPath:
                type: string
              reconciliationRunResultId:
                type: string
              file1RecordCount:
                type: integer
              file2RecordCount:
                type: integer
              differenceCount:
                type: integer
              onlyInFile1Count:
                type: integer
              onlyInFile2Count:
                type: integer
              errorMessage:
                type: string
    ListAutomationSourceOptionsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        inputModes:
          type: array
          items:
            type: object
            properties:
              enumId:
                type: string
              enumCode:
                type: string
              description:
                type: string
              sequenceNum:
                type: integer
              label:
                type: string
        sourceTypes:
          type: array
          items:
            type: object
            properties:
              enumId:
                type: string
              enumCode:
                type: string
              description:
                type: string
              sequenceNum:
                type: integer
              label:
                type: string
        relativeWindows:
          type: array
          items:
            type: object
            properties:
              enumId:
                type: string
              enumCode:
                type: string
              description:
                type: string
              sequenceNum:
                type: integer
              label:
                type: string
        fileTypes:
          type: array
          items:
            type: object
            properties:
              enumId:
                type: string
              enumCode:
                type: string
              description:
                type: string
              sequenceNum:
                type: integer
              label:
                type: string
        systems:
          type: array
          items:
            type: object
            properties:
              enumId:
                type: string
              enumCode:
                type: string
              description:
                type: string
              sequenceNum:
                type: integer
              label:
                type: string
        savedRuns:
          type: array
          items: {}
        sftpServers:
          type: array
          items: {}
        sourceConfigs:
          type: array
          items: {}
        nsRestletConfigs:
          type: array
          items: {}
        systemRemotes:
          type: array
          items: {}
    ListAutomationsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        automations:
          type: array
          items:
            type: object
            properties:
              automationId:
                type: string
              automationName:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              savedRunId:
                type: string
              savedRunName:
                type: string
              savedRunType:
                type: string
              ruleSetId:
                type: string
              compareScopeId:
                type: string
              reconciliationMappingId:
                type: string
              inputModeEnumId:
                type: string
              inputModeLabel:
                type: string
              inputModeCode:
                type: string
              sourceSummary:
                type: string
              scheduleExpr:
                type: string
              scheduleSummary:
                type: string
              timezone:
                type: string
              nextScheduledFireTime:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              lastScheduledFireTime:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              relativeWindowTypeEnumId:
                type: string
              relativeWindowLabel:
                type: string
              relativeWindowCount:
                type: integer
              customWindowStartDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              customWindowEndDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              maxWindowDays:
                type: integer
              splitWindowDays:
                type: integer
              isActive:
                type: string
              active:
                type: boolean
              executionCount:
                type: integer
              lastExecution:
                type: object
              permissions:
                type: object
    ListGeneratedOutputsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        generatedOutputs:
          type: array
          items:
            type: object
            properties:
              fileName:
                type: string
              reconciliationRunResultId:
                type: string
              sourceFormat:
                type: string
              availableFormats:
                type: array
                items:
                  type: string
              preferredDownloadFormat:
                type: string
              companyUserGroupId:
                type: string
              savedRunId:
                type: string
              savedRunName:
                type: string
              savedRunType:
                type: string
              reconciliationMappingId:
                type: string
              mappingName:
                type: string
              ruleSetId:
                type: string
              compareScopeId:
                type: string
              reconciliationType:
                type: string
              file1Label:
                type: string
              file2Label:
                type: string
              totalDifferences:
                type: integer
              onlyInFile1Count:
                type: integer
              onlyInFile2Count:
                type: integer
              createdDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              sizeBytes:
                type: integer
              statusEnumId:
                type: string
              statusLabel:
                type: string
              resultAvailable:
                type: boolean
              startedDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              completedDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
              lastUpdatedDate:
                oneOf:
                  - type: string
                  - type: number
                description: Timestamp — ISO-8601 string or epoch milliseconds
    ListMappingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        pinnedReconciliationMappingIds:
          type: array
          items:
            type: string
        mappings:
          type: array
          items:
            type: object
            properties:
              reconciliationMappingId:
                type: string
              mappingName:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              requiresSystemSelection:
                type: boolean
              defaultFile1SystemEnumId:
                type: string
              defaultFile2SystemEnumId:
                type: string
              systemOptions:
                type: array
                items:
                  type: object
                  properties:
                    enumId:
                      type: string
                    enumCode:
                      type: string
                    description:
                      type: string
                    label:
                      type: string
                    fileTypeEnumId:
                      type: string
                    fileTypeLabel:
                      type: string
                    idFieldExpression:
                      type: string
                    schemaFileName:
                      type: string
    ListSavedRunsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        pinnedSavedRunIds:
          type: array
          items:
            type: string
        savedRuns:
          type: array
          items:
            type: object
            properties:
              savedRunId:
                type: string
              runName:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              runType:
                type: string
              reconciliationMappingId:
                type: string
              ruleSetId:
                type: string
              compareScopeId:
                type: string
              requiresSystemSelection:
                type: boolean
              defaultFile1SystemEnumId:
                type: string
              defaultFile2SystemEnumId:
                type: string
              systemOptions:
                type: array
                items:
                  type: object
                  properties:
                    fileSide:
                      type: string
                    enumId:
                      type: string
                    enumCode:
                      type: string
                    description:
                      type: string
                    label:
                      type: string
                    fileTypeEnumId:
                      type: string
                    fileTypeLabel:
                      type: string
                    idFieldExpression:
                      type: string
                    schemaFileName:
                      type: string
                    sourceTypeEnumId:
                      type: string
                    sourceTypeLabel:
                      type: string
                    systemMessageRemoteId:
                      type: string
                    systemMessageRemoteLabel:
                      type: string
                    nsRestletConfigId:
                      type: string
                    nsRestletConfigLabel:
                      type: string
                    sourceConfigId:
                      type: string
                    sourceConfigType:
                      type: string
              rules:
                type: array
                items:
                  type: object
                  properties:
                    ruleId:
                      type: string
                    sequenceNum:
                      type: integer
                    ruleText:
                      type: string
                    ruleLogic:
                      type: string
                    ruleType:
                      type: string
                    expression:
                      type: string
                    enabled:
                      type: string
                    severity:
                      type: string
                    file1FieldPath:
                      type: string
                    file2FieldPath:
                      type: string
                    operator:
                      type: string
                    preActions:
                      type: array
                      items:
                        type: object
                        properties:
                          fieldSide:
                            type: string
                          action:
                            type: string
    PauseAutomationResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        automation:
          type: object
    ReprocessAutomationExecutionResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        automationExecutionId:
          type: string
        statusEnumId:
          type: string
        requeued:
          type: boolean
    ResumeAutomationResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        automation:
          type: object
    RunAutomationNowResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        automation:
          type: object
        runResult:
          type: object
    RunGenericDiffResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        runResult:
          type: object
          properties:
            reconciliationMappingId:
              type: string
            mappingName:
              type: string
            reconciliationRunResultId:
              type: string
            file1Name:
              type: string
            file2Name:
              type: string
            file1SystemEnumId:
              type: string
            file1SystemLabel:
              type: string
            file2SystemEnumId:
              type: string
            file2SystemLabel:
              type: string
            validationErrors:
              type: array
              items:
                type: string
            processingWarnings:
              type: array
              items:
                type: string
            generatedOutput:
              type: object
              properties:
                fileName:
                  type: string
                reconciliationRunResultId:
                  type: string
                sourceFormat:
                  type: string
                availableFormats:
                  type: array
                  items:
                    type: string
                preferredDownloadFormat:
                  type: string
                companyUserGroupId:
                  type: string
                reconciliationMappingId:
                  type: string
                mappingName:
                  type: string
                reconciliationType:
                  type: string
                file1Label:
                  type: string
                file2Label:
                  type: string
                totalDifferences:
                  type: integer
                onlyInFile1Count:
                  type: integer
                onlyInFile2Count:
                  type: integer
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
                sizeBytes:
                  type: integer
                statusEnumId:
                  type: string
                statusLabel:
                  type: string
                resultAvailable:
                  type: boolean
                startedDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
                completedDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
                lastUpdatedDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
    RunSavedRunDiffResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        runResult:
          type: object
          properties:
            savedRunId:
              type: string
            runName:
              type: string
            runType:
              type: string
            reconciliationMappingId:
              type: string
            reconciliationRunResultId:
              type: string
            ruleSetId:
              type: string
            compareScopeId:
              type: string
            file1Name:
              type: string
            file2Name:
              type: string
            file1SystemEnumId:
              type: string
            file1SystemLabel:
              type: string
            file2SystemEnumId:
              type: string
            file2SystemLabel:
              type: string
            validationErrors:
              type: array
              items:
                type: string
            processingWarnings:
              type: array
              items:
                type: string
            generatedOutput:
              type: object
              properties:
                fileName:
                  type: string
                reconciliationRunResultId:
                  type: string
                sourceFormat:
                  type: string
                availableFormats:
                  type: array
                  items:
                    type: string
                preferredDownloadFormat:
                  type: string
                companyUserGroupId:
                  type: string
                savedRunId:
                  type: string
                savedRunName:
                  type: string
                savedRunType:
                  type: string
                reconciliationMappingId:
                  type: string
                mappingName:
                  type: string
                ruleSetId:
                  type: string
                compareScopeId:
                  type: string
                reconciliationType:
                  type: string
                file1Label:
                  type: string
                file2Label:
                  type: string
                totalDifferences:
                  type: integer
                onlyInFile1Count:
                  type: integer
                onlyInFile2Count:
                  type: integer
                createdDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
                sizeBytes:
                  type: integer
                statusEnumId:
                  type: string
                statusLabel:
                  type: string
                resultAvailable:
                  type: boolean
                startedDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
                completedDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
                lastUpdatedDate:
                  oneOf:
                    - type: string
                    - type: number
                  description: Timestamp — ISO-8601 string or epoch milliseconds
    SaveAutomationResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        automation:
          type: object
    SaveDashboardPinnedMappingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pinnedReconciliationMappingIds:
          type: array
          items:
            type: string
    SaveDashboardPinnedSavedRunsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pinnedSavedRunIds:
          type: array
          items:
            type: string
    SaveMappingResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedMapping:
          type: object
          properties:
            reconciliationMappingId:
              type: string
            mappingName:
              type: string
            companyUserGroupId:
              type: string
            createdByUserId:
              type: string
            file1SystemEnumId:
              type: string
            file2SystemEnumId:
              type: string
            file1SchemaName:
              type: string
            file2SchemaName:
              type: string
            file1FieldPath:
              type: string
            file2FieldPath:
              type: string
    SaveRuleSetRunResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedRun:
          type: object
          properties:
            savedRunId:
              type: string
            runName:
              type: string
            description:
              type: string
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            runType:
              type: string
            ruleSetId:
              type: string
            compareScopeId:
              type: string
            requiresSystemSelection:
              type: boolean
            defaultFile1SystemEnumId:
              type: string
            defaultFile2SystemEnumId:
              type: string
            systemOptions:
              type: array
              items:
                type: object
                properties:
                  fileSide:
                    type: string
                  enumId:
                    type: string
                  enumCode:
                    type: string
                  description:
                    type: string
                  label:
                    type: string
                  fileTypeEnumId:
                    type: string
                  fileTypeLabel:
                    type: string
                  idFieldExpression:
                    type: string
                  schemaFileName:
                    type: string
                  sourceTypeEnumId:
                    type: string
                  sourceTypeLabel:
                    type: string
                  systemMessageRemoteId:
                    type: string
                  systemMessageRemoteLabel:
                    type: string
                  nsRestletConfigId:
                    type: string
                  nsRestletConfigLabel:
                    type: string
                  sourceConfigId:
                    type: string
                  sourceConfigType:
                    type: string
            rules:
              type: array
              items:
                type: object
                properties:
                  ruleId:
                    type: string
                  sequenceNum:
                    type: integer
                  ruleText:
                    type: string
                  ruleLogic:
                    type: string
                  ruleType:
                    type: string
                  expression:
                    type: string
                  enabled:
                    type: string
                  severity:
                    type: string
                  file1FieldPath:
                    type: string
                  file2FieldPath:
                    type: string
                  operator:
                    type: string
                  preActions:
                    type: array
                    items:
                      type: object
                      properties:
                        fieldSide:
                          type: string
                        action:
                          type: string
    SaveSavedRunNameResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedRun:
          type: object
          properties:
            savedRunId:
              type: string
            runName:
              type: string
            description:
              type: string
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            runType:
              type: string
            reconciliationMappingId:
              type: string
            ruleSetId:
              type: string
            compareScopeId:
              type: string
            requiresSystemSelection:
              type: boolean
            defaultFile1SystemEnumId:
              type: string
            defaultFile2SystemEnumId:
              type: string
            systemOptions:
              type: array
              items:
                type: object
                properties:
                  fileSide:
                    type: string
                  enumId:
                    type: string
                  enumCode:
                    type: string
                  description:
                    type: string
                  label:
                    type: string
                  fileTypeEnumId:
                    type: string
                  fileTypeLabel:
                    type: string
                  idFieldExpression:
                    type: string
                  schemaFileName:
                    type: string
                  sourceTypeEnumId:
                    type: string
                  sourceTypeLabel:
                    type: string
                  systemMessageRemoteId:
                    type: string
                  systemMessageRemoteLabel:
                    type: string
                  nsRestletConfigId:
                    type: string
                  nsRestletConfigLabel:
                    type: string
                  sourceConfigId:
                    type: string
                  sourceConfigType:
                    type: string
    SearchNavigationTargetsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        results:
          type: array
          items:
            type: object
            properties:
              resultId:
                type: string
              type:
                type: string
              label:
                type: string
              description:
                type: string
              routeName:
                type: string
              routePath:
                type: string
              routeParams:
                type: object
              routeQuery:
                type: object
              score:
                type: integer
              sourceId:
                type: string
              sourceType:
                type: string
    GetLlmSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        llmSettings:
          type: object
          properties:
            activeProvider:
              type: string
            llmProvider:
              type: string
            llmModel:
              type: string
            llmBaseUrl:
              type: string
            llmTimeoutSeconds:
              type: string
            llmEnabled:
              type: string
            hasStoredLlmApiKey:
              type: boolean
            hasFallbackLlmApiKey:
              type: boolean
            fallbackLlmKeyEnvName:
              type: string
    GetTenantNotificationSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        tenantNotificationSettings:
          type: object
          properties:
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            googleChatConfigured:
              type: boolean
            googleChatWebhookUrlMasked:
              type: string
            isActive:
              type: string
            createdByUserId:
              type: string
            createdDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastUpdatedDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    GetTenantSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        tenantSettings:
          type: object
          properties:
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            timeZone:
              type: string
            createdByUserId:
              type: string
            createdDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastUpdatedDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    ListEnumOptionsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        options:
          type: array
          items:
            type: object
            properties:
              enumId:
                type: string
              enumCode:
                type: string
              description:
                type: string
              sequenceNum:
                type: integer
              label:
                type: string
    ListNsAuthConfigsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        authConfigs:
          type: array
          items:
            type: object
            properties:
              nsAuthConfigId:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              authType:
                type: string
              username:
                type: string
              tokenUrl:
                type: string
              clientId:
                type: string
              certId:
                type: string
              scope:
                type: string
              isActive:
                type: string
              hasPassword:
                type: boolean
              hasApiToken:
                type: boolean
              hasPrivateKeyPem:
                type: boolean
    ListNsRestletConfigsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        restletConfigs:
          type: array
          items:
            type: object
            properties:
              nsRestletConfigId:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              endpointUrl:
                type: string
              httpMethod:
                type: string
              nsAuthConfigId:
                type: string
              authDescription:
                type: string
              authType:
                type: string
              authIsActive:
                type: string
              headersJson:
                type: string
              connectTimeoutSeconds:
                type: integer
              readTimeoutSeconds:
                type: integer
              isActive:
                type: string
    ListSftpServersResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        servers:
          type: array
          items:
            type: object
            properties:
              sftpServerId:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              host:
                type: string
              port:
                type: integer
              username:
                type: string
              remoteAttributes:
                type: string
              hasPassword:
                type: boolean
              hasPrivateKey:
                type: boolean
    SaveLlmSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        llmSettings:
          type: object
          properties:
            activeProvider:
              type: string
            llmProvider:
              type: string
            llmModel:
              type: string
            llmBaseUrl:
              type: string
            llmTimeoutSeconds:
              type: string
            llmEnabled:
              type: string
            hasStoredLlmApiKey:
              type: boolean
    SaveNsAuthConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedAuthConfig:
          type: object
          properties:
            nsAuthConfigId:
              type: string
            description:
              type: string
            authType:
              type: string
            username:
              type: string
            tokenUrl:
              type: string
            clientId:
              type: string
            certId:
              type: string
            scope:
              type: string
            isActive:
              type: string
            hasPassword:
              type: boolean
            hasApiToken:
              type: boolean
            hasPrivateKeyPem:
              type: boolean
    SaveNsRestletConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedRestletConfig:
          type: object
          properties:
            nsRestletConfigId:
              type: string
            description:
              type: string
            endpointUrl:
              type: string
            httpMethod:
              type: string
            nsAuthConfigId:
              type: string
            headersJson:
              type: string
            connectTimeoutSeconds:
              type: integer
            readTimeoutSeconds:
              type: integer
            isActive:
              type: string
    SaveSftpServerResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedServer:
          type: object
          properties:
            sftpServerId:
              type: string
            description:
              type: string
            host:
              type: string
            port:
              type: integer
            username:
              type: string
            remoteAttributes:
              type: string
            hasPassword:
              type: boolean
            hasPrivateKey:
              type: boolean
    SaveTenantNotificationSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        tenantNotificationSettings:
          type: object
          properties:
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            googleChatConfigured:
              type: boolean
            googleChatWebhookUrlMasked:
              type: string
            isActive:
              type: string
            createdByUserId:
              type: string
            createdDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastUpdatedDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    SaveTenantSettingsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        tenantSettings:
          type: object
          properties:
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            timeZone:
              type: string
            createdByUserId:
              type: string
            createdDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
            lastUpdatedDate:
              oneOf:
                - type: string
                - type: number
              description: Timestamp — ISO-8601 string or epoch milliseconds
    DeleteShopifyAuthConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        deleted:
          type: boolean
        deletedShopifyAuthConfigId:
          type: string
    GetShopifyAuthConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        shopifyAuthConfig:
          type: object
          properties:
            shopifyAuthConfigId:
              type: string
            description:
              type: string
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            createdByUserId:
              type: string
            shopApiUrl:
              type: string
            apiVersion:
              type: string
            timeZone:
              type: string
            isActive:
              type: string
            canReadOrders:
              type: boolean
            hasAccessToken:
              type: boolean
    ListShopifyAuthConfigsResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        pagination:
          type: object
          properties:
            pageIndex:
              type: integer
            pageSize:
              type: integer
            totalCount:
              type: integer
            pageCount:
              type: integer
        shopifyAuthConfigs:
          type: array
          items:
            type: object
            properties:
              shopifyAuthConfigId:
                type: string
              description:
                type: string
              companyUserGroupId:
                type: string
              companyLabel:
                type: string
              createdByUserId:
                type: string
              shopApiUrl:
                type: string
              apiVersion:
                type: string
              timeZone:
                type: string
              isActive:
                type: string
              canReadOrders:
                type: boolean
              hasAccessToken:
                type: boolean
    SaveShopifyAuthConfigResult:
      type: object
      properties:
        ok:
          type: boolean
        messages:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
        savedShopifyAuthConfig:
          type: object
          properties:
            shopifyAuthConfigId:
              type: string
            description:
              type: string
            companyUserGroupId:
              type: string
            companyLabel:
              type: string
            createdByUserId:
              type: string
            shopApiUrl:
              type: string
            apiVersion:
              type: string
            timeZone:
              type: string
            isActive:
              type: string
            canReadOrders:
              type: boolean
            hasAccessToken:
              type: boolean

````