{
 "components": {
  "schemas": {
   "AcceptIn": {
    "properties": {
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     }
    },
    "title": "AcceptIn",
    "type": "object"
   },
   "AccountOut": {
    "properties": {
     "business_name": {
      "title": "Business Name",
      "type": "string"
     },
     "charges_enabled": {
      "title": "Charges Enabled",
      "type": "boolean"
     },
     "default_currency": {
      "title": "Default Currency",
      "type": "string"
     },
     "mode": {
      "enum": [
       "stripe",
       "simulated"
      ],
      "title": "Mode",
      "type": "string"
     },
     "payouts_enabled": {
      "title": "Payouts Enabled",
      "type": "boolean"
     },
     "reminders": {
      "$ref": "#/components/schemas/Reminders"
     },
     "status": {
      "enum": [
       "not_connected",
       "onboarding",
       "connected"
      ],
      "title": "Status",
      "type": "string"
     },
     "stripe_account_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Stripe Account Id"
     },
     "support_email": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Support Email"
     },
     "tax": {
      "$ref": "#/components/schemas/Tax"
     }
    },
    "required": [
     "mode",
     "status",
     "stripe_account_id",
     "charges_enabled",
     "payouts_enabled",
     "default_currency",
     "business_name",
     "support_email",
     "reminders",
     "tax"
    ],
    "title": "AccountOut",
    "type": "object"
   },
   "ActivityIn": {
    "properties": {
     "body": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Body"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "contact_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Contact Id"
     },
     "deal_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Deal Id"
     },
     "kind": {
      "enum": [
       "call",
       "email",
       "meeting",
       "note",
       "task"
      ],
      "title": "Kind",
      "type": "string"
     },
     "occurred_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Occurred At"
     },
     "subject": {
      "maxLength": 300,
      "minLength": 1,
      "title": "Subject",
      "type": "string"
     }
    },
    "required": [
     "kind",
     "subject"
    ],
    "title": "ActivityIn",
    "type": "object"
   },
   "ActivityOut": {
    "properties": {
     "body": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Body"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "contact_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Contact Id"
     },
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "deal_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Deal Id"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "occurred_at": {
      "format": "date-time",
      "title": "Occurred At",
      "type": "string"
     },
     "subject": {
      "title": "Subject",
      "type": "string"
     }
    },
    "required": [
     "id",
     "kind",
     "subject",
     "body",
     "deal_id",
     "contact_id",
     "company_id",
     "occurred_at"
    ],
    "title": "ActivityOut",
    "type": "object"
   },
   "Address": {
    "properties": {
     "city": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "City"
     },
     "country": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": "US",
      "title": "Country"
     },
     "line1": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Line1"
     },
     "postal_code": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Postal Code"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "State"
     }
    },
    "title": "Address",
    "type": "object"
   },
   "AdoptionIn": {
    "properties": {
     "clear_owner": {
      "default": false,
      "title": "Clear Owner",
      "type": "boolean"
     },
     "clear_risk": {
      "default": false,
      "title": "Clear Risk",
      "type": "boolean"
     },
     "departments": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "maxItems": 14,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Departments"
     },
     "notes": {
      "anyOf": [
       {
        "maxLength": 4000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Notes"
     },
     "owner_user_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner User Id"
     },
     "risk": {
      "anyOf": [
       {
        "enum": [
         "low",
         "medium",
         "high"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Risk"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "interested",
         "planned",
         "piloting",
         "live",
         "paused",
         "retired",
         "declined"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status"
     }
    },
    "title": "AdoptionIn",
    "type": "object"
   },
   "Agreement": {
    "properties": {
     "by_rule": {
      "items": {
       "$ref": "#/components/schemas/RuleAgreement"
      },
      "title": "By Rule",
      "type": "array"
     },
     "items": {
      "title": "Items",
      "type": "integer"
     },
     "overall": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Overall"
     }
    },
    "required": [
     "overall",
     "items",
     "by_rule"
    ],
    "title": "Agreement",
    "type": "object"
   },
   "Api": {
    "additionalProperties": false,
    "properties": {
     "prefix": {
      "title": "Prefix",
      "type": "string"
     }
    },
    "required": [
     "prefix"
    ],
    "title": "Api",
    "type": "object"
   },
   "ApiKeyIn": {
    "properties": {
     "apps": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Apps"
     },
     "break_glass_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "expires_days": {
      "anyOf": [
       {
        "maximum": 730.0,
        "minimum": 1.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expires Days"
     },
     "name": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "roles": {
      "default": [
       "member"
      ],
      "items": {
       "type": "string"
      },
      "title": "Roles",
      "type": "array"
     }
    },
    "required": [
     "name"
    ],
    "title": "ApiKeyIn",
    "type": "object"
   },
   "ApprovalOut": {
    "properties": {
     "app_id": {
      "title": "App Id",
      "type": "string"
     },
     "args": {
      "additionalProperties": true,
      "title": "Args",
      "type": "object"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "decided_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Decided At"
     },
     "decided_by": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Decided By"
     },
     "expires_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expires At"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "risk": {
      "title": "Risk",
      "type": "string"
     },
     "run_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Run Id"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "summary": {
      "title": "Summary",
      "type": "string"
     },
     "tool": {
      "title": "Tool",
      "type": "string"
     }
    },
    "required": [
     "id",
     "run_id",
     "app_id",
     "tool",
     "risk",
     "summary",
     "args",
     "status",
     "created_at",
     "expires_at",
     "decided_by",
     "decided_at"
    ],
    "title": "ApprovalOut",
    "type": "object"
   },
   "ApproveIn": {
    "properties": {
     "args": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Args"
     }
    },
    "title": "ApproveIn",
    "type": "object"
   },
   "AutomationPatch": {
    "properties": {
     "auto_ramp": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Auto Ramp"
     },
     "break_glass_reason": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "clear_daily_limit": {
      "default": false,
      "title": "Clear Daily Limit",
      "type": "boolean"
     },
     "clear_exception": {
      "default": false,
      "title": "Clear Exception",
      "type": "boolean"
     },
     "daily_limit": {
      "anyOf": [
       {
        "maximum": 1000000.0,
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Daily Limit"
     },
     "exception_days": {
      "anyOf": [
       {
        "maximum": 90.0,
        "minimum": 1.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Exception Days"
     },
     "exception_percent": {
      "anyOf": [
       {
        "maximum": 100.0,
        "minimum": 1.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Exception Percent"
     },
     "exception_reason": {
      "anyOf": [
       {
        "maxLength": 500,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Exception Reason"
     },
     "max_percent": {
      "anyOf": [
       {
        "maximum": 100.0,
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Percent"
     },
     "paused": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Paused"
     },
     "paused_reason": {
      "anyOf": [
       {
        "maxLength": 500,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Paused Reason"
     },
     "percent": {
      "anyOf": [
       {
        "maximum": 100.0,
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Percent"
     },
     "ramp_min_agreement": {
      "anyOf": [
       {
        "maximum": 1.0,
        "minimum": 0.5,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Ramp Min Agreement"
     },
     "ramp_min_decisions": {
      "anyOf": [
       {
        "maximum": 1000.0,
        "minimum": 5.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Ramp Min Decisions"
     },
     "rollback_agreement": {
      "anyOf": [
       {
        "maximum": 1.0,
        "minimum": 0.5,
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rollback Agreement"
     },
     "rollback_min_decisions": {
      "anyOf": [
       {
        "maximum": 1000.0,
        "minimum": 3.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rollback Min Decisions"
     },
     "sample_percent": {
      "anyOf": [
       {
        "maximum": 50.0,
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Sample Percent"
     }
    },
    "title": "AutomationPatch",
    "type": "object"
   },
   "BindingIn": {
    "properties": {
     "provider_id": {
      "maxLength": 80,
      "minLength": 1,
      "title": "Provider Id",
      "type": "string"
     }
    },
    "required": [
     "provider_id"
    ],
    "title": "BindingIn",
    "type": "object"
   },
   "BoardColumn": {
    "properties": {
     "deals": {
      "items": {
       "$ref": "#/components/schemas/DealOut"
      },
      "title": "Deals",
      "type": "array"
     },
     "stage": {
      "$ref": "#/components/schemas/StageOut"
     },
     "total_cents": {
      "title": "Total Cents",
      "type": "integer"
     }
    },
    "required": [
     "stage",
     "deals",
     "total_cents"
    ],
    "title": "BoardColumn",
    "type": "object"
   },
   "BoardDetail": {
    "properties": {
     "columns": {
      "items": {
       "$ref": "#/components/schemas/ColumnOut"
      },
      "title": "Columns",
      "type": "array"
     },
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "groups": {
      "items": {
       "$ref": "#/components/schemas/GroupOut"
      },
      "title": "Groups",
      "type": "array"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "key": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Key"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "statuses": {
      "items": {
       "$ref": "#/components/schemas/StatusOut"
      },
      "title": "Statuses",
      "type": "array"
     },
     "template": {
      "title": "Template",
      "type": "string"
     },
     "workspace_id": {
      "title": "Workspace Id",
      "type": "string"
     }
    },
    "required": [
     "id",
     "workspace_id",
     "name",
     "description",
     "template",
     "key",
     "statuses",
     "columns",
     "groups"
    ],
    "title": "BoardDetail",
    "type": "object"
   },
   "BoardIn": {
    "properties": {
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "key": {
      "anyOf": [
       {
        "pattern": "^[A-Z][A-Z0-9]{1,9}$",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Key"
     },
     "name": {
      "maxLength": 160,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "template": {
      "default": "simple",
      "enum": [
       "simple",
       "project",
       "agile",
       "service"
      ],
      "title": "Template",
      "type": "string"
     },
     "workspace_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Workspace Id"
     }
    },
    "required": [
     "name"
    ],
    "title": "BoardIn",
    "type": "object"
   },
   "BoardOut": {
    "properties": {
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "key": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Key"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "template": {
      "title": "Template",
      "type": "string"
     },
     "workspace_id": {
      "title": "Workspace Id",
      "type": "string"
     }
    },
    "required": [
     "id",
     "workspace_id",
     "name",
     "description",
     "template",
     "key"
    ],
    "title": "BoardOut",
    "type": "object"
   },
   "BoardPatch": {
    "properties": {
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 160,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     }
    },
    "title": "BoardPatch",
    "type": "object"
   },
   "Body_resubmit_document_v1_docs_documents__doc_id__versions_post": {
    "properties": {
     "file": {
      "contentMediaType": "application/octet-stream",
      "title": "File",
      "type": "string"
     }
    },
    "required": [
     "file"
    ],
    "title": "Body_resubmit_document_v1_docs_documents__doc_id__versions_post",
    "type": "object"
   },
   "Body_upload_document_v1_docs_documents_post": {
    "properties": {
     "file": {
      "contentMediaType": "application/octet-stream",
      "title": "File",
      "type": "string"
     },
     "title": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Title"
     },
     "type_id": {
      "title": "Type Id",
      "type": "string"
     }
    },
    "required": [
     "file",
     "type_id"
    ],
    "title": "Body_upload_document_v1_docs_documents_post",
    "type": "object"
   },
   "CapabilityOut": {
    "properties": {
     "bound_provider": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Bound Provider"
     },
     "description": {
      "title": "Description",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "providers": {
      "items": {
       "$ref": "#/components/schemas/ProviderOut"
      },
      "title": "Providers",
      "type": "array"
     }
    },
    "required": [
     "id",
     "name",
     "description",
     "providers",
     "bound_provider"
    ],
    "title": "CapabilityOut",
    "type": "object"
   },
   "CatalogEntry": {
    "properties": {
     "chain": {
      "items": {
       "type": "string"
      },
      "title": "Chain",
      "type": "array"
     },
     "chain_labels": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Chain Labels",
      "type": "array"
     },
     "description": {
      "title": "Description",
      "type": "string"
     },
     "effort": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Effort"
     },
     "function": {
      "title": "Function",
      "type": "string"
     },
     "hours_saved_per_month": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Hours Saved Per Month"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "installed": {
      "title": "Installed",
      "type": "boolean"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "requires": {
      "items": {
       "type": "string"
      },
      "title": "Requires",
      "type": "array"
     },
     "risk": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Risk"
     },
     "segment": {
      "title": "Segment",
      "type": "string"
     },
     "status": {
      "enum": [
       "available",
       "coming"
      ],
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "function",
     "segment",
     "description",
     "chain",
     "requires",
     "status",
     "installed"
    ],
    "title": "CatalogEntry",
    "type": "object"
   },
   "Cockpit": {
    "properties": {
     "agreement_rate": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Agreement Rate"
     },
     "by_function": {
      "additionalProperties": {
       "$ref": "#/components/schemas/FunctionCounts"
      },
      "title": "By Function",
      "type": "object"
     },
     "completed_30d": {
      "title": "Completed 30D",
      "type": "integer"
     },
     "minutes_saved_30d": {
      "title": "Minutes Saved 30D",
      "type": "integer"
     },
     "open_tasks": {
      "items": {
       "$ref": "#/components/schemas/HumanTaskOut"
      },
      "title": "Open Tasks",
      "type": "array"
     },
     "overdue": {
      "title": "Overdue",
      "type": "integer"
     },
     "recent_runs": {
      "items": {
       "$ref": "#/components/schemas/ProcessRunOut"
      },
      "title": "Recent Runs",
      "type": "array"
     },
     "running": {
      "title": "Running",
      "type": "integer"
     },
     "waiting_on_you": {
      "title": "Waiting On You",
      "type": "integer"
     }
    },
    "required": [
     "running",
     "waiting_on_you",
     "overdue",
     "completed_30d",
     "minutes_saved_30d",
     "agreement_rate",
     "by_function",
     "recent_runs",
     "open_tasks"
    ],
    "title": "Cockpit",
    "type": "object"
   },
   "CodeIn": {
    "properties": {
     "code": {
      "maxLength": 20,
      "minLength": 6,
      "title": "Code",
      "type": "string"
     }
    },
    "required": [
     "code"
    ],
    "title": "CodeIn",
    "type": "object"
   },
   "ColumnOut": {
    "properties": {
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "position": {
      "title": "Position",
      "type": "integer"
     },
     "settings": {
      "additionalProperties": true,
      "title": "Settings",
      "type": "object"
     },
     "type": {
      "title": "Type",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "type",
     "position",
     "settings"
    ],
    "title": "ColumnOut",
    "type": "object"
   },
   "CompanyIn": {
    "properties": {
     "domain": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Domain"
     },
     "industry": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Industry"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     }
    },
    "required": [
     "name"
    ],
    "title": "CompanyIn",
    "type": "object"
   },
   "CompanyOut": {
    "properties": {
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "domain": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Domain"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "industry": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Industry"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     }
    },
    "required": [
     "name",
     "id"
    ],
    "title": "CompanyOut",
    "type": "object"
   },
   "CompanyPatch": {
    "properties": {
     "domain": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Domain"
     },
     "industry": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Industry"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     }
    },
    "title": "CompanyPatch",
    "type": "object"
   },
   "ConnectionOut": {
    "properties": {
     "detail": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Detail"
     },
     "provider": {
      "title": "Provider",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "provider",
     "status"
    ],
    "title": "ConnectionOut",
    "type": "object"
   },
   "ContactIn": {
    "properties": {
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "email": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "first_name": {
      "maxLength": 100,
      "minLength": 1,
      "title": "First Name",
      "type": "string"
     },
     "last_name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Name"
     },
     "lifecycle": {
      "default": "lead",
      "title": "Lifecycle",
      "type": "string"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     },
     "phone": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Phone"
     },
     "title": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Title"
     }
    },
    "required": [
     "first_name"
    ],
    "title": "ContactIn",
    "type": "object"
   },
   "ContactOut": {
    "properties": {
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "email": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "first_name": {
      "maxLength": 100,
      "minLength": 1,
      "title": "First Name",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "last_name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Name"
     },
     "lifecycle": {
      "default": "lead",
      "title": "Lifecycle",
      "type": "string"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     },
     "phone": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Phone"
     },
     "title": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Title"
     }
    },
    "required": [
     "first_name",
     "id"
    ],
    "title": "ContactOut",
    "type": "object"
   },
   "ContactPatch": {
    "properties": {
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "email": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "first_name": {
      "anyOf": [
       {
        "maxLength": 100,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "First Name"
     },
     "last_name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Name"
     },
     "lifecycle": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Lifecycle"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     },
     "phone": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Phone"
     },
     "title": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Title"
     }
    },
    "title": "ContactPatch",
    "type": "object"
   },
   "CustomerIn": {
    "properties": {
     "address": {
      "$ref": "#/components/schemas/Address"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "email": {
      "anyOf": [
       {
        "format": "email",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "phone": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Phone"
     }
    },
    "required": [
     "name"
    ],
    "title": "CustomerIn",
    "type": "object"
   },
   "CustomerOut": {
    "properties": {
     "address": {
      "additionalProperties": true,
      "title": "Address",
      "type": "object"
     },
     "balance_cents": {
      "title": "Balance Cents",
      "type": "integer"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "email": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "phone": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Phone"
     },
     "stripe_customer_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Stripe Customer Id"
     }
    },
    "required": [
     "id",
     "name",
     "email",
     "company_id",
     "phone",
     "address",
     "stripe_customer_id",
     "balance_cents",
     "created_at"
    ],
    "title": "CustomerOut",
    "type": "object"
   },
   "CustomerPatch": {
    "properties": {
     "address": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/Address"
       },
       {
        "type": "null"
       }
      ]
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "email": {
      "anyOf": [
       {
        "format": "email",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "phone": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Phone"
     }
    },
    "title": "CustomerPatch",
    "type": "object"
   },
   "DealIn": {
    "properties": {
     "amount_cents": {
      "default": 0,
      "minimum": 0.0,
      "title": "Amount Cents",
      "type": "integer"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "contact_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Contact Id"
     },
     "currency": {
      "default": "USD",
      "title": "Currency",
      "type": "string"
     },
     "expected_close": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expected Close"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     },
     "stage_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Stage Id"
     },
     "title": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Title",
      "type": "string"
     }
    },
    "required": [
     "title"
    ],
    "title": "DealIn",
    "type": "object"
   },
   "DealOut": {
    "properties": {
     "amount_cents": {
      "title": "Amount Cents",
      "type": "integer"
     },
     "closed_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Closed At"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "contact_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Contact Id"
     },
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "currency": {
      "title": "Currency",
      "type": "string"
     },
     "expected_close": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expected Close"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     },
     "pipeline_id": {
      "title": "Pipeline Id",
      "type": "string"
     },
     "stage_id": {
      "title": "Stage Id",
      "type": "string"
     },
     "title": {
      "title": "Title",
      "type": "string"
     }
    },
    "required": [
     "id",
     "title",
     "amount_cents",
     "currency",
     "pipeline_id",
     "stage_id",
     "company_id",
     "contact_id",
     "owner_id",
     "expected_close",
     "closed_at"
    ],
    "title": "DealOut",
    "type": "object"
   },
   "DealPatch": {
    "properties": {
     "amount_cents": {
      "anyOf": [
       {
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Amount Cents"
     },
     "company_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Company Id"
     },
     "contact_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Contact Id"
     },
     "expected_close": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expected Close"
     },
     "owner_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Owner Id"
     },
     "stage_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Stage Id"
     },
     "title": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Title"
     }
    },
    "title": "DealPatch",
    "type": "object"
   },
   "Decision": {
    "additionalProperties": false,
    "properties": {
     "description": {
      "title": "Description",
      "type": "string"
     },
     "input_schema": {
      "additionalProperties": true,
      "default": {},
      "title": "Input Schema",
      "type": "object"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "output_schema": {
      "additionalProperties": true,
      "default": {},
      "title": "Output Schema",
      "type": "object"
     },
     "thresholds": {
      "$ref": "#/components/schemas/Thresholds",
      "default": {
       "auto": 0.9,
       "suggest": 0.6
      }
     }
    },
    "required": [
     "name",
     "description"
    ],
    "title": "Decision",
    "type": "object"
   },
   "DecisionIn": {
    "properties": {
     "input": {
      "additionalProperties": true,
      "title": "Input",
      "type": "object"
     }
    },
    "required": [
     "input"
    ],
    "title": "DecisionIn",
    "type": "object"
   },
   "DepartmentsIn": {
    "properties": {
     "departments": {
      "items": {
       "type": "string"
      },
      "maxItems": 14,
      "title": "Departments",
      "type": "array"
     }
    },
    "title": "DepartmentsIn",
    "type": "object"
   },
   "DevLoginIn": {
    "properties": {
     "apps": {
      "items": {
       "type": "string"
      },
      "title": "Apps",
      "type": "array"
     },
     "email": {
      "default": "demo@neody.local",
      "title": "Email",
      "type": "string"
     },
     "roles": {
      "default": [
       "admin"
      ],
      "items": {
       "type": "string"
      },
      "title": "Roles",
      "type": "array"
     },
     "tenant_id": {
      "default": "01JDEMOTENANT0000000000000",
      "title": "Tenant Id",
      "type": "string"
     },
     "user_id": {
      "default": "01JDEMOUSER000000000000000",
      "title": "User Id",
      "type": "string"
     }
    },
    "title": "DevLoginIn",
    "type": "object"
   },
   "DocField": {
    "properties": {
     "extract": {
      "anyOf": [
       {
        "discriminator": {
         "mapping": {
          "label": "#/components/schemas/LabelExtract",
          "regex": "#/components/schemas/RegexExtract"
         },
         "propertyName": "method"
        },
        "oneOf": [
         {
          "$ref": "#/components/schemas/LabelExtract"
         },
         {
          "$ref": "#/components/schemas/RegexExtract"
         }
        ]
       },
       {
        "type": "null"
       }
      ],
      "title": "Extract"
     },
     "key": {
      "title": "Key",
      "type": "string"
     },
     "label": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Label",
      "type": "string"
     },
     "options": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Options"
     },
     "required": {
      "default": false,
      "title": "Required",
      "type": "boolean"
     },
     "type": {
      "default": "text",
      "enum": [
       "text",
       "number",
       "money",
       "date",
       "email",
       "enum"
      ],
      "title": "Type",
      "type": "string"
     }
    },
    "required": [
     "key",
     "label"
    ],
    "title": "DocField",
    "type": "object"
   },
   "DocTypeIn": {
    "properties": {
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "fields": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/DocField"
      },
      "title": "Fields",
      "type": "array"
     },
     "name": {
      "maxLength": 160,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "workflow": {
      "$ref": "#/components/schemas/Workflow",
      "default": {
       "auto_approve": false,
       "on_error": "review",
       "on_warning": "review",
       "review_sla_days": 2
      }
     }
    },
    "required": [
     "name"
    ],
    "title": "DocTypeIn",
    "type": "object"
   },
   "DocTypeOut": {
    "properties": {
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "fields": {
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Fields",
      "type": "array"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "rule_count": {
      "title": "Rule Count",
      "type": "integer"
     },
     "workflow": {
      "additionalProperties": true,
      "title": "Workflow",
      "type": "object"
     }
    },
    "required": [
     "id",
     "name",
     "description",
     "fields",
     "workflow",
     "rule_count"
    ],
    "title": "DocTypeOut",
    "type": "object"
   },
   "DocTypePatch": {
    "properties": {
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "fields": {
      "anyOf": [
       {
        "items": {
         "$ref": "#/components/schemas/DocField"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Fields"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 160,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "workflow": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/Workflow"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "title": "DocTypePatch",
    "type": "object"
   },
   "DocumentOut": {
    "properties": {
     "actions": {
      "default": [],
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Actions",
      "type": "array"
     },
     "content_type": {
      "title": "Content Type",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "due_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "extracted": {
      "additionalProperties": true,
      "title": "Extracted",
      "type": "object"
     },
     "filename": {
      "title": "Filename",
      "type": "string"
     },
     "history": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/HistoryEntry"
      },
      "title": "History",
      "type": "array"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "priority": {
      "default": "normal",
      "title": "Priority",
      "type": "string"
     },
     "queue": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Queue"
     },
     "review": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Review"
     },
     "size_bytes": {
      "title": "Size Bytes",
      "type": "integer"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "tags": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Tags",
      "type": "array"
     },
     "title": {
      "title": "Title",
      "type": "string"
     },
     "type_id": {
      "title": "Type Id",
      "type": "string"
     },
     "type_name": {
      "title": "Type Name",
      "type": "string"
     },
     "updated_at": {
      "format": "date-time",
      "title": "Updated At",
      "type": "string"
     },
     "validation": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Validation"
     },
     "version": {
      "title": "Version",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "title",
     "type_id",
     "type_name",
     "status",
     "version",
     "filename",
     "content_type",
     "size_bytes",
     "extracted",
     "validation",
     "review",
     "due_at",
     "created_at",
     "updated_at"
    ],
    "title": "DocumentOut",
    "type": "object"
   },
   "DraftIn": {
    "properties": {
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "template_id": {
      "maxLength": 80,
      "minLength": 1,
      "title": "Template Id",
      "type": "string"
     }
    },
    "required": [
     "template_id"
    ],
    "title": "DraftIn",
    "type": "object"
   },
   "EmailIn": {
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     }
    },
    "required": [
     "email"
    ],
    "title": "EmailIn",
    "type": "object"
   },
   "Events": {
    "additionalProperties": false,
    "properties": {
     "consumes": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Consumes",
      "type": "array"
     },
     "emits": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Emits",
      "type": "array"
     }
    },
    "title": "Events",
    "type": "object"
   },
   "FeedbackIn": {
    "properties": {
     "results": {
      "items": {
       "$ref": "#/components/schemas/FeedbackItemIn"
      },
      "maxItems": 200,
      "minItems": 1,
      "title": "Results",
      "type": "array"
     }
    },
    "required": [
     "results"
    ],
    "title": "FeedbackIn",
    "type": "object"
   },
   "FeedbackItemIn": {
    "properties": {
     "note": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     },
     "rule_id": {
      "maxLength": 80,
      "minLength": 1,
      "title": "Rule Id",
      "type": "string"
     },
     "verdict": {
      "enum": [
       "agree",
       "disagree"
      ],
      "title": "Verdict",
      "type": "string"
     }
    },
    "required": [
     "rule_id",
     "verdict"
    ],
    "title": "FeedbackItemIn",
    "type": "object"
   },
   "FieldsIn": {
    "properties": {
     "fields": {
      "additionalProperties": true,
      "title": "Fields",
      "type": "object"
     }
    },
    "required": [
     "fields"
    ],
    "title": "FieldsIn",
    "type": "object"
   },
   "FunctionCounts": {
    "properties": {
     "running": {
      "title": "Running",
      "type": "integer"
     },
     "waiting": {
      "title": "Waiting",
      "type": "integer"
     }
    },
    "required": [
     "running",
     "waiting"
    ],
    "title": "FunctionCounts",
    "type": "object"
   },
   "Gap": {
    "properties": {
     "capability": {
      "title": "Capability",
      "type": "string"
     },
     "filled_by": {
      "title": "Filled By",
      "type": "string"
     }
    },
    "required": [
     "capability",
     "filled_by"
    ],
    "title": "Gap",
    "type": "object"
   },
   "GroupOut": {
    "properties": {
     "color": {
      "title": "Color",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "position": {
      "title": "Position",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "name",
     "color",
     "position"
    ],
    "title": "GroupOut",
    "type": "object"
   },
   "HTTPValidationError": {
    "properties": {
     "detail": {
      "items": {
       "$ref": "#/components/schemas/ValidationError"
      },
      "title": "Detail",
      "type": "array"
     }
    },
    "title": "HTTPValidationError",
    "type": "object"
   },
   "HistoryEntry": {
    "properties": {
     "action": {
      "title": "Action",
      "type": "string"
     },
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "by": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "By"
     },
     "note": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     }
    },
    "required": [
     "at",
     "action",
     "by",
     "note"
    ],
    "title": "HistoryEntry",
    "type": "object"
   },
   "HumanTaskOut": {
    "properties": {
     "actions": {
      "items": {
       "type": "string"
      },
      "title": "Actions",
      "type": "array"
     },
     "completed_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Completed At"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "due_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "fields": {
      "anyOf": [
       {
        "items": {
         "additionalProperties": true,
         "type": "object"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Fields"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "outcome": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Outcome"
     },
     "process_name": {
      "title": "Process Name",
      "type": "string"
     },
     "run_id": {
      "title": "Run Id",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "step_key": {
      "title": "Step Key",
      "type": "string"
     },
     "subject": {
      "additionalProperties": true,
      "title": "Subject",
      "type": "object"
     },
     "title": {
      "title": "Title",
      "type": "string"
     }
    },
    "required": [
     "id",
     "run_id",
     "process_name",
     "step_key",
     "title",
     "description",
     "subject",
     "actions",
     "fields",
     "status",
     "outcome",
     "due_at",
     "created_at",
     "completed_at"
    ],
    "title": "HumanTaskOut",
    "type": "object"
   },
   "InstallIn": {
    "properties": {
     "template_ids": {
      "items": {
       "type": "string"
      },
      "maxItems": 40,
      "minItems": 1,
      "title": "Template Ids",
      "type": "array"
     }
    },
    "required": [
     "template_ids"
    ],
    "title": "InstallIn",
    "type": "object"
   },
   "InstallOut": {
    "properties": {
     "installed": {
      "items": {
       "$ref": "#/components/schemas/ProcessDefOut"
      },
      "title": "Installed",
      "type": "array"
     },
     "skipped": {
      "items": {
       "$ref": "#/components/schemas/Skipped"
      },
      "title": "Skipped",
      "type": "array"
     }
    },
    "required": [
     "installed",
     "skipped"
    ],
    "title": "InstallOut",
    "type": "object"
   },
   "Integration": {
    "properties": {
     "app": {
      "title": "App",
      "type": "string"
     },
     "how": {
      "enum": [
       "native",
       "connector",
       "manual",
       "coming"
      ],
      "title": "How",
      "type": "string"
     },
     "note": {
      "title": "Note",
      "type": "string"
     },
     "provides": {
      "items": {
       "type": "string"
      },
      "title": "Provides",
      "type": "array"
     },
     "recognized": {
      "title": "Recognized",
      "type": "boolean"
     }
    },
    "required": [
     "app",
     "recognized",
     "how",
     "provides",
     "note"
    ],
    "title": "Integration",
    "type": "object"
   },
   "InviteIn": {
    "properties": {
     "apps": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Apps"
     },
     "break_glass_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "roles": {
      "default": [
       "member"
      ],
      "items": {
       "type": "string"
      },
      "title": "Roles",
      "type": "array"
     }
    },
    "required": [
     "email"
    ],
    "title": "InviteIn",
    "type": "object"
   },
   "InvoiceEventOut": {
    "properties": {
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "note": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     },
     "type": {
      "title": "Type",
      "type": "string"
     }
    },
    "required": [
     "at",
     "type",
     "note"
    ],
    "title": "InvoiceEventOut",
    "type": "object"
   },
   "InvoiceIn": {
    "properties": {
     "customer_id": {
      "title": "Customer Id",
      "type": "string"
     },
     "days_until_due": {
      "default": 14,
      "maximum": 365.0,
      "minimum": 0.0,
      "title": "Days Until Due",
      "type": "integer"
     },
     "deal_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Deal Id"
     },
     "due_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due Date"
     },
     "lines": {
      "items": {
       "$ref": "#/components/schemas/LineIn"
      },
      "minItems": 1,
      "title": "Lines",
      "type": "array"
     },
     "memo": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Memo"
     }
    },
    "required": [
     "customer_id",
     "lines"
    ],
    "title": "InvoiceIn",
    "type": "object"
   },
   "InvoiceOut": {
    "properties": {
     "amount_due_cents": {
      "title": "Amount Due Cents",
      "type": "integer"
     },
     "amount_paid_cents": {
      "title": "Amount Paid Cents",
      "type": "integer"
     },
     "collection": {
      "title": "Collection",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "currency": {
      "title": "Currency",
      "type": "string"
     },
     "customer_id": {
      "title": "Customer Id",
      "type": "string"
     },
     "customer_name": {
      "title": "Customer Name",
      "type": "string"
     },
     "deal_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Deal Id"
     },
     "due_date": {
      "format": "date",
      "title": "Due Date",
      "type": "string"
     },
     "events": {
      "items": {
       "$ref": "#/components/schemas/InvoiceEventOut"
      },
      "title": "Events",
      "type": "array"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "issued_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Issued At"
     },
     "lines": {
      "items": {
       "$ref": "#/components/schemas/LineOut"
      },
      "title": "Lines",
      "type": "array"
     },
     "memo": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Memo"
     },
     "mode": {
      "enum": [
       "stripe",
       "simulated"
      ],
      "title": "Mode",
      "type": "string"
     },
     "number": {
      "title": "Number",
      "type": "string"
     },
     "paid_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Paid At"
     },
     "pay_url": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Pay Url"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "subtotal_cents": {
      "title": "Subtotal Cents",
      "type": "integer"
     },
     "tax_cents": {
      "title": "Tax Cents",
      "type": "integer"
     },
     "total_cents": {
      "title": "Total Cents",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "number",
     "customer_id",
     "customer_name",
     "status",
     "collection",
     "lines",
     "subtotal_cents",
     "tax_cents",
     "total_cents",
     "amount_paid_cents",
     "amount_due_cents",
     "currency",
     "due_date",
     "issued_at",
     "paid_at",
     "pay_url",
     "deal_id",
     "memo",
     "events",
     "created_at",
     "mode"
    ],
    "title": "InvoiceOut",
    "type": "object"
   },
   "InvoicePatch": {
    "properties": {
     "customer_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Customer Id"
     },
     "due_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due Date"
     },
     "lines": {
      "anyOf": [
       {
        "items": {
         "$ref": "#/components/schemas/LineIn"
        },
        "minItems": 1,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Lines"
     },
     "memo": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Memo"
     }
    },
    "title": "InvoicePatch",
    "type": "object"
   },
   "ItemIn": {
    "properties": {
     "assignee_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Assignee Id"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "due_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "group_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Group Id"
     },
     "parent_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Parent Id"
     },
     "priority": {
      "default": "medium",
      "enum": [
       "low",
       "medium",
       "high",
       "urgent"
      ],
      "title": "Priority",
      "type": "string"
     },
     "sprint_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Sprint Id"
     },
     "status_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status Id"
     },
     "story_points": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Story Points"
     },
     "title": {
      "maxLength": 300,
      "minLength": 1,
      "title": "Title",
      "type": "string"
     },
     "type": {
      "default": "task",
      "enum": [
       "task",
       "story",
       "bug",
       "epic"
      ],
      "title": "Type",
      "type": "string"
     },
     "values": {
      "additionalProperties": true,
      "default": {},
      "title": "Values",
      "type": "object"
     }
    },
    "required": [
     "title"
    ],
    "title": "ItemIn",
    "type": "object"
   },
   "ItemOut": {
    "properties": {
     "archived": {
      "title": "Archived",
      "type": "boolean"
     },
     "assignee_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Assignee Id"
     },
     "board_id": {
      "title": "Board Id",
      "type": "string"
     },
     "completed_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Completed At"
     },
     "created_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created At"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "due_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "group_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Group Id"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "number": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Number"
     },
     "parent_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Parent Id"
     },
     "position": {
      "title": "Position",
      "type": "number"
     },
     "priority": {
      "title": "Priority",
      "type": "string"
     },
     "sprint_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Sprint Id"
     },
     "status_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status Id"
     },
     "story_points": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Story Points"
     },
     "title": {
      "title": "Title",
      "type": "string"
     },
     "type": {
      "title": "Type",
      "type": "string"
     },
     "values": {
      "additionalProperties": true,
      "title": "Values",
      "type": "object"
     }
    },
    "required": [
     "id",
     "board_id",
     "group_id",
     "parent_id",
     "status_id",
     "sprint_id",
     "number",
     "title",
     "description",
     "type",
     "priority",
     "assignee_id",
     "due_at",
     "story_points",
     "position",
     "archived",
     "values",
     "completed_at"
    ],
    "title": "ItemOut",
    "type": "object"
   },
   "ItemPatch": {
    "properties": {
     "archived": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Archived"
     },
     "assignee_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Assignee Id"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "due_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "group_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Group Id"
     },
     "parent_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Parent Id"
     },
     "position": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Position"
     },
     "priority": {
      "anyOf": [
       {
        "enum": [
         "low",
         "medium",
         "high",
         "urgent"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Priority"
     },
     "sprint_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Sprint Id"
     },
     "story_points": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Story Points"
     },
     "title": {
      "anyOf": [
       {
        "maxLength": 300,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Title"
     },
     "type": {
      "anyOf": [
       {
        "enum": [
         "task",
         "story",
         "bug",
         "epic"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Type"
     },
     "values": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Values"
     }
    },
    "title": "ItemPatch",
    "type": "object"
   },
   "JourneyPlanOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "gaps": {
      "items": {
       "$ref": "#/components/schemas/Gap"
      },
      "title": "Gaps",
      "type": "array"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "integrations": {
      "items": {
       "$ref": "#/components/schemas/Integration"
      },
      "title": "Integrations",
      "type": "array"
     },
     "profile": {
      "$ref": "#/components/schemas/ProfileOut"
     },
     "progress": {
      "items": {
       "$ref": "#/components/schemas/Progress"
      },
      "title": "Progress",
      "type": "array"
     },
     "recommendations": {
      "items": {
       "$ref": "#/components/schemas/Recommendation"
      },
      "title": "Recommendations",
      "type": "array"
     },
     "source": {
      "$ref": "#/components/schemas/Source"
     }
    },
    "required": [
     "id",
     "created_at",
     "source",
     "profile",
     "recommendations",
     "integrations",
     "gaps",
     "progress"
    ],
    "title": "JourneyPlanOut",
    "type": "object"
   },
   "LabelExtract": {
    "properties": {
     "label": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Label",
      "type": "string"
     },
     "method": {
      "const": "label",
      "title": "Method",
      "type": "string"
     }
    },
    "required": [
     "method",
     "label"
    ],
    "title": "LabelExtract",
    "type": "object"
   },
   "LeadIn": {
    "properties": {
     "answers": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Answers"
     },
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "source": {
      "enum": [
       "beta",
       "chat",
       "developer",
       "regulated"
      ],
      "title": "Source",
      "type": "string"
     }
    },
    "required": [
     "email",
     "source"
    ],
    "title": "LeadIn",
    "type": "object"
   },
   "LineIn": {
    "properties": {
     "description": {
      "anyOf": [
       {
        "maxLength": 500,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "product_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Product Id"
     },
     "quantity": {
      "default": 1,
      "maximum": 100000.0,
      "minimum": 1.0,
      "title": "Quantity",
      "type": "integer"
     },
     "unit_amount_cents": {
      "anyOf": [
       {
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Unit Amount Cents"
     }
    },
    "title": "LineIn",
    "type": "object"
   },
   "LineOut": {
    "properties": {
     "amount_cents": {
      "title": "Amount Cents",
      "type": "integer"
     },
     "description": {
      "title": "Description",
      "type": "string"
     },
     "product_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Product Id"
     },
     "quantity": {
      "title": "Quantity",
      "type": "integer"
     },
     "unit_amount_cents": {
      "title": "Unit Amount Cents",
      "type": "integer"
     }
    },
    "required": [
     "description",
     "quantity",
     "unit_amount_cents",
     "product_id",
     "amount_cents"
    ],
    "title": "LineOut",
    "type": "object"
   },
   "LoginIn": {
    "description": "`login` is an email or a username (`email` / `username` are accepted too).",
    "properties": {
     "email": {
      "anyOf": [
       {
        "maxLength": 320,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email"
     },
     "login": {
      "anyOf": [
       {
        "maxLength": 320,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Login"
     },
     "password": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Password",
      "type": "string"
     },
     "tenant_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Tenant Id"
     },
     "username": {
      "anyOf": [
       {
        "maxLength": 32,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Username"
     }
    },
    "required": [
     "password"
    ],
    "title": "LoginIn",
    "type": "object"
   },
   "LookupIn": {
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     }
    },
    "required": [
     "email"
    ],
    "title": "LookupIn",
    "type": "object"
   },
   "Manifest": {
    "additionalProperties": false,
    "properties": {
     "api": {
      "$ref": "#/components/schemas/Api"
     },
     "category": {
      "title": "Category",
      "type": "string"
     },
     "decisions": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/Decision"
      },
      "title": "Decisions",
      "type": "array"
     },
     "description": {
      "title": "Description",
      "type": "string"
     },
     "events": {
      "$ref": "#/components/schemas/Events",
      "default": {
       "consumes": [],
       "emits": []
      }
     },
     "icon": {
      "title": "Icon",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "pricing": {
      "$ref": "#/components/schemas/Pricing",
      "default": {
       "plans": []
      }
     },
     "publisher": {
      "title": "Publisher",
      "type": "string"
     },
     "scopes": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Scopes",
      "type": "array"
     },
     "tools": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/Tool"
      },
      "title": "Tools",
      "type": "array"
     },
     "ui": {
      "$ref": "#/components/schemas/UI"
     },
     "version": {
      "title": "Version",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "version",
     "publisher",
     "description",
     "icon",
     "category",
     "ui",
     "api"
    ],
    "title": "Manifest",
    "type": "object"
   },
   "MarkPaidIn": {
    "properties": {
     "method": {
      "const": "offline",
      "default": "offline",
      "title": "Method",
      "type": "string"
     },
     "note": {
      "anyOf": [
       {
        "maxLength": 1000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     }
    },
    "title": "MarkPaidIn",
    "type": "object"
   },
   "MemberIn": {
    "properties": {
     "email": {
      "maxLength": 320,
      "title": "Email",
      "type": "string"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "role": {
      "default": "member",
      "enum": [
       "owner",
       "admin",
       "member",
       "viewer"
      ],
      "title": "Role",
      "type": "string"
     },
     "username": {
      "anyOf": [
       {
        "maxLength": 32,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Username"
     }
    },
    "required": [
     "email",
     "name"
    ],
    "title": "MemberIn",
    "type": "object"
   },
   "MemberPatch": {
    "properties": {
     "apps": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "description": "app ids; send null with apps_all=true for every app",
      "title": "Apps"
     },
     "apps_all": {
      "default": false,
      "title": "Apps All",
      "type": "boolean"
     },
     "break_glass_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "roles": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Roles"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "active",
         "suspended"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status"
     }
    },
    "title": "MemberPatch",
    "type": "object"
   },
   "MessageOut": {
    "properties": {
     "body": {
      "title": "Body",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "provider": {
      "title": "Provider",
      "type": "string"
     },
     "run_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Run Id"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "subject": {
      "title": "Subject",
      "type": "string"
     },
     "to": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "To"
     }
    },
    "required": [
     "id",
     "run_id",
     "to",
     "subject",
     "body",
     "status",
     "provider",
     "created_at"
    ],
    "title": "MessageOut",
    "type": "object"
   },
   "MfaIn": {
    "properties": {
     "code": {
      "maxLength": 20,
      "minLength": 6,
      "title": "Code",
      "type": "string"
     },
     "mfa_token": {
      "title": "Mfa Token",
      "type": "string"
     },
     "tenant_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Tenant Id"
     }
    },
    "required": [
     "mfa_token",
     "code"
    ],
    "title": "MfaIn",
    "type": "object"
   },
   "MoveIn": {
    "properties": {
     "status_id": {
      "title": "Status Id",
      "type": "string"
     }
    },
    "required": [
     "status_id"
    ],
    "title": "MoveIn",
    "type": "object"
   },
   "NavItem": {
    "additionalProperties": false,
    "properties": {
     "icon": {
      "title": "Icon",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "path": {
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "id",
     "label",
     "icon",
     "path"
    ],
    "title": "NavItem",
    "type": "object"
   },
   "PasswordIn": {
    "properties": {
     "current_password": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Current Password"
     },
     "new_password": {
      "maxLength": 200,
      "minLength": 1,
      "title": "New Password",
      "type": "string"
     }
    },
    "required": [
     "new_password"
    ],
    "title": "PasswordIn",
    "type": "object"
   },
   "PauseIn": {
    "properties": {
     "reason": {
      "anyOf": [
       {
        "maxLength": 500,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Reason"
     }
    },
    "title": "PauseIn",
    "type": "object"
   },
   "PaymentOut": {
    "properties": {
     "amount_cents": {
      "title": "Amount Cents",
      "type": "integer"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "failure_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Failure Reason"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "invoice_id": {
      "title": "Invoice Id",
      "type": "string"
     },
     "method": {
      "title": "Method",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "invoice_id",
     "amount_cents",
     "method",
     "status",
     "failure_reason",
     "created_at"
    ],
    "title": "PaymentOut",
    "type": "object"
   },
   "PersonIn": {
    "properties": {
     "email": {
      "maxLength": 320,
      "title": "Email",
      "type": "string"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "username": {
      "anyOf": [
       {
        "maxLength": 32,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Username"
     }
    },
    "required": [
     "email",
     "name"
    ],
    "title": "PersonIn",
    "type": "object"
   },
   "PipelineBoard": {
    "properties": {
     "columns": {
      "items": {
       "$ref": "#/components/schemas/BoardColumn"
      },
      "title": "Columns",
      "type": "array"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "pipeline_id": {
      "title": "Pipeline Id",
      "type": "string"
     }
    },
    "required": [
     "pipeline_id",
     "name",
     "columns"
    ],
    "title": "PipelineBoard",
    "type": "object"
   },
   "Plan": {
    "additionalProperties": false,
    "properties": {
     "id": {
      "title": "Id",
      "type": "string"
     },
     "stripe_lookup_key": {
      "title": "Stripe Lookup Key",
      "type": "string"
     }
    },
    "required": [
     "id",
     "stripe_lookup_key"
    ],
    "title": "Plan",
    "type": "object"
   },
   "PolicyAction": {
    "properties": {
     "params": {
      "additionalProperties": true,
      "default": {},
      "title": "Params",
      "type": "object"
     },
     "type": {
      "title": "Type",
      "type": "string"
     }
    },
    "required": [
     "type"
    ],
    "title": "PolicyAction",
    "type": "object"
   },
   "PolicyIn": {
    "properties": {
     "enabled": {
      "default": true,
      "title": "Enabled",
      "type": "boolean"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "position": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Position"
     },
     "stop": {
      "default": false,
      "title": "Stop",
      "type": "boolean"
     },
     "then": {
      "items": {
       "$ref": "#/components/schemas/PolicyAction"
      },
      "minItems": 1,
      "title": "Then",
      "type": "array"
     },
     "when": {
      "$ref": "#/components/schemas/When",
      "default": {
       "all": [],
       "any": []
      }
     }
    },
    "required": [
     "name",
     "then"
    ],
    "title": "PolicyIn",
    "type": "object"
   },
   "PolicyOut": {
    "properties": {
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "position": {
      "title": "Position",
      "type": "integer"
     },
     "stop": {
      "title": "Stop",
      "type": "boolean"
     },
     "then": {
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Then",
      "type": "array"
     },
     "type_id": {
      "title": "Type Id",
      "type": "string"
     },
     "when": {
      "additionalProperties": true,
      "title": "When",
      "type": "object"
     }
    },
    "required": [
     "id",
     "type_id",
     "name",
     "enabled",
     "position",
     "when",
     "then",
     "stop"
    ],
    "title": "PolicyOut",
    "type": "object"
   },
   "PolicyPatch": {
    "properties": {
     "enabled": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enabled"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "position": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Position"
     },
     "stop": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Stop"
     },
     "then": {
      "anyOf": [
       {
        "items": {
         "$ref": "#/components/schemas/PolicyAction"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Then"
     },
     "when": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/When"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "title": "PolicyPatch",
    "type": "object"
   },
   "Pricing": {
    "additionalProperties": false,
    "properties": {
     "plans": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/Plan"
      },
      "title": "Plans",
      "type": "array"
     }
    },
    "title": "Pricing",
    "type": "object"
   },
   "ProcessDefOut": {
    "properties": {
     "automation": {
      "additionalProperties": true,
      "title": "Automation",
      "type": "object"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "function": {
      "title": "Function",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "maturity": {
      "title": "Maturity",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "stats": {
      "$ref": "#/components/schemas/Stats"
     },
     "steps": {
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Steps",
      "type": "array"
     },
     "template_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Template Id"
     },
     "trigger": {
      "additionalProperties": true,
      "title": "Trigger",
      "type": "object"
     },
     "version": {
      "title": "Version",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "template_id",
     "name",
     "function",
     "description",
     "enabled",
     "version",
     "maturity",
     "trigger",
     "steps",
     "stats",
     "created_at"
    ],
    "title": "ProcessDefOut",
    "type": "object"
   },
   "ProcessPatch": {
    "properties": {
     "break_glass_reason": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "enabled": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enabled"
     },
     "maturity": {
      "anyOf": [
       {
        "enum": [
         "shadow",
         "assisted",
         "supervised"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Maturity"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "note": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     },
     "steps": {
      "anyOf": [
       {
        "items": {
         "additionalProperties": true,
         "type": "object"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Steps"
     },
     "trigger": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Trigger"
     }
    },
    "title": "ProcessPatch",
    "type": "object"
   },
   "ProcessRunOut": {
    "properties": {
     "context": {
      "additionalProperties": true,
      "title": "Context",
      "type": "object"
     },
     "current_step": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Current Step"
     },
     "due_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "finished_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Finished At"
     },
     "function": {
      "title": "Function",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "note": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     },
     "process_id": {
      "title": "Process Id",
      "type": "string"
     },
     "process_name": {
      "title": "Process Name",
      "type": "string"
     },
     "started_at": {
      "format": "date-time",
      "title": "Started At",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "steps": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/StepRunOut"
      },
      "title": "Steps",
      "type": "array"
     },
     "subject": {
      "additionalProperties": true,
      "title": "Subject",
      "type": "object"
     },
     "version": {
      "default": 1,
      "title": "Version",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "process_id",
     "process_name",
     "function",
     "status",
     "current_step",
     "subject",
     "context",
     "due_at",
     "started_at",
     "finished_at"
    ],
    "title": "ProcessRunOut",
    "type": "object"
   },
   "ProductIn": {
    "properties": {
     "active": {
      "default": true,
      "title": "Active",
      "type": "boolean"
     },
     "currency": {
      "const": "usd",
      "default": "usd",
      "title": "Currency",
      "type": "string"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "recurring": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/Recurring"
       },
       {
        "type": "null"
       }
      ]
     },
     "tax_code": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Tax Code"
     },
     "unit_amount_cents": {
      "minimum": 0.0,
      "title": "Unit Amount Cents",
      "type": "integer"
     }
    },
    "required": [
     "name",
     "unit_amount_cents"
    ],
    "title": "ProductIn",
    "type": "object"
   },
   "ProductOut": {
    "properties": {
     "active": {
      "title": "Active",
      "type": "boolean"
     },
     "currency": {
      "title": "Currency",
      "type": "string"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "recurring": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Recurring"
     },
     "tax_code": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Tax Code"
     },
     "unit_amount_cents": {
      "title": "Unit Amount Cents",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "name",
     "description",
     "unit_amount_cents",
     "currency",
     "recurring",
     "tax_code",
     "active"
    ],
    "title": "ProductOut",
    "type": "object"
   },
   "ProductPatch": {
    "properties": {
     "active": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Active"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "recurring": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/Recurring"
       },
       {
        "type": "null"
       }
      ]
     },
     "tax_code": {
      "anyOf": [
       {
        "maxLength": 40,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Tax Code"
     },
     "unit_amount_cents": {
      "anyOf": [
       {
        "minimum": 0.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Unit Amount Cents"
     }
    },
    "title": "ProductPatch",
    "type": "object"
   },
   "ProfileIn": {
    "properties": {
     "tags": {
      "items": {
       "type": "string"
      },
      "maxItems": 60,
      "title": "Tags",
      "type": "array"
     }
    },
    "title": "ProfileIn",
    "type": "object"
   },
   "ProfileOut": {
    "properties": {
     "business_name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Business Name"
     },
     "functions": {
      "items": {
       "type": "string"
      },
      "title": "Functions",
      "type": "array"
     },
     "industry_label": {
      "title": "Industry Label",
      "type": "string"
     },
     "provider": {
      "enum": [
       "rules",
       "jev",
       "claude"
      ],
      "title": "Provider",
      "type": "string"
     },
     "segment": {
      "enum": [
       "back_office",
       "manufacturing",
       "accounting",
       "retail",
       "services",
       "other"
      ],
      "title": "Segment",
      "type": "string"
     },
     "segment_confidence": {
      "title": "Segment Confidence",
      "type": "number"
     },
     "signals": {
      "items": {
       "type": "string"
      },
      "title": "Signals",
      "type": "array"
     },
     "summary": {
      "title": "Summary",
      "type": "string"
     },
     "systems_mentioned": {
      "items": {
       "type": "string"
      },
      "title": "Systems Mentioned",
      "type": "array"
     }
    },
    "required": [
     "business_name",
     "summary",
     "segment",
     "segment_confidence",
     "industry_label",
     "functions",
     "systems_mentioned",
     "signals",
     "provider"
    ],
    "title": "ProfileOut",
    "type": "object"
   },
   "Progress": {
    "properties": {
     "stage": {
      "enum": [
       "recommended",
       "installed",
       "shadow",
       "assisted",
       "supervised"
      ],
      "title": "Stage",
      "type": "string"
     },
     "template_id": {
      "title": "Template Id",
      "type": "string"
     }
    },
    "required": [
     "template_id",
     "stage"
    ],
    "title": "Progress",
    "type": "object"
   },
   "ProviderOut": {
    "properties": {
     "app_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "App Id"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "kind",
     "app_id",
     "name",
     "status"
    ],
    "title": "ProviderOut",
    "type": "object"
   },
   "PublicPayOut": {
    "properties": {
     "amount_due_cents": {
      "title": "Amount Due Cents",
      "type": "integer"
     },
     "business_name": {
      "title": "Business Name",
      "type": "string"
     },
     "currency": {
      "title": "Currency",
      "type": "string"
     },
     "customer_name": {
      "title": "Customer Name",
      "type": "string"
     },
     "due_date": {
      "format": "date",
      "title": "Due Date",
      "type": "string"
     },
     "lines": {
      "items": {
       "$ref": "#/components/schemas/LineOut"
      },
      "title": "Lines",
      "type": "array"
     },
     "mode": {
      "enum": [
       "stripe",
       "simulated"
      ],
      "title": "Mode",
      "type": "string"
     },
     "number": {
      "title": "Number",
      "type": "string"
     },
     "pay_url": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Pay Url"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "subtotal_cents": {
      "title": "Subtotal Cents",
      "type": "integer"
     },
     "tax_cents": {
      "title": "Tax Cents",
      "type": "integer"
     },
     "total_cents": {
      "title": "Total Cents",
      "type": "integer"
     }
    },
    "required": [
     "business_name",
     "number",
     "customer_name",
     "lines",
     "subtotal_cents",
     "tax_cents",
     "total_cents",
     "amount_due_cents",
     "currency",
     "due_date",
     "status",
     "mode",
     "pay_url"
    ],
    "title": "PublicPayOut",
    "type": "object"
   },
   "Recommendation": {
    "properties": {
     "effort": {
      "enum": [
       "low",
       "medium",
       "high"
      ],
      "title": "Effort",
      "type": "string"
     },
     "function": {
      "title": "Function",
      "type": "string"
     },
     "hours_saved_per_month": {
      "title": "Hours Saved Per Month",
      "type": "number"
     },
     "installed": {
      "title": "Installed",
      "type": "boolean"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "rank": {
      "title": "Rank",
      "type": "integer"
     },
     "risk": {
      "enum": [
       "low",
       "medium",
       "high"
      ],
      "title": "Risk",
      "type": "string"
     },
     "segment": {
      "title": "Segment",
      "type": "string"
     },
     "status": {
      "enum": [
       "available",
       "coming"
      ],
      "title": "Status",
      "type": "string"
     },
     "template_id": {
      "title": "Template Id",
      "type": "string"
     },
     "why": {
      "title": "Why",
      "type": "string"
     }
    },
    "required": [
     "rank",
     "template_id",
     "name",
     "segment",
     "function",
     "why",
     "hours_saved_per_month",
     "effort",
     "risk",
     "status",
     "installed"
    ],
    "title": "Recommendation",
    "type": "object"
   },
   "Recurring": {
    "properties": {
     "interval": {
      "enum": [
       "month",
       "year"
      ],
      "title": "Interval",
      "type": "string"
     }
    },
    "required": [
     "interval"
    ],
    "title": "Recurring",
    "type": "object"
   },
   "RefundIn": {
    "properties": {
     "amount_cents": {
      "anyOf": [
       {
        "minimum": 1.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Amount Cents"
     }
    },
    "title": "RefundIn",
    "type": "object"
   },
   "RegexExtract": {
    "properties": {
     "method": {
      "const": "regex",
      "title": "Method",
      "type": "string"
     },
     "pattern": {
      "maxLength": 500,
      "minLength": 1,
      "title": "Pattern",
      "type": "string"
     }
    },
    "required": [
     "method",
     "pattern"
    ],
    "title": "RegexExtract",
    "type": "object"
   },
   "Reminders": {
    "properties": {
     "after_due_days": {
      "items": {
       "type": "integer"
      },
      "title": "After Due Days",
      "type": "array"
     },
     "before_due_days": {
      "items": {
       "type": "integer"
      },
      "title": "Before Due Days",
      "type": "array"
     }
    },
    "title": "Reminders",
    "type": "object"
   },
   "ReviewIn": {
    "properties": {
     "comment": {
      "anyOf": [
       {
        "maxLength": 4000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Comment"
     },
     "decision": {
      "enum": [
       "approve",
       "reject"
      ],
      "title": "Decision",
      "type": "string"
     }
    },
    "required": [
     "decision"
    ],
    "title": "ReviewIn",
    "type": "object"
   },
   "RouteIn": {
    "properties": {
     "text": {
      "maxLength": 4000,
      "minLength": 1,
      "title": "Text",
      "type": "string"
     }
    },
    "required": [
     "text"
    ],
    "title": "RouteIn",
    "type": "object"
   },
   "RuleAgreement": {
    "properties": {
     "agree": {
      "title": "Agree",
      "type": "integer"
     },
     "disagree": {
      "title": "Disagree",
      "type": "integer"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "rate": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rate"
     },
     "rule_id": {
      "title": "Rule Id",
      "type": "string"
     }
    },
    "required": [
     "rule_id",
     "name",
     "agree",
     "disagree",
     "rate"
    ],
    "title": "RuleAgreement",
    "type": "object"
   },
   "RuleIn": {
    "properties": {
     "config": {
      "additionalProperties": true,
      "title": "Config",
      "type": "object"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "enabled": {
      "default": true,
      "title": "Enabled",
      "type": "boolean"
     },
     "kind": {
      "enum": [
       "field",
       "compare",
       "text",
       "question",
       "ai"
      ],
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "position": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Position"
     },
     "severity": {
      "default": "error",
      "enum": [
       "error",
       "warning",
       "info"
      ],
      "title": "Severity",
      "type": "string"
     }
    },
    "required": [
     "name",
     "kind",
     "config"
    ],
    "title": "RuleIn",
    "type": "object"
   },
   "RuleOut": {
    "properties": {
     "config": {
      "additionalProperties": true,
      "title": "Config",
      "type": "object"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "position": {
      "title": "Position",
      "type": "integer"
     },
     "severity": {
      "title": "Severity",
      "type": "string"
     },
     "type_id": {
      "title": "Type Id",
      "type": "string"
     }
    },
    "required": [
     "id",
     "type_id",
     "name",
     "description",
     "kind",
     "severity",
     "enabled",
     "position",
     "config"
    ],
    "title": "RuleOut",
    "type": "object"
   },
   "RulePatch": {
    "properties": {
     "config": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Config"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "enabled": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enabled"
     },
     "kind": {
      "anyOf": [
       {
        "enum": [
         "field",
         "compare",
         "text",
         "question",
         "ai"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Kind"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "position": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Position"
     },
     "severity": {
      "anyOf": [
       {
        "enum": [
         "error",
         "warning",
         "info"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Severity"
     }
    },
    "title": "RulePatch",
    "type": "object"
   },
   "RunOut": {
    "properties": {
     "agent": {
      "title": "Agent",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "steps": {
      "items": {
       "$ref": "#/components/schemas/StepOut"
      },
      "title": "Steps",
      "type": "array"
     },
     "summary": {
      "title": "Summary",
      "type": "string"
     },
     "trigger_event": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Trigger Event"
     }
    },
    "required": [
     "id",
     "agent",
     "trigger_event",
     "status",
     "summary",
     "created_at",
     "steps"
    ],
    "title": "RunOut",
    "type": "object"
   },
   "SecurityPatch": {
    "properties": {
     "break_glass_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "dual_control": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Dual Control"
     },
     "regulated": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Regulated"
     },
     "require_mfa": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Require Mfa"
     },
     "session_hours": {
      "anyOf": [
       {
        "maximum": 720.0,
        "minimum": 1.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Session Hours"
     },
     "trust_idp_mfa": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Trust Idp Mfa"
     }
    },
    "title": "SecurityPatch",
    "type": "object"
   },
   "SignupIn": {
    "description": "Sign up with an email (required) and optionally a username to sign in with. Name defaults to the username.",
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "password": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Password",
      "type": "string"
     },
     "username": {
      "anyOf": [
       {
        "maxLength": 32,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Username"
     },
     "workspace_name": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Workspace Name"
     }
    },
    "required": [
     "email",
     "password"
    ],
    "title": "SignupIn",
    "type": "object"
   },
   "SimulateIn": {
    "properties": {
     "outcome": {
      "enum": [
       "succeeded",
       "failed"
      ],
      "title": "Outcome",
      "type": "string"
     }
    },
    "required": [
     "outcome"
    ],
    "title": "SimulateIn",
    "type": "object"
   },
   "Skipped": {
    "properties": {
     "reason": {
      "title": "Reason",
      "type": "string"
     },
     "template_id": {
      "title": "Template Id",
      "type": "string"
     }
    },
    "required": [
     "template_id",
     "reason"
    ],
    "title": "Skipped",
    "type": "object"
   },
   "SmtpIn": {
    "properties": {
     "from_email": {
      "format": "email",
      "title": "From Email",
      "type": "string"
     },
     "from_name": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "From Name"
     },
     "host": {
      "maxLength": 255,
      "minLength": 1,
      "title": "Host",
      "type": "string"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 500,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "port": {
      "maximum": 65535.0,
      "minimum": 1.0,
      "title": "Port",
      "type": "integer"
     },
     "security": {
      "default": "starttls",
      "enum": [
       "starttls",
       "ssl",
       "none"
      ],
      "title": "Security",
      "type": "string"
     },
     "test_to": {
      "anyOf": [
       {
        "format": "email",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Test To"
     },
     "username": {
      "anyOf": [
       {
        "maxLength": 320,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Username"
     }
    },
    "required": [
     "host",
     "port",
     "from_email"
    ],
    "title": "SmtpIn",
    "type": "object"
   },
   "Source": {
    "properties": {
     "apps": {
      "items": {
       "type": "string"
      },
      "title": "Apps",
      "type": "array"
     },
     "document_name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Document Name"
     },
     "notes": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Notes"
     },
     "pages_read": {
      "items": {
       "type": "string"
      },
      "title": "Pages Read",
      "type": "array"
     },
     "website_url": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Website Url"
     }
    },
    "required": [
     "website_url",
     "document_name",
     "apps",
     "notes",
     "pages_read"
    ],
    "title": "Source",
    "type": "object"
   },
   "SsoIn": {
    "properties": {
     "client_id": {
      "maxLength": 300,
      "minLength": 1,
      "title": "Client Id",
      "type": "string"
     },
     "client_secret": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Client Secret"
     },
     "domains": {
      "items": {
       "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "title": "Domains",
      "type": "array"
     },
     "issuer": {
      "maxLength": 500,
      "minLength": 8,
      "title": "Issuer",
      "type": "string"
     },
     "jit": {
      "default": true,
      "title": "Jit",
      "type": "boolean"
     },
     "jit_role": {
      "default": "member",
      "enum": [
       "member",
       "viewer",
       "guest"
      ],
      "title": "Jit Role",
      "type": "string"
     },
     "name": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name",
     "issuer",
     "client_id",
     "domains"
    ],
    "title": "SsoIn",
    "type": "object"
   },
   "SsoPatch": {
    "properties": {
     "break_glass_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "client_id": {
      "anyOf": [
       {
        "maxLength": 300,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Client Id"
     },
     "client_secret": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Client Secret"
     },
     "domains": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "maxItems": 20,
        "minItems": 1,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Domains"
     },
     "enforce": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enforce"
     },
     "issuer": {
      "anyOf": [
       {
        "maxLength": 500,
        "minLength": 8,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Issuer"
     },
     "jit": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Jit"
     },
     "jit_role": {
      "anyOf": [
       {
        "enum": [
         "member",
         "viewer",
         "guest"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Jit Role"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 120,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "active",
         "disabled"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status"
     }
    },
    "title": "SsoPatch",
    "type": "object"
   },
   "StageOut": {
    "properties": {
     "id": {
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "position": {
      "title": "Position",
      "type": "integer"
     },
     "probability": {
      "title": "Probability",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "name",
     "position",
     "probability",
     "kind"
    ],
    "title": "StageOut",
    "type": "object"
   },
   "StartIn": {
    "properties": {
     "subject": {
      "$ref": "#/components/schemas/Subject",
      "default": {
       "type": "none"
      }
     }
    },
    "title": "StartIn",
    "type": "object"
   },
   "Stats": {
    "properties": {
     "agreement_rate": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Agreement Rate"
     },
     "completed_30d": {
      "title": "Completed 30D",
      "type": "integer"
     },
     "failed_30d": {
      "title": "Failed 30D",
      "type": "integer"
     },
     "minutes_saved_30d": {
      "title": "Minutes Saved 30D",
      "type": "integer"
     },
     "overdue": {
      "title": "Overdue",
      "type": "integer"
     },
     "running": {
      "title": "Running",
      "type": "integer"
     },
     "waiting": {
      "title": "Waiting",
      "type": "integer"
     }
    },
    "required": [
     "running",
     "waiting",
     "overdue",
     "completed_30d",
     "failed_30d",
     "agreement_rate",
     "minutes_saved_30d"
    ],
    "title": "Stats",
    "type": "object"
   },
   "StatusOut": {
    "properties": {
     "allowed_next": {
      "items": {
       "type": "string"
      },
      "title": "Allowed Next",
      "type": "array"
     },
     "category": {
      "title": "Category",
      "type": "string"
     },
     "color": {
      "title": "Color",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "position": {
      "title": "Position",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "name",
     "category",
     "color",
     "position",
     "allowed_next"
    ],
    "title": "StatusOut",
    "type": "object"
   },
   "StepOut": {
    "properties": {
     "confidence": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Confidence"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "provider": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Provider"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "summary": {
      "title": "Summary",
      "type": "string"
     }
    },
    "required": [
     "id",
     "kind",
     "name",
     "summary",
     "status",
     "confidence",
     "provider",
     "created_at"
    ],
    "title": "StepOut",
    "type": "object"
   },
   "StepRunOut": {
    "properties": {
     "finished_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Finished At"
     },
     "key": {
      "title": "Key",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "output": {
      "additionalProperties": true,
      "title": "Output",
      "type": "object"
     },
     "started_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Started At"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "summary": {
      "title": "Summary",
      "type": "string"
     },
     "type": {
      "title": "Type",
      "type": "string"
     },
     "waiting_for": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/WaitingFor"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "key",
     "type",
     "name",
     "status",
     "summary",
     "output",
     "waiting_for",
     "started_at",
     "finished_at"
    ],
    "title": "StepRunOut",
    "type": "object"
   },
   "StepTypeOut": {
    "properties": {
     "available": {
      "title": "Available",
      "type": "boolean"
     },
     "config_schema": {
      "additionalProperties": true,
      "title": "Config Schema",
      "type": "object"
     },
     "description": {
      "title": "Description",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "outputs": {
      "items": {
       "type": "string"
      },
      "title": "Outputs",
      "type": "array"
     },
     "type": {
      "title": "Type",
      "type": "string"
     }
    },
    "required": [
     "type",
     "label",
     "description",
     "available",
     "config_schema",
     "outputs"
    ],
    "title": "StepTypeOut",
    "type": "object"
   },
   "Subject": {
    "properties": {
     "id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Id"
     },
     "label": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Label"
     },
     "type": {
      "default": "none",
      "enum": [
       "document",
       "contact",
       "deal",
       "invoice",
       "none"
      ],
      "title": "Type",
      "type": "string"
     }
    },
    "title": "Subject",
    "type": "object"
   },
   "SubscriptionIn": {
    "properties": {
     "customer_id": {
      "title": "Customer Id",
      "type": "string"
     },
     "items": {
      "items": {
       "$ref": "#/components/schemas/SubscriptionItem"
      },
      "minItems": 1,
      "title": "Items",
      "type": "array"
     },
     "start_date": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Start Date"
     }
    },
    "required": [
     "customer_id",
     "items"
    ],
    "title": "SubscriptionIn",
    "type": "object"
   },
   "SubscriptionItem": {
    "properties": {
     "product_id": {
      "title": "Product Id",
      "type": "string"
     },
     "quantity": {
      "default": 1,
      "maximum": 100000.0,
      "minimum": 1.0,
      "title": "Quantity",
      "type": "integer"
     }
    },
    "required": [
     "product_id"
    ],
    "title": "SubscriptionItem",
    "type": "object"
   },
   "SubscriptionOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "customer_id": {
      "title": "Customer Id",
      "type": "string"
     },
     "customer_name": {
      "title": "Customer Name",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "interval": {
      "title": "Interval",
      "type": "string"
     },
     "items": {
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Items",
      "type": "array"
     },
     "next_invoice_date": {
      "format": "date",
      "title": "Next Invoice Date",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "customer_id",
     "customer_name",
     "status",
     "items",
     "interval",
     "next_invoice_date",
     "created_at"
    ],
    "title": "SubscriptionOut",
    "type": "object"
   },
   "SwitchIn": {
    "properties": {
     "tenant_id": {
      "title": "Tenant Id",
      "type": "string"
     }
    },
    "required": [
     "tenant_id"
    ],
    "title": "SwitchIn",
    "type": "object"
   },
   "TagsIn": {
    "properties": {
     "tags": {
      "items": {
       "type": "string"
      },
      "maxItems": 60,
      "title": "Tags",
      "type": "array"
     }
    },
    "title": "TagsIn",
    "type": "object"
   },
   "TaskCompleteIn": {
    "properties": {
     "comment": {
      "anyOf": [
       {
        "maxLength": 4000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Comment"
     },
     "data": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Data"
     },
     "outcome": {
      "maxLength": 40,
      "minLength": 1,
      "title": "Outcome",
      "type": "string"
     }
    },
    "required": [
     "outcome"
    ],
    "title": "TaskCompleteIn",
    "type": "object"
   },
   "Tax": {
    "properties": {
     "enabled": {
      "default": false,
      "title": "Enabled",
      "type": "boolean"
     },
     "flat_rate_percent": {
      "default": 0,
      "maximum": 30.0,
      "minimum": 0.0,
      "title": "Flat Rate Percent",
      "type": "number"
     }
    },
    "title": "Tax",
    "type": "object"
   },
   "TestIn": {
    "properties": {
     "text": {
      "maxLength": 2000000,
      "title": "Text",
      "type": "string"
     }
    },
    "required": [
     "text"
    ],
    "title": "TestIn",
    "type": "object"
   },
   "Thresholds": {
    "additionalProperties": false,
    "properties": {
     "auto": {
      "default": 0.9,
      "maximum": 1.0,
      "minimum": 0.0,
      "title": "Auto",
      "type": "number"
     },
     "suggest": {
      "default": 0.6,
      "maximum": 1.0,
      "minimum": 0.0,
      "title": "Suggest",
      "type": "number"
     }
    },
    "title": "Thresholds",
    "type": "object"
   },
   "TierLimit": {
    "properties": {
     "max_percent": {
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Max Percent",
      "type": "integer"
     },
     "min_sample_percent": {
      "maximum": 50.0,
      "minimum": 0.0,
      "title": "Min Sample Percent",
      "type": "integer"
     }
    },
    "required": [
     "max_percent",
     "min_sample_percent"
    ],
    "title": "TierLimit",
    "type": "object"
   },
   "TierLimitsIn": {
    "properties": {
     "break_glass_reason": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Break Glass Reason"
     },
     "tiers": {
      "additionalProperties": {
       "$ref": "#/components/schemas/TierLimit"
      },
      "propertyNames": {
       "enum": [
        "low",
        "medium",
        "high"
       ]
      },
      "title": "Tiers",
      "type": "object"
     }
    },
    "required": [
     "tiers"
    ],
    "title": "TierLimitsIn",
    "type": "object"
   },
   "TokenIn": {
    "properties": {
     "token": {
      "maxLength": 200,
      "minLength": 10,
      "title": "Token",
      "type": "string"
     }
    },
    "required": [
     "token"
    ],
    "title": "TokenIn",
    "type": "object"
   },
   "Tool": {
    "additionalProperties": false,
    "properties": {
     "description": {
      "title": "Description",
      "type": "string"
     },
     "input_schema": {
      "additionalProperties": true,
      "default": {},
      "title": "Input Schema",
      "type": "object"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "requires_approval": {
      "default": false,
      "title": "Requires Approval",
      "type": "boolean"
     },
     "risk": {
      "default": "low",
      "enum": [
       "low",
       "medium",
       "high"
      ],
      "title": "Risk",
      "type": "string"
     }
    },
    "required": [
     "name",
     "description"
    ],
    "title": "Tool",
    "type": "object"
   },
   "UI": {
    "additionalProperties": false,
    "properties": {
     "mobile": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Mobile"
     },
     "nav": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/NavItem"
      },
      "title": "Nav",
      "type": "array"
     },
     "quickAdd": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/NavItem"
      },
      "title": "Quickadd",
      "type": "array"
     },
     "web": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/WebUI"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "title": "UI",
    "type": "object"
   },
   "UseCasesIn": {
    "properties": {
     "ids": {
      "items": {
       "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "title": "Ids",
      "type": "array"
     }
    },
    "required": [
     "ids"
    ],
    "title": "UseCasesIn",
    "type": "object"
   },
   "ValidationError": {
    "properties": {
     "ctx": {
      "title": "Context",
      "type": "object"
     },
     "input": {
      "title": "Input"
     },
     "loc": {
      "items": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        }
       ]
      },
      "title": "Location",
      "type": "array"
     },
     "msg": {
      "title": "Message",
      "type": "string"
     },
     "type": {
      "title": "Error Type",
      "type": "string"
     }
    },
    "required": [
     "loc",
     "msg",
     "type"
    ],
    "title": "ValidationError",
    "type": "object"
   },
   "VersionDetail": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "created_by": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created By"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "note": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     },
     "steps": {
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Steps",
      "type": "array"
     },
     "trigger": {
      "additionalProperties": true,
      "title": "Trigger",
      "type": "object"
     },
     "version": {
      "title": "Version",
      "type": "integer"
     }
    },
    "required": [
     "version",
     "created_at",
     "created_by",
     "note",
     "name",
     "trigger",
     "steps"
    ],
    "title": "VersionDetail",
    "type": "object"
   },
   "VersionOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "created_by": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Created By"
     },
     "note": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Note"
     },
     "version": {
      "title": "Version",
      "type": "integer"
     }
    },
    "required": [
     "version",
     "created_at",
     "created_by",
     "note"
    ],
    "title": "VersionOut",
    "type": "object"
   },
   "WaitingFor": {
    "properties": {
     "due_at": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Due At"
     },
     "id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Id"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     }
    },
    "required": [
     "kind"
    ],
    "title": "WaitingFor",
    "type": "object"
   },
   "WebUI": {
    "additionalProperties": false,
    "properties": {
     "basePath": {
      "title": "Basepath",
      "type": "string"
     },
     "entry": {
      "title": "Entry",
      "type": "string"
     }
    },
    "required": [
     "entry",
     "basePath"
    ],
    "title": "WebUI",
    "type": "object"
   },
   "When": {
    "properties": {
     "all": {
      "default": [],
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "All",
      "type": "array"
     },
     "any": {
      "default": [],
      "items": {
       "additionalProperties": true,
       "type": "object"
      },
      "title": "Any",
      "type": "array"
     }
    },
    "title": "When",
    "type": "object"
   },
   "Workflow": {
    "properties": {
     "auto_approve": {
      "default": false,
      "title": "Auto Approve",
      "type": "boolean"
     },
     "on_error": {
      "default": "review",
      "enum": [
       "review",
       "reject"
      ],
      "title": "On Error",
      "type": "string"
     },
     "on_warning": {
      "default": "review",
      "enum": [
       "review",
       "approve"
      ],
      "title": "On Warning",
      "type": "string"
     },
     "review_sla_days": {
      "default": 2,
      "maximum": 90.0,
      "minimum": 0.0,
      "title": "Review Sla Days",
      "type": "integer"
     }
    },
    "title": "Workflow",
    "type": "object"
   },
   "WorkspacePatch": {
    "properties": {
     "locale": {
      "anyOf": [
       {
        "enum": [
         "en",
         "es"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Locale"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     }
    },
    "title": "WorkspacePatch",
    "type": "object"
   },
   "neody__apps__billing__schemas__AccountPatch": {
    "properties": {
     "business_name": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Business Name"
     },
     "reminders": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/Reminders"
       },
       {
        "type": "null"
       }
      ]
     },
     "support_email": {
      "anyOf": [
       {
        "format": "email",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Support Email"
     },
     "tax": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/Tax"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "title": "AccountPatch",
    "type": "object"
   },
   "neody__apps__billing__schemas__Summary": {
    "properties": {
     "avg_days_to_pay": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Avg Days To Pay"
     },
     "draft_count": {
      "title": "Draft Count",
      "type": "integer"
     },
     "failed_payments_count": {
      "title": "Failed Payments Count",
      "type": "integer"
     },
     "mode": {
      "enum": [
       "stripe",
       "simulated"
      ],
      "title": "Mode",
      "type": "string"
     },
     "open_count": {
      "title": "Open Count",
      "type": "integer"
     },
     "outstanding_cents": {
      "title": "Outstanding Cents",
      "type": "integer"
     },
     "overdue_cents": {
      "title": "Overdue Cents",
      "type": "integer"
     },
     "overdue_count": {
      "title": "Overdue Count",
      "type": "integer"
     },
     "paid_30d_cents": {
      "title": "Paid 30D Cents",
      "type": "integer"
     },
     "paid_30d_count": {
      "title": "Paid 30D Count",
      "type": "integer"
     }
    },
    "required": [
     "mode",
     "outstanding_cents",
     "overdue_cents",
     "overdue_count",
     "paid_30d_cents",
     "paid_30d_count",
     "avg_days_to_pay",
     "open_count",
     "draft_count",
     "failed_payments_count"
    ],
    "title": "Summary",
    "type": "object"
   },
   "neody__apps__docs__schemas__Summary": {
    "properties": {
     "approved": {
      "title": "Approved",
      "type": "integer"
     },
     "changes_requested": {
      "title": "Changes Requested",
      "type": "integer"
     },
     "needs_review": {
      "title": "Needs Review",
      "type": "integer"
     },
     "overdue": {
      "title": "Overdue",
      "type": "integer"
     },
     "processing": {
      "title": "Processing",
      "type": "integer"
     },
     "rejected": {
      "title": "Rejected",
      "type": "integer"
     }
    },
    "required": [
     "processing",
     "needs_review",
     "changes_requested",
     "approved",
     "rejected",
     "overdue"
    ],
    "title": "Summary",
    "type": "object"
   },
   "neody__core__agent_routes__RejectIn": {
    "properties": {
     "reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Reason"
     }
    },
    "title": "RejectIn",
    "type": "object"
   },
   "neody__core__iam__account_router__AccountPatch": {
    "properties": {
     "clear_locale": {
      "default": false,
      "title": "Clear Locale",
      "type": "boolean"
     },
     "locale": {
      "anyOf": [
       {
        "enum": [
         "en",
         "es"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Locale"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 200,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     }
    },
    "title": "AccountPatch",
    "type": "object"
   },
   "neody__core__iam__admin_router__RejectIn": {
    "properties": {
     "reason": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Reason"
     }
    },
    "title": "RejectIn",
    "type": "object"
   },
   "neody__core__iam__auth_router__ResetIn": {
    "properties": {
     "password": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Password",
      "type": "string"
     },
     "token": {
      "maxLength": 200,
      "minLength": 10,
      "title": "Token",
      "type": "string"
     }
    },
    "required": [
     "token",
     "password"
    ],
    "title": "ResetIn",
    "type": "object"
   },
   "neody__core__iam__auth_router__WorkspaceIn": {
    "properties": {
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name"
    ],
    "title": "WorkspaceIn",
    "type": "object"
   },
   "neody__core__platform__router__ResetIn": {
    "properties": {
     "email": {
      "maxLength": 320,
      "title": "Email",
      "type": "string"
     }
    },
    "required": [
     "email"
    ],
    "title": "ResetIn",
    "type": "object"
   },
   "neody__core__platform__router__WorkspaceIn": {
    "properties": {
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "owner": {
      "$ref": "#/components/schemas/PersonIn"
     },
     "tags": {
      "items": {
       "type": "string"
      },
      "maxItems": 60,
      "title": "Tags",
      "type": "array"
     },
     "use_cases": {
      "items": {
       "type": "string"
      },
      "maxItems": 100,
      "title": "Use Cases",
      "type": "array"
     }
    },
    "required": [
     "name",
     "owner"
    ],
    "title": "WorkspaceIn",
    "type": "object"
   }
  },
  "securitySchemes": {
   "bearer": {
    "description": "Session token or API key (nk_…)",
    "scheme": "bearer",
    "type": "http"
   }
  }
 },
 "info": {
  "description": "The NeodyAI platform API. Every call carries a bearer token: a person's session token or a workspace API key (`nk_…`). Calls act inside one workspace and only with the permissions of the token. See https://developers.neody.ai/guide/authentication.",
  "title": "NeodyAI API",
  "version": "0.1.0"
 },
 "openapi": "3.1.0",
 "paths": {
  "/v1/account": {
   "get": {
    "operationId": "get_account_v1_account_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Account V1 Account Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Account",
    "tags": [
     "account"
    ]
   },
   "patch": {
    "operationId": "update_account_v1_account_patch",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/neody__core__iam__account_router__AccountPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Account",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/mfa/disable": {
   "post": {
    "operationId": "mfa_disable_v1_account_mfa_disable_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CodeIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Mfa Disable V1 Account Mfa Disable Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Mfa Disable",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/mfa/enable": {
   "post": {
    "operationId": "mfa_enable_v1_account_mfa_enable_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CodeIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Mfa Enable V1 Account Mfa Enable Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Mfa Enable",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/mfa/recovery-codes": {
   "post": {
    "operationId": "regenerate_codes_v1_account_mfa_recovery_codes_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CodeIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Regenerate Codes",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/mfa/setup": {
   "post": {
    "description": "A new secret, not active until a code from it is confirmed (mfa/enable).",
    "operationId": "mfa_setup_v1_account_mfa_setup_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Mfa Setup V1 Account Mfa Setup Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Mfa Setup",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/password": {
   "post": {
    "operationId": "change_password_v1_account_password_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PasswordIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Change Password V1 Account Password Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Change Password",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/sessions": {
   "delete": {
    "operationId": "revoke_other_sessions_v1_account_sessions_delete",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Revoke Other Sessions V1 Account Sessions Delete",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Revoke Other Sessions",
    "tags": [
     "account"
    ]
   },
   "get": {
    "operationId": "list_sessions_v1_account_sessions_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Sessions V1 Account Sessions Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Sessions",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/account/sessions/{session_id}": {
   "delete": {
    "operationId": "revoke_session_v1_account_sessions__session_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "session_id",
      "required": true,
      "schema": {
       "title": "Session Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Revoke Session",
    "tags": [
     "account"
    ]
   }
  },
  "/v1/agent/runs": {
   "get": {
    "operationId": "list_runs_v1_agent_runs_get",
    "parameters": [
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 20,
       "maximum": 100,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/RunOut"
         },
         "title": "Response List Runs V1 Agent Runs Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Runs",
    "tags": [
     "agents"
    ]
   }
  },
  "/v1/approvals": {
   "get": {
    "operationId": "list_approvals_v1_approvals_get",
    "parameters": [
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "enum": [
          "pending",
          "approved",
          "rejected",
          "expired"
         ],
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ApprovalOut"
         },
         "title": "Response List Approvals V1 Approvals Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Approvals",
    "tags": [
     "agents"
    ]
   }
  },
  "/v1/approvals/{approval_id}/approve": {
   "post": {
    "operationId": "approve_v1_approvals__approval_id__approve_post",
    "parameters": [
     {
      "in": "path",
      "name": "approval_id",
      "required": true,
      "schema": {
       "title": "Approval Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "anyOf": [
         {
          "$ref": "#/components/schemas/ApproveIn"
         },
         {
          "type": "null"
         }
        ],
        "title": "Body"
       }
      }
     }
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApprovalOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Approve",
    "tags": [
     "agents"
    ]
   }
  },
  "/v1/approvals/{approval_id}/reject": {
   "post": {
    "operationId": "reject_v1_approvals__approval_id__reject_post",
    "parameters": [
     {
      "in": "path",
      "name": "approval_id",
      "required": true,
      "schema": {
       "title": "Approval Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "anyOf": [
         {
          "$ref": "#/components/schemas/neody__core__agent_routes__RejectIn"
         },
         {
          "type": "null"
         }
        ],
        "title": "Body"
       }
      }
     }
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ApprovalOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Reject",
    "tags": [
     "agents"
    ]
   }
  },
  "/v1/apps": {
   "get": {
    "operationId": "apps_v1_apps_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Manifest"
         },
         "title": "Response Apps V1 Apps Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Apps"
   }
  },
  "/v1/assistant/route": {
   "post": {
    "operationId": "route_request_v1_assistant_route_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RouteIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Route Request V1 Assistant Route Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Route Request"
   }
  },
  "/v1/auth/config": {
   "get": {
    "operationId": "auth_config_v1_auth_config_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Auth Config V1 Auth Config Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Auth Config",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/invites/{token}": {
   "get": {
    "operationId": "preview_invite_v1_auth_invites__token__get",
    "parameters": [
     {
      "in": "path",
      "name": "token",
      "required": true,
      "schema": {
       "title": "Token",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Preview Invite V1 Auth Invites  Token  Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Preview Invite",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/invites/{token}/accept": {
   "post": {
    "description": "New person: name + password creates their account. Existing account: must be signed in as that email.",
    "operationId": "accept_invite_v1_auth_invites__token__accept_post",
    "parameters": [
     {
      "in": "path",
      "name": "token",
      "required": true,
      "schema": {
       "title": "Token",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AcceptIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Accept Invite",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/link": {
   "post": {
    "operationId": "request_link_v1_auth_link_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EmailIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Request Link V1 Auth Link Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Request Link",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/link/consume": {
   "post": {
    "operationId": "consume_link_v1_auth_link_consume_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TokenIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Consume Link",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/login": {
   "post": {
    "operationId": "login_v1_auth_login_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/LoginIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Login",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/logout": {
   "post": {
    "operationId": "logout_v1_auth_logout_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Logout",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/lookup": {
   "post": {
    "description": "Which way to sign in for this email's *domain* (never says whether an account exists).",
    "operationId": "lookup_v1_auth_lookup_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/LookupIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Lookup V1 Auth Lookup Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Lookup",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/mfa": {
   "post": {
    "operationId": "mfa_v1_auth_mfa_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MfaIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Mfa",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/oidc/callback": {
   "get": {
    "operationId": "oidc_callback_v1_auth_oidc_callback_get",
    "parameters": [
     {
      "in": "query",
      "name": "code",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Code"
      }
     },
     {
      "in": "query",
      "name": "state",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "State"
      }
     },
     {
      "in": "query",
      "name": "error",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Error"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Oidc Callback",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/oidc/start": {
   "get": {
    "operationId": "oidc_start_v1_auth_oidc_start_get",
    "parameters": [
     {
      "in": "query",
      "name": "provider",
      "required": true,
      "schema": {
       "title": "Provider",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "email",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Email"
      }
     },
     {
      "in": "query",
      "name": "ticket",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Ticket"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Oidc Start",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/refresh": {
   "post": {
    "operationId": "refresh_v1_auth_refresh_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Refresh",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/reset": {
   "post": {
    "operationId": "request_reset_v1_auth_reset_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EmailIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Request Reset V1 Auth Reset Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Request Reset",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/reset/complete": {
   "post": {
    "operationId": "complete_reset_v1_auth_reset_complete_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/neody__core__iam__auth_router__ResetIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Complete Reset V1 Auth Reset Complete Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Complete Reset",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/signup": {
   "post": {
    "operationId": "signup_v1_auth_signup_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SignupIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Signup",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/switch": {
   "post": {
    "operationId": "switch_v1_auth_switch_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SwitchIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Switch",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/verify": {
   "post": {
    "operationId": "verify_email_v1_auth_verify_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TokenIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Verify Email V1 Auth Verify Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Verify Email",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/verify/resend": {
   "post": {
    "operationId": "resend_verification_v1_auth_verify_resend_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Resend Verification V1 Auth Verify Resend Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Resend Verification",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/auth/workspaces": {
   "get": {
    "operationId": "list_workspaces_v1_auth_workspaces_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Workspaces V1 Auth Workspaces Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Workspaces",
    "tags": [
     "auth"
    ]
   },
   "post": {
    "operationId": "new_workspace_v1_auth_workspaces_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/neody__core__iam__auth_router__WorkspaceIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "New Workspace",
    "tags": [
     "auth"
    ]
   }
  },
  "/v1/automation/tiers": {
   "get": {
    "operationId": "get_tier_limits_v1_automation_tiers_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Tier Limits V1 Automation Tiers Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Tier Limits",
    "tags": [
     "processes"
    ]
   },
   "put": {
    "operationId": "put_tier_limits_v1_automation_tiers_put",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TierLimitsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Put Tier Limits",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/billing/account": {
   "get": {
    "operationId": "get_account_v1_billing_account_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AccountOut"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Account",
    "tags": [
     "neody.billing"
    ]
   },
   "patch": {
    "operationId": "update_account_v1_billing_account_patch",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/neody__apps__billing__schemas__AccountPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AccountOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Account",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/account/connect": {
   "post": {
    "operationId": "connect_account_v1_billing_account_connect_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "title": "Response Connect Account V1 Billing Account Connect Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Connect Account",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/account/refresh": {
   "post": {
    "operationId": "refresh_account_v1_billing_account_refresh_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AccountOut"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Refresh Account",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/customers": {
   "get": {
    "operationId": "list_customers_v1_billing_customers_get",
    "parameters": [
     {
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Q"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "maximum": 500,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CustomerOut"
         },
         "title": "Response List Customers V1 Billing Customers Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Customers",
    "tags": [
     "neody.billing"
    ]
   },
   "post": {
    "operationId": "create_customer_v1_billing_customers_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CustomerIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CustomerOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Customer",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/customers/from-company/{company_id}": {
   "post": {
    "operationId": "customer_from_company_v1_billing_customers_from_company__company_id__post",
    "parameters": [
     {
      "in": "path",
      "name": "company_id",
      "required": true,
      "schema": {
       "title": "Company Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CustomerOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Customer From Company",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/customers/{customer_id}": {
   "get": {
    "operationId": "get_customer_v1_billing_customers__customer_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "customer_id",
      "required": true,
      "schema": {
       "title": "Customer Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CustomerOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Customer",
    "tags": [
     "neody.billing"
    ]
   },
   "patch": {
    "operationId": "update_customer_v1_billing_customers__customer_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "customer_id",
      "required": true,
      "schema": {
       "title": "Customer Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CustomerPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CustomerOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Customer",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices": {
   "get": {
    "operationId": "list_invoices_v1_billing_invoices_get",
    "parameters": [
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "collection",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Collection"
      }
     },
     {
      "in": "query",
      "name": "customer_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Customer Id"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "maximum": 500,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/InvoiceOut"
         },
         "title": "Response List Invoices V1 Billing Invoices Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Invoices",
    "tags": [
     "neody.billing"
    ]
   },
   "post": {
    "operationId": "create_invoice_v1_billing_invoices_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/InvoiceIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/from-deal/{deal_id}": {
   "post": {
    "operationId": "invoice_from_deal_v1_billing_invoices_from_deal__deal_id__post",
    "parameters": [
     {
      "in": "path",
      "name": "deal_id",
      "required": true,
      "schema": {
       "title": "Deal Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Invoice From Deal",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}": {
   "get": {
    "operationId": "get_invoice_v1_billing_invoices__invoice_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Invoice",
    "tags": [
     "neody.billing"
    ]
   },
   "patch": {
    "operationId": "update_invoice_v1_billing_invoices__invoice_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/InvoicePatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}/finalize": {
   "post": {
    "operationId": "finalize_invoice_v1_billing_invoices__invoice_id__finalize_post",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Finalize Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}/mark-paid": {
   "post": {
    "operationId": "mark_paid_v1_billing_invoices__invoice_id__mark_paid_post",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MarkPaidIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Mark Paid",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}/refund": {
   "post": {
    "operationId": "refund_invoice_v1_billing_invoices__invoice_id__refund_post",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "anyOf": [
         {
          "$ref": "#/components/schemas/RefundIn"
         },
         {
          "type": "null"
         }
        ],
        "title": "Body"
       }
      }
     }
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Refund Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}/remind": {
   "post": {
    "operationId": "remind_invoice_v1_billing_invoices__invoice_id__remind_post",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Remind Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}/send": {
   "post": {
    "operationId": "send_invoice_v1_billing_invoices__invoice_id__send_post",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Send Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/invoices/{invoice_id}/void": {
   "post": {
    "operationId": "void_invoice_v1_billing_invoices__invoice_id__void_post",
    "parameters": [
     {
      "in": "path",
      "name": "invoice_id",
      "required": true,
      "schema": {
       "title": "Invoice Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InvoiceOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Void Invoice",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/payments": {
   "get": {
    "operationId": "list_payments_v1_billing_payments_get",
    "parameters": [
     {
      "in": "query",
      "name": "invoice_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Invoice Id"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "maximum": 500,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/PaymentOut"
         },
         "title": "Response List Payments V1 Billing Payments Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Payments",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/products": {
   "get": {
    "operationId": "list_products_v1_billing_products_get",
    "parameters": [
     {
      "in": "query",
      "name": "active",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "type": "null"
        }
       ],
       "title": "Active"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ProductOut"
         },
         "title": "Response List Products V1 Billing Products Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Products",
    "tags": [
     "neody.billing"
    ]
   },
   "post": {
    "operationId": "create_product_v1_billing_products_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProductIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Product",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/products/{product_id}": {
   "patch": {
    "operationId": "update_product_v1_billing_products__product_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "product_id",
      "required": true,
      "schema": {
       "title": "Product Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProductPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Product",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/subscriptions": {
   "get": {
    "operationId": "list_subscriptions_v1_billing_subscriptions_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/SubscriptionOut"
         },
         "title": "Response List Subscriptions V1 Billing Subscriptions Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Subscriptions",
    "tags": [
     "neody.billing"
    ]
   },
   "post": {
    "operationId": "create_subscription_v1_billing_subscriptions_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SubscriptionIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SubscriptionOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Subscription",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/subscriptions/{subscription_id}/cancel": {
   "post": {
    "operationId": "cancel_subscription_v1_billing_subscriptions__subscription_id__cancel_post",
    "parameters": [
     {
      "in": "path",
      "name": "subscription_id",
      "required": true,
      "schema": {
       "title": "Subscription Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SubscriptionOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Cancel Subscription",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/summary": {
   "get": {
    "operationId": "get_summary_v1_billing_summary_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/neody__apps__billing__schemas__Summary"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Summary",
    "tags": [
     "neody.billing"
    ]
   }
  },
  "/v1/billing/webhooks/stripe": {
   "post": {
    "operationId": "stripe_webhook_v1_billing_webhooks_stripe_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "type": "string"
         },
         "title": "Response Stripe Webhook V1 Billing Webhooks Stripe Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Stripe Webhook",
    "tags": [
     "public"
    ]
   }
  },
  "/v1/capabilities": {
   "get": {
    "operationId": "list_capabilities_v1_capabilities_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CapabilityOut"
         },
         "title": "Response List Capabilities V1 Capabilities Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Capabilities",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/capabilities/{capability_id}/binding": {
   "put": {
    "operationId": "bind_capability_v1_capabilities__capability_id__binding_put",
    "parameters": [
     {
      "in": "path",
      "name": "capability_id",
      "required": true,
      "schema": {
       "title": "Capability Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BindingIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CapabilityOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Bind Capability",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/cockpit": {
   "get": {
    "operationId": "cockpit_v1_cockpit_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Cockpit"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Cockpit",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/connections": {
   "get": {
    "operationId": "list_connections_v1_connections_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ConnectionOut"
         },
         "title": "Response List Connections V1 Connections Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Connections",
    "tags": [
     "connections"
    ]
   }
  },
  "/v1/connections/gmail/callback": {
   "get": {
    "description": "Browser redirect from Google (no bearer token): the tenant comes from the signed state.",
    "operationId": "gmail_callback_v1_connections_gmail_callback_get",
    "parameters": [
     {
      "in": "query",
      "name": "code",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Code"
      }
     },
     {
      "in": "query",
      "name": "state",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "State"
      }
     },
     {
      "in": "query",
      "name": "error",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Error"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Gmail Callback",
    "tags": [
     "connections"
    ]
   }
  },
  "/v1/connections/gmail/start": {
   "get": {
    "operationId": "gmail_start_v1_connections_gmail_start_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "type": "string"
         },
         "title": "Response Gmail Start V1 Connections Gmail Start Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Gmail Start",
    "tags": [
     "connections"
    ]
   }
  },
  "/v1/connections/smtp": {
   "delete": {
    "operationId": "disconnect_smtp_v1_connections_smtp_delete",
    "responses": {
     "204": {
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Disconnect Smtp",
    "tags": [
     "connections"
    ]
   },
   "post": {
    "operationId": "connect_smtp_v1_connections_smtp_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SmtpIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Connect Smtp",
    "tags": [
     "connections"
    ]
   }
  },
  "/v1/crm/activities": {
   "get": {
    "operationId": "list_activities_v1_crm_activities_get",
    "parameters": [
     {
      "in": "query",
      "name": "deal_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Deal Id"
      }
     },
     {
      "in": "query",
      "name": "contact_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Contact Id"
      }
     },
     {
      "in": "query",
      "name": "company_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Company Id"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ActivityOut"
         },
         "title": "Response List Activities V1 Crm Activities Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Activities",
    "tags": [
     "neody.crm"
    ]
   },
   "post": {
    "operationId": "create_activity_v1_crm_activities_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ActivityIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ActivityOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Activity",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/companies": {
   "get": {
    "operationId": "list_companies_v1_crm_companies_get",
    "parameters": [
     {
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Q"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CompanyOut"
         },
         "title": "Response List Companies V1 Crm Companies Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Companies",
    "tags": [
     "neody.crm"
    ]
   },
   "post": {
    "operationId": "create_company_v1_crm_companies_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CompanyIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CompanyOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Company",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/companies/{company_id}": {
   "get": {
    "operationId": "get_company_v1_crm_companies__company_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "company_id",
      "required": true,
      "schema": {
       "title": "Company Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CompanyOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Company",
    "tags": [
     "neody.crm"
    ]
   },
   "patch": {
    "operationId": "update_company_v1_crm_companies__company_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "company_id",
      "required": true,
      "schema": {
       "title": "Company Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CompanyPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CompanyOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Company",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/contacts": {
   "get": {
    "operationId": "list_contacts_v1_crm_contacts_get",
    "parameters": [
     {
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Q"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ContactOut"
         },
         "title": "Response List Contacts V1 Crm Contacts Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Contacts",
    "tags": [
     "neody.crm"
    ]
   },
   "post": {
    "operationId": "create_contact_v1_crm_contacts_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ContactIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ContactOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Contact",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/contacts/{contact_id}": {
   "get": {
    "operationId": "get_contact_v1_crm_contacts__contact_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "contact_id",
      "required": true,
      "schema": {
       "title": "Contact Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ContactOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Contact",
    "tags": [
     "neody.crm"
    ]
   },
   "patch": {
    "operationId": "update_contact_v1_crm_contacts__contact_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "contact_id",
      "required": true,
      "schema": {
       "title": "Contact Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ContactPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ContactOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Contact",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/deals": {
   "get": {
    "operationId": "list_deals_v1_crm_deals_get",
    "parameters": [
     {
      "in": "query",
      "name": "stage_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Stage Id"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "maximum": 500,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DealOut"
         },
         "title": "Response List Deals V1 Crm Deals Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Deals",
    "tags": [
     "neody.crm"
    ]
   },
   "post": {
    "operationId": "create_deal_v1_crm_deals_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DealIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DealOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Deal",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/deals/{deal_id}": {
   "get": {
    "operationId": "get_deal_v1_crm_deals__deal_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "deal_id",
      "required": true,
      "schema": {
       "title": "Deal Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DealOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Deal",
    "tags": [
     "neody.crm"
    ]
   },
   "patch": {
    "operationId": "update_deal_v1_crm_deals__deal_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "deal_id",
      "required": true,
      "schema": {
       "title": "Deal Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DealPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DealOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Deal",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/crm/pipeline": {
   "get": {
    "operationId": "pipeline_board_v1_crm_pipeline_get",
    "parameters": [
     {
      "in": "query",
      "name": "pipeline_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Pipeline Id"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PipelineBoard"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Pipeline Board",
    "tags": [
     "neody.crm"
    ]
   }
  },
  "/v1/decisions/{name}": {
   "post": {
    "operationId": "decide_v1_decisions__name__post",
    "parameters": [
     {
      "in": "path",
      "name": "name",
      "required": true,
      "schema": {
       "title": "Name",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DecisionIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Decide V1 Decisions  Name  Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Decide"
   }
  },
  "/v1/docs/documents": {
   "get": {
    "operationId": "list_documents_v1_docs_documents_get",
    "parameters": [
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "type_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Type Id"
      }
     },
     {
      "in": "query",
      "name": "queue",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Queue"
      }
     },
     {
      "in": "query",
      "name": "tag",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Tag"
      }
     },
     {
      "in": "query",
      "name": "priority",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Priority"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DocumentOut"
         },
         "title": "Response List Documents V1 Docs Documents Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Documents",
    "tags": [
     "neody.docs"
    ]
   },
   "post": {
    "operationId": "upload_document_v1_docs_documents_post",
    "requestBody": {
     "content": {
      "multipart/form-data": {
       "schema": {
        "$ref": "#/components/schemas/Body_upload_document_v1_docs_documents_post"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocumentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Upload Document",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}": {
   "get": {
    "operationId": "get_document_v1_docs_documents__doc_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocumentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Document",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}/feedback": {
   "post": {
    "description": "Agree/disagree with individual check results; feeds the agreement rate.",
    "operationId": "give_feedback_v1_docs_documents__doc_id__feedback_post",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FeedbackIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Give Feedback V1 Docs Documents  Doc Id  Feedback Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Give Feedback",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}/fields": {
   "patch": {
    "operationId": "correct_fields_v1_docs_documents__doc_id__fields_patch",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FieldsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocumentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Correct Fields",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}/file": {
   "get": {
    "operationId": "download_document_v1_docs_documents__doc_id__file_get",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Download Document",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}/review": {
   "post": {
    "operationId": "review_document_v1_docs_documents__doc_id__review_post",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReviewIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocumentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Review Document",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}/validate": {
   "post": {
    "operationId": "revalidate_document_v1_docs_documents__doc_id__validate_post",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocumentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Revalidate Document",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/documents/{doc_id}/versions": {
   "post": {
    "operationId": "resubmit_document_v1_docs_documents__doc_id__versions_post",
    "parameters": [
     {
      "in": "path",
      "name": "doc_id",
      "required": true,
      "schema": {
       "title": "Doc Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "multipart/form-data": {
       "schema": {
        "$ref": "#/components/schemas/Body_resubmit_document_v1_docs_documents__doc_id__versions_post"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocumentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Resubmit Document",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/policies/{policy_id}": {
   "delete": {
    "operationId": "delete_policy_v1_docs_policies__policy_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
       "title": "Policy Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Delete Policy",
    "tags": [
     "neody.docs"
    ]
   },
   "patch": {
    "operationId": "update_policy_v1_docs_policies__policy_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
       "title": "Policy Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PolicyPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PolicyOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Policy",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/rules/{rule_id}": {
   "delete": {
    "operationId": "delete_rule_v1_docs_rules__rule_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "rule_id",
      "required": true,
      "schema": {
       "title": "Rule Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Delete Rule",
    "tags": [
     "neody.docs"
    ]
   },
   "patch": {
    "operationId": "update_rule_v1_docs_rules__rule_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "rule_id",
      "required": true,
      "schema": {
       "title": "Rule Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RulePatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RuleOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Rule",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/summary": {
   "get": {
    "operationId": "summary_v1_docs_summary_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/neody__apps__docs__schemas__Summary"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Summary",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/types": {
   "get": {
    "operationId": "list_types_v1_docs_types_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DocTypeOut"
         },
         "title": "Response List Types V1 Docs Types Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Types",
    "tags": [
     "neody.docs"
    ]
   },
   "post": {
    "operationId": "create_type_v1_docs_types_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DocTypeIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocTypeOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Type",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/types/{type_id}": {
   "get": {
    "operationId": "get_type_v1_docs_types__type_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocTypeOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Type",
    "tags": [
     "neody.docs"
    ]
   },
   "patch": {
    "operationId": "update_type_v1_docs_types__type_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DocTypePatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DocTypeOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Type",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/types/{type_id}/agreement": {
   "get": {
    "operationId": "type_agreement_v1_docs_types__type_id__agreement_get",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Agreement"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Type Agreement",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/types/{type_id}/policies": {
   "get": {
    "operationId": "list_policies_v1_docs_types__type_id__policies_get",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/PolicyOut"
         },
         "title": "Response List Policies V1 Docs Types  Type Id  Policies Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Policies",
    "tags": [
     "neody.docs"
    ]
   },
   "post": {
    "operationId": "create_policy_v1_docs_types__type_id__policies_post",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PolicyIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PolicyOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Policy",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/types/{type_id}/rules": {
   "get": {
    "operationId": "list_rules_v1_docs_types__type_id__rules_get",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/RuleOut"
         },
         "title": "Response List Rules V1 Docs Types  Type Id  Rules Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Rules",
    "tags": [
     "neody.docs"
    ]
   },
   "post": {
    "operationId": "create_rule_v1_docs_types__type_id__rules_post",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RuleIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RuleOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Rule",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/docs/types/{type_id}/test": {
   "post": {
    "description": "Dry run: extract and validate pasted text against the type's current rules. Nothing is stored.",
    "operationId": "test_type_v1_docs_types__type_id__test_post",
    "parameters": [
     {
      "in": "path",
      "name": "type_id",
      "required": true,
      "schema": {
       "title": "Type Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TestIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Test Type V1 Docs Types  Type Id  Test Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Test Type",
    "tags": [
     "neody.docs"
    ]
   }
  },
  "/v1/iam/api-keys": {
   "get": {
    "operationId": "list_keys_v1_iam_api_keys_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Keys V1 Iam Api Keys Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Keys",
    "tags": [
     "iam"
    ]
   },
   "post": {
    "description": "The key is shown once, now. With four-eyes on it stays inactive until a second person approves it.",
    "operationId": "create_key_v1_iam_api_keys_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ApiKeyIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Key",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/api-keys/{key_id}": {
   "delete": {
    "operationId": "revoke_key_v1_iam_api_keys__key_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "key_id",
      "required": true,
      "schema": {
       "title": "Key Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Revoke Key V1 Iam Api Keys  Key Id  Delete",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Revoke Key",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/audit": {
   "get": {
    "operationId": "list_audit_v1_iam_audit_get",
    "parameters": [
     {
      "in": "query",
      "name": "action",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Action"
      }
     },
     {
      "in": "query",
      "name": "outcome",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Outcome"
      }
     },
     {
      "in": "query",
      "name": "before_seq",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "integer"
        },
        {
         "type": "null"
        }
       ],
       "title": "Before Seq"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "maximum": 500,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Audit V1 Iam Audit Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Audit",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/audit/export": {
   "get": {
    "description": "Evidence export: every entry with its hash, plus the chain verification result.",
    "operationId": "export_audit_v1_iam_audit_export_get",
    "parameters": [
     {
      "in": "query",
      "name": "format",
      "required": false,
      "schema": {
       "default": "json",
       "enum": [
        "csv",
        "json"
       ],
       "title": "Format",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Export Audit",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/audit/verify": {
   "get": {
    "operationId": "verify_audit_v1_iam_audit_verify_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Verify Audit V1 Iam Audit Verify Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Verify Audit",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/changes": {
   "get": {
    "operationId": "list_changes_v1_iam_changes_get",
    "parameters": [
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Changes V1 Iam Changes Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Changes",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/changes/{change_id}/approve": {
   "post": {
    "operationId": "approve_change_v1_iam_changes__change_id__approve_post",
    "parameters": [
     {
      "in": "path",
      "name": "change_id",
      "required": true,
      "schema": {
       "title": "Change Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Approve Change V1 Iam Changes  Change Id  Approve Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Approve Change",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/changes/{change_id}/reject": {
   "post": {
    "operationId": "reject_change_v1_iam_changes__change_id__reject_post",
    "parameters": [
     {
      "in": "path",
      "name": "change_id",
      "required": true,
      "schema": {
       "title": "Change Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "anyOf": [
         {
          "$ref": "#/components/schemas/neody__core__iam__admin_router__RejectIn"
         },
         {
          "type": "null"
         }
        ],
        "title": "Body"
       }
      }
     }
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Reject Change V1 Iam Changes  Change Id  Reject Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Reject Change",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/changes/{change_id}/review": {
   "post": {
    "operationId": "review_change_v1_iam_changes__change_id__review_post",
    "parameters": [
     {
      "in": "path",
      "name": "change_id",
      "required": true,
      "schema": {
       "title": "Change Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Review Change V1 Iam Changes  Change Id  Review Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Review Change",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/invites": {
   "get": {
    "operationId": "list_invites_v1_iam_invites_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Invites V1 Iam Invites Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Invites",
    "tags": [
     "iam"
    ]
   },
   "post": {
    "operationId": "create_invite_v1_iam_invites_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/InviteIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Invite",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/invites/{invite_id}": {
   "delete": {
    "operationId": "revoke_invite_v1_iam_invites__invite_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "invite_id",
      "required": true,
      "schema": {
       "title": "Invite Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Revoke Invite V1 Iam Invites  Invite Id  Delete",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Revoke Invite",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/invites/{invite_id}/resend": {
   "post": {
    "operationId": "resend_invite_v1_iam_invites__invite_id__resend_post",
    "parameters": [
     {
      "in": "path",
      "name": "invite_id",
      "required": true,
      "schema": {
       "title": "Invite Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Resend Invite V1 Iam Invites  Invite Id  Resend Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Resend Invite",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/members": {
   "get": {
    "operationId": "list_members_v1_iam_members_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Members V1 Iam Members Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Members",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/members/{user_id}": {
   "delete": {
    "operationId": "remove_member_v1_iam_members__user_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "user_id",
      "required": true,
      "schema": {
       "title": "User Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Remove Member V1 Iam Members  User Id  Delete",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Remove Member",
    "tags": [
     "iam"
    ]
   },
   "patch": {
    "operationId": "update_member_v1_iam_members__user_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "user_id",
      "required": true,
      "schema": {
       "title": "User Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MemberPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Member",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/roles": {
   "get": {
    "operationId": "roles_catalog_v1_iam_roles_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Roles Catalog V1 Iam Roles Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Roles Catalog",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/security": {
   "get": {
    "operationId": "get_security_v1_iam_security_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Security V1 Iam Security Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Security",
    "tags": [
     "iam"
    ]
   },
   "patch": {
    "operationId": "update_security_v1_iam_security_patch",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SecurityPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Security",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/sso": {
   "get": {
    "operationId": "list_sso_v1_iam_sso_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response List Sso V1 Iam Sso Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Sso",
    "tags": [
     "iam"
    ]
   },
   "post": {
    "description": "New providers start as drafts (harmless until tested and activated), so creating one is single-actor.",
    "operationId": "create_sso_v1_iam_sso_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SsoIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Create Sso V1 Iam Sso Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Sso",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/sso/{provider_id}": {
   "patch": {
    "operationId": "update_sso_v1_iam_sso__provider_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "provider_id",
      "required": true,
      "schema": {
       "title": "Provider Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SsoPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Sso",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/sso/{provider_id}/test": {
   "post": {
    "description": "Start a sign-in through the provider; the callback marks it tested when it works for this admin.",
    "operationId": "test_sso_v1_iam_sso__provider_id__test_post",
    "parameters": [
     {
      "in": "path",
      "name": "provider_id",
      "required": true,
      "schema": {
       "title": "Provider Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Test Sso V1 Iam Sso  Provider Id  Test Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Test Sso",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/iam/workspace": {
   "patch": {
    "operationId": "rename_workspace_v1_iam_workspace_patch",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WorkspacePatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Rename Workspace V1 Iam Workspace Patch",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Rename Workspace",
    "tags": [
     "iam"
    ]
   }
  },
  "/v1/journey/analyze": {
   "post": {
    "operationId": "analyze_v1_journey_analyze_post",
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/JourneyPlanOut"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Analyze",
    "tags": [
     "journey"
    ]
   }
  },
  "/v1/journey/plans": {
   "get": {
    "operationId": "list_plans_v1_journey_plans_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/JourneyPlanOut"
         },
         "title": "Response List Plans V1 Journey Plans Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Plans",
    "tags": [
     "journey"
    ]
   }
  },
  "/v1/journey/plans/{plan_id}": {
   "get": {
    "operationId": "get_plan_v1_journey_plans__plan_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "plan_id",
      "required": true,
      "schema": {
       "title": "Plan Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/JourneyPlanOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Plan",
    "tags": [
     "journey"
    ]
   }
  },
  "/v1/journey/plans/{plan_id}/install": {
   "post": {
    "operationId": "install_v1_journey_plans__plan_id__install_post",
    "parameters": [
     {
      "in": "path",
      "name": "plan_id",
      "required": true,
      "schema": {
       "title": "Plan Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/InstallIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/InstallOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Install",
    "tags": [
     "journey"
    ]
   }
  },
  "/v1/me": {
   "get": {
    "operationId": "me_v1_me_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Me V1 Me Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Me"
   }
  },
  "/v1/messages": {
   "get": {
    "operationId": "list_messages_v1_messages_get",
    "parameters": [
     {
      "in": "query",
      "name": "run_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Run Id"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/MessageOut"
         },
         "title": "Response List Messages V1 Messages Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Messages",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/process-runs": {
   "get": {
    "operationId": "list_runs_v1_process_runs_get",
    "parameters": [
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "process_id",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Process Id"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ProcessRunOut"
         },
         "title": "Response List Runs V1 Process Runs Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Runs",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/process-runs/{run_id}": {
   "get": {
    "operationId": "get_run_v1_process_runs__run_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "run_id",
      "required": true,
      "schema": {
       "title": "Run Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessRunOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Run",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/process-runs/{run_id}/cancel": {
   "post": {
    "operationId": "cancel_run_v1_process_runs__run_id__cancel_post",
    "parameters": [
     {
      "in": "path",
      "name": "run_id",
      "required": true,
      "schema": {
       "title": "Run Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessRunOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Cancel Run",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes": {
   "get": {
    "operationId": "list_processes_v1_processes_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ProcessDefOut"
         },
         "title": "Response List Processes V1 Processes Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Processes",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/catalog": {
   "get": {
    "operationId": "list_catalog_v1_processes_catalog_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CatalogEntry"
         },
         "title": "Response List Catalog V1 Processes Catalog Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Catalog",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/catalog/{template_id}/install": {
   "post": {
    "operationId": "install_template_v1_processes_catalog__template_id__install_post",
    "parameters": [
     {
      "in": "path",
      "name": "template_id",
      "required": true,
      "schema": {
       "title": "Template Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessDefOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Install Template",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/draft": {
   "post": {
    "operationId": "draft_process_v1_processes_draft_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DraftIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessDefOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Draft Process",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/step-types": {
   "get": {
    "operationId": "list_step_types_v1_processes_step_types_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/StepTypeOut"
         },
         "title": "Response List Step Types V1 Processes Step Types Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Step Types",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/{process_id}": {
   "get": {
    "operationId": "get_process_v1_processes__process_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessDefOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Process",
    "tags": [
     "processes"
    ]
   },
   "patch": {
    "operationId": "update_process_v1_processes__process_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProcessPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessDefOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Process",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/{process_id}/automation": {
   "get": {
    "operationId": "get_automation_v1_processes__process_id__automation_get",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Automation V1 Processes  Process Id  Automation Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Automation",
    "tags": [
     "processes"
    ]
   },
   "patch": {
    "operationId": "update_automation_v1_processes__process_id__automation_patch",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AutomationPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Automation",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/{process_id}/automation/pause": {
   "post": {
    "description": "The kill switch: anyone who edits, promotes or approves for this process can stop automation.",
    "operationId": "pause_automation_v1_processes__process_id__automation_pause_post",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PauseIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Pause Automation V1 Processes  Process Id  Automation Pause Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Pause Automation",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/{process_id}/start": {
   "post": {
    "operationId": "start_process_v1_processes__process_id__start_post",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "anyOf": [
         {
          "$ref": "#/components/schemas/StartIn"
         },
         {
          "type": "null"
         }
        ],
        "title": "Body"
       }
      }
     }
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProcessRunOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Start Process",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/{process_id}/versions": {
   "get": {
    "operationId": "list_versions_v1_processes__process_id__versions_get",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/VersionOut"
         },
         "title": "Response List Versions V1 Processes  Process Id  Versions Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Versions",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/processes/{process_id}/versions/{version}": {
   "get": {
    "operationId": "get_version_v1_processes__process_id__versions__version__get",
    "parameters": [
     {
      "in": "path",
      "name": "process_id",
      "required": true,
      "schema": {
       "title": "Process Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "version",
      "required": true,
      "schema": {
       "title": "Version",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/VersionDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Version",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/public/leads": {
   "post": {
    "operationId": "submit_lead_v1_public_leads_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/LeadIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Submit Lead",
    "tags": [
     "public"
    ]
   }
  },
  "/v1/public/pay/{token}": {
   "get": {
    "operationId": "pay_page_v1_public_pay__token__get",
    "parameters": [
     {
      "in": "path",
      "name": "token",
      "required": true,
      "schema": {
       "title": "Token",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PublicPayOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Pay Page",
    "tags": [
     "public"
    ]
   }
  },
  "/v1/public/pay/{token}/simulate": {
   "post": {
    "description": "Test mode only: pretend the customer paid (or their card was declined).",
    "operationId": "simulate_payment_v1_public_pay__token__simulate_post",
    "parameters": [
     {
      "in": "path",
      "name": "token",
      "required": true,
      "schema": {
       "title": "Token",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SimulateIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PublicPayOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Simulate Payment",
    "tags": [
     "public"
    ]
   }
  },
  "/v1/tasks": {
   "get": {
    "operationId": "list_tasks_v1_tasks_get",
    "parameters": [
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "default": "open",
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/HumanTaskOut"
         },
         "title": "Response List Tasks V1 Tasks Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Tasks",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/tasks/{task_id}/complete": {
   "post": {
    "operationId": "complete_task_v1_tasks__task_id__complete_post",
    "parameters": [
     {
      "in": "path",
      "name": "task_id",
      "required": true,
      "schema": {
       "title": "Task Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TaskCompleteIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HumanTaskOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Complete Task",
    "tags": [
     "processes"
    ]
   }
  },
  "/v1/use-cases": {
   "get": {
    "description": "`applicable` (default): fits the workspace's industries. `mine`: applicable and in my departments.\n\n`industry` looks at the catalog as if the workspace were in that industry (browsing other industries).",
    "operationId": "list_use_cases_v1_use_cases_get",
    "parameters": [
     {
      "in": "query",
      "name": "department",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Department"
      }
     },
     {
      "in": "query",
      "name": "industry",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Industry"
      }
     },
     {
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Q"
      }
     },
     {
      "in": "query",
      "name": "scope",
      "required": false,
      "schema": {
       "default": "applicable",
       "enum": [
        "applicable",
        "all",
        "mine"
       ],
       "title": "Scope",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Use Cases V1 Use Cases Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Use Cases",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/members": {
   "get": {
    "operationId": "list_members_v1_use_cases_members_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "additionalProperties": true,
          "type": "object"
         },
         "title": "Response List Members V1 Use Cases Members Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Members",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/members/{user_id}/departments": {
   "put": {
    "operationId": "put_member_departments_v1_use_cases_members__user_id__departments_put",
    "parameters": [
     {
      "in": "path",
      "name": "user_id",
      "required": true,
      "schema": {
       "title": "User Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DepartmentsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Put Member Departments V1 Use Cases Members  User Id  Departments Put",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Put Member Departments",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/profile": {
   "get": {
    "operationId": "get_profile_v1_use_cases_profile_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Profile V1 Use Cases Profile Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Profile",
    "tags": [
     "use-cases"
    ]
   },
   "put": {
    "operationId": "put_profile_v1_use_cases_profile_put",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProfileIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Put Profile V1 Use Cases Profile Put",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Put Profile",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/register": {
   "get": {
    "operationId": "get_register_v1_use_cases_register_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Register V1 Use Cases Register Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Register",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/taxonomy": {
   "get": {
    "operationId": "get_taxonomy_v1_use_cases_taxonomy_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Taxonomy V1 Use Cases Taxonomy Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Taxonomy",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/{use_case_id}": {
   "get": {
    "operationId": "get_use_case_v1_use_cases__use_case_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "use_case_id",
      "required": true,
      "schema": {
       "title": "Use Case Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Get Use Case V1 Use Cases  Use Case Id  Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Use Case",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/use-cases/{use_case_id}/adoption": {
   "delete": {
    "operationId": "delete_adoption_v1_use_cases__use_case_id__adoption_delete",
    "parameters": [
     {
      "in": "path",
      "name": "use_case_id",
      "required": true,
      "schema": {
       "title": "Use Case Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Delete Adoption",
    "tags": [
     "use-cases"
    ]
   },
   "put": {
    "operationId": "put_adoption_v1_use_cases__use_case_id__adoption_put",
    "parameters": [
     {
      "in": "path",
      "name": "use_case_id",
      "required": true,
      "schema": {
       "title": "Use Case Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AdoptionIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Put Adoption V1 Use Cases  Use Case Id  Adoption Put",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Put Adoption",
    "tags": [
     "use-cases"
    ]
   }
  },
  "/v1/work/boards": {
   "get": {
    "operationId": "list_boards_v1_work_boards_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/BoardOut"
         },
         "title": "Response List Boards V1 Work Boards Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Boards",
    "tags": [
     "neody.work"
    ]
   },
   "post": {
    "operationId": "create_board_v1_work_boards_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BoardIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BoardDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Board",
    "tags": [
     "neody.work"
    ]
   }
  },
  "/v1/work/boards/{board_id}": {
   "delete": {
    "operationId": "delete_board_v1_work_boards__board_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "board_id",
      "required": true,
      "schema": {
       "title": "Board Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Delete Board",
    "tags": [
     "neody.work"
    ]
   },
   "get": {
    "operationId": "get_board_v1_work_boards__board_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "board_id",
      "required": true,
      "schema": {
       "title": "Board Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BoardDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Board",
    "tags": [
     "neody.work"
    ]
   },
   "patch": {
    "operationId": "update_board_v1_work_boards__board_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "board_id",
      "required": true,
      "schema": {
       "title": "Board Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/BoardPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/BoardOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Board",
    "tags": [
     "neody.work"
    ]
   }
  },
  "/v1/work/boards/{board_id}/items": {
   "get": {
    "operationId": "list_items_v1_work_boards__board_id__items_get",
    "parameters": [
     {
      "in": "path",
      "name": "board_id",
      "required": true,
      "schema": {
       "title": "Board Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "include_archived",
      "required": false,
      "schema": {
       "default": false,
       "title": "Include Archived",
       "type": "boolean"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 500,
       "maximum": 2000,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ItemOut"
         },
         "title": "Response List Items V1 Work Boards  Board Id  Items Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "List Items",
    "tags": [
     "neody.work"
    ]
   },
   "post": {
    "operationId": "create_item_v1_work_boards__board_id__items_post",
    "parameters": [
     {
      "in": "path",
      "name": "board_id",
      "required": true,
      "schema": {
       "title": "Board Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ItemIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ItemOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Create Item",
    "tags": [
     "neody.work"
    ]
   }
  },
  "/v1/work/items/mine": {
   "get": {
    "operationId": "my_items_v1_work_items_mine_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ItemOut"
         },
         "title": "Response My Items V1 Work Items Mine Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "My Items",
    "tags": [
     "neody.work"
    ]
   }
  },
  "/v1/work/items/{item_id}": {
   "delete": {
    "operationId": "delete_item_v1_work_items__item_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "item_id",
      "required": true,
      "schema": {
       "title": "Item Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Delete Item",
    "tags": [
     "neody.work"
    ]
   },
   "get": {
    "operationId": "get_item_v1_work_items__item_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "item_id",
      "required": true,
      "schema": {
       "title": "Item Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ItemOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Get Item",
    "tags": [
     "neody.work"
    ]
   },
   "patch": {
    "operationId": "update_item_v1_work_items__item_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "item_id",
      "required": true,
      "schema": {
       "title": "Item Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ItemPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ItemOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Update Item",
    "tags": [
     "neody.work"
    ]
   }
  },
  "/v1/work/items/{item_id}/move": {
   "post": {
    "description": "Change status. Agile boards enforce allowed transitions; simple boards allow any move.",
    "operationId": "move_item_v1_work_items__item_id__move_post",
    "parameters": [
     {
      "in": "path",
      "name": "item_id",
      "required": true,
      "schema": {
       "title": "Item Id",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MoveIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ItemOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "security": [
     {
      "HTTPBearer": []
     }
    ],
    "summary": "Move Item",
    "tags": [
     "neody.work"
    ]
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "servers": [
  {
   "description": "Production",
   "url": "https://app.neody.ai/api"
  }
 ]
}
