{
  "openapi": "3.1.0",
  "x-redocly-ignore": [
    "no-ambiguous-paths"
  ],
  "info": {
    "title": "Farin API",
    "version": "1.0.0",
    "description": "## Authentication\n\nUse a logged-in user session (Supabase cookies) or a company API key. API keys are created in `/config/api-keys` and shown once.\n\n- **Header:** `Authorization: Bearer wz_...` (API keys use the `wz_` prefix; other bearer tokens are treated as user JWTs).\n- **Permissions:** Keys are scoped by domain. Read-only keys allow GET/HEAD/OPTIONS; CRUD keys allow POST/PUT/PATCH/DELETE.\n- **Errors:** 401 for invalid keys, 403 for missing permissions.\n\n```bash\ncurl -H \"Authorization: Bearer wz_...\" \\\n  https://wazi.butteredupbakery.com/api/v1/order/vendors\n```\n\n---\n\nOpenAPI specification generated from SvelteKit routes and Supabase query conventions. Schemas are partial when the underlying table is large or dynamic; use the columns query parameter for projection. Authentication supports Supabase cookies and Authorization bearer tokens; bearer tokens may be user JWTs or company API keys (wz_ prefix). API keys are scoped by domain with read vs CRUD permissions enforced by HTTP method.",
    "license": {
      "name": "Proprietary",
      "identifier": "proprietary"
    }
  },
  "servers": [
    {
      "url": "/",
      "description": "Relative server"
    }
  ],
  "tags": [
    {
      "name": "accounting",
      "description": "Accounting, payroll, and financial integrations."
    },
    {
      "name": "config",
      "description": "Configuration, navigation, and organization settings."
    },
    {
      "name": "customers",
      "description": "Customer profiles, wholesale, and communications."
    },
    {
      "name": "equipment",
      "description": "Equipment registry and maintenance data."
    },
    {
      "name": "learn",
      "description": "Knowledge base, training, and learning resources."
    },
    {
      "name": "order",
      "description": "Ordering, vendors, and internal transfers."
    },
    {
      "name": "people",
      "description": "Staff profiles, onboarding, and roles."
    },
    {
      "name": "production",
      "description": "Recipes, ingredients, and production planning."
    },
    {
      "name": "schedule",
      "description": "Scheduling, timecards, and timeclocks."
    },
    {
      "name": "tasks",
      "description": "Tasks, inspections, and checklists."
    },
    {
      "name": "misc",
      "description": "Endpoints that do not fit a primary UI domain."
    }
  ],
  "paths": {
    "/api/v1/accounting/accounting-loan-account-mappings": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting loan account mappings",
        "operationId": "getApiV1AccountingAccounting-loan-account-mappings",
        "description": "Dynamic table endpoint for 'accounting_loan_account_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting loan account mappings",
        "operationId": "putApiV1AccountingAccounting-loan-account-mappings",
        "description": "Dynamic table endpoint for 'accounting_loan_account_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting loan account mappings",
        "operationId": "patchApiV1AccountingAccounting-loan-account-mappings",
        "description": "Dynamic table endpoint for 'accounting_loan_account_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting loan account mappings",
        "operationId": "postApiV1AccountingAccounting-loan-account-mappings",
        "description": "Dynamic table endpoint for 'accounting_loan_account_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanAccountMappings"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-loan-extra-payments": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting loan extra payments",
        "operationId": "getApiV1AccountingAccounting-loan-extra-payments",
        "description": "Dynamic table endpoint for 'accounting_loan_extra_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting loan extra payments",
        "operationId": "putApiV1AccountingAccounting-loan-extra-payments",
        "description": "Dynamic table endpoint for 'accounting_loan_extra_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting loan extra payments",
        "operationId": "patchApiV1AccountingAccounting-loan-extra-payments",
        "description": "Dynamic table endpoint for 'accounting_loan_extra_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting loan extra payments",
        "operationId": "postApiV1AccountingAccounting-loan-extra-payments",
        "description": "Dynamic table endpoint for 'accounting_loan_extra_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete accounting loan extra payments",
        "operationId": "deleteApiV1AccountingAccounting-loan-extra-payments",
        "description": "Dynamic table endpoint for 'accounting_loan_extra_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanExtraPayments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-loan-opening-entries": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting loan opening entries",
        "operationId": "getApiV1AccountingAccounting-loan-opening-entries",
        "description": "Dynamic table endpoint for 'accounting_loan_opening_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting loan opening entries",
        "operationId": "putApiV1AccountingAccounting-loan-opening-entries",
        "description": "Dynamic table endpoint for 'accounting_loan_opening_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting loan opening entries",
        "operationId": "patchApiV1AccountingAccounting-loan-opening-entries",
        "description": "Dynamic table endpoint for 'accounting_loan_opening_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting loan opening entries",
        "operationId": "postApiV1AccountingAccounting-loan-opening-entries",
        "description": "Dynamic table endpoint for 'accounting_loan_opening_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanOpeningEntries"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-loan-payment-posts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting loan payment posts",
        "operationId": "getApiV1AccountingAccounting-loan-payment-posts",
        "description": "Dynamic table endpoint for 'accounting_loan_payment_posts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting loan payment posts",
        "operationId": "putApiV1AccountingAccounting-loan-payment-posts",
        "description": "Dynamic table endpoint for 'accounting_loan_payment_posts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting loan payment posts",
        "operationId": "patchApiV1AccountingAccounting-loan-payment-posts",
        "description": "Dynamic table endpoint for 'accounting_loan_payment_posts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting loan payment posts",
        "operationId": "postApiV1AccountingAccounting-loan-payment-posts",
        "description": "Dynamic table endpoint for 'accounting_loan_payment_posts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete accounting loan payment posts",
        "operationId": "deleteApiV1AccountingAccounting-loan-payment-posts",
        "description": "Dynamic table endpoint for 'accounting_loan_payment_posts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanPaymentPosts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-loan-schedule-lines": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting loan schedule lines",
        "operationId": "getApiV1AccountingAccounting-loan-schedule-lines",
        "description": "Dynamic table endpoint for 'accounting_loan_schedule_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting loan schedule lines",
        "operationId": "putApiV1AccountingAccounting-loan-schedule-lines",
        "description": "Dynamic table endpoint for 'accounting_loan_schedule_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting loan schedule lines",
        "operationId": "patchApiV1AccountingAccounting-loan-schedule-lines",
        "description": "Dynamic table endpoint for 'accounting_loan_schedule_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting loan schedule lines",
        "operationId": "postApiV1AccountingAccounting-loan-schedule-lines",
        "description": "Dynamic table endpoint for 'accounting_loan_schedule_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete accounting loan schedule lines",
        "operationId": "deleteApiV1AccountingAccounting-loan-schedule-lines",
        "description": "Dynamic table endpoint for 'accounting_loan_schedule_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoanScheduleLines"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-loans": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting loans",
        "operationId": "getApiV1AccountingAccounting-loans",
        "description": "Dynamic table endpoint for 'accounting_loans'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoans"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting loans",
        "operationId": "putApiV1AccountingAccounting-loans",
        "description": "Dynamic table endpoint for 'accounting_loans'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoans"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoans"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoans"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting loans",
        "operationId": "patchApiV1AccountingAccounting-loans",
        "description": "Dynamic table endpoint for 'accounting_loans'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoans"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoans"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoans"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting loans",
        "operationId": "postApiV1AccountingAccounting-loans",
        "description": "Dynamic table endpoint for 'accounting_loans'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingLoans"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingLoans"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingLoans"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-location-map": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square location map",
        "operationId": "getApiV1AccountingAccounting-square-location-map",
        "description": "Dynamic table endpoint for 'accounting_square_location_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square location map",
        "operationId": "putApiV1AccountingAccounting-square-location-map",
        "description": "Dynamic table endpoint for 'accounting_square_location_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareLocationMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square location map",
        "operationId": "patchApiV1AccountingAccounting-square-location-map",
        "description": "Dynamic table endpoint for 'accounting_square_location_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareLocationMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square location map",
        "operationId": "postApiV1AccountingAccounting-square-location-map",
        "description": "Dynamic table endpoint for 'accounting_square_location_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareLocationMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareLocationMap"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-payments": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square payments",
        "operationId": "getApiV1AccountingAccounting-square-payments",
        "description": "Dynamic table endpoint for 'accounting_square_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square payments",
        "operationId": "putApiV1AccountingAccounting-square-payments",
        "description": "Dynamic table endpoint for 'accounting_square_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square payments",
        "operationId": "patchApiV1AccountingAccounting-square-payments",
        "description": "Dynamic table endpoint for 'accounting_square_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square payments",
        "operationId": "postApiV1AccountingAccounting-square-payments",
        "description": "Dynamic table endpoint for 'accounting_square_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-payout-entries": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square payout entries",
        "operationId": "getApiV1AccountingAccounting-square-payout-entries",
        "description": "Dynamic table endpoint for 'accounting_square_payout_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square payout entries",
        "operationId": "putApiV1AccountingAccounting-square-payout-entries",
        "description": "Dynamic table endpoint for 'accounting_square_payout_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square payout entries",
        "operationId": "patchApiV1AccountingAccounting-square-payout-entries",
        "description": "Dynamic table endpoint for 'accounting_square_payout_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square payout entries",
        "operationId": "postApiV1AccountingAccounting-square-payout-entries",
        "description": "Dynamic table endpoint for 'accounting_square_payout_entries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayoutEntries"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-payouts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square payouts",
        "operationId": "getApiV1AccountingAccounting-square-payouts",
        "description": "Dynamic table endpoint for 'accounting_square_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square payouts",
        "operationId": "putApiV1AccountingAccounting-square-payouts",
        "description": "Dynamic table endpoint for 'accounting_square_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square payouts",
        "operationId": "patchApiV1AccountingAccounting-square-payouts",
        "description": "Dynamic table endpoint for 'accounting_square_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square payouts",
        "operationId": "postApiV1AccountingAccounting-square-payouts",
        "description": "Dynamic table endpoint for 'accounting_square_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquarePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquarePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-refunds": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square refunds",
        "operationId": "getApiV1AccountingAccounting-square-refunds",
        "description": "Dynamic table endpoint for 'accounting_square_refunds'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square refunds",
        "operationId": "putApiV1AccountingAccounting-square-refunds",
        "description": "Dynamic table endpoint for 'accounting_square_refunds'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareRefunds"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square refunds",
        "operationId": "patchApiV1AccountingAccounting-square-refunds",
        "description": "Dynamic table endpoint for 'accounting_square_refunds'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareRefunds"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square refunds",
        "operationId": "postApiV1AccountingAccounting-square-refunds",
        "description": "Dynamic table endpoint for 'accounting_square_refunds'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareRefunds"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareRefunds"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-source-map": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square source map",
        "operationId": "getApiV1AccountingAccounting-square-source-map",
        "description": "Dynamic table endpoint for 'accounting_square_source_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square source map",
        "operationId": "putApiV1AccountingAccounting-square-source-map",
        "description": "Dynamic table endpoint for 'accounting_square_source_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareSourceMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square source map",
        "operationId": "patchApiV1AccountingAccounting-square-source-map",
        "description": "Dynamic table endpoint for 'accounting_square_source_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareSourceMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square source map",
        "operationId": "postApiV1AccountingAccounting-square-source-map",
        "description": "Dynamic table endpoint for 'accounting_square_source_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareSourceMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareSourceMap"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-square-webhook-events": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting square webhook events",
        "operationId": "getApiV1AccountingAccounting-square-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_square_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting square webhook events",
        "operationId": "putApiV1AccountingAccounting-square-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_square_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting square webhook events",
        "operationId": "patchApiV1AccountingAccounting-square-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_square_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting square webhook events",
        "operationId": "postApiV1AccountingAccounting-square-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_square_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingSquareWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-stripe-payments": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting stripe payments",
        "operationId": "getApiV1AccountingAccounting-stripe-payments",
        "description": "Dynamic table endpoint for 'accounting_stripe_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting stripe payments",
        "operationId": "putApiV1AccountingAccounting-stripe-payments",
        "description": "Dynamic table endpoint for 'accounting_stripe_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting stripe payments",
        "operationId": "patchApiV1AccountingAccounting-stripe-payments",
        "description": "Dynamic table endpoint for 'accounting_stripe_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting stripe payments",
        "operationId": "postApiV1AccountingAccounting-stripe-payments",
        "description": "Dynamic table endpoint for 'accounting_stripe_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete accounting stripe payments",
        "operationId": "deleteApiV1AccountingAccounting-stripe-payments",
        "description": "Dynamic table endpoint for 'accounting_stripe_payments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingStripePayments"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-stripe-payouts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting stripe payouts",
        "operationId": "getApiV1AccountingAccounting-stripe-payouts",
        "description": "Dynamic table endpoint for 'accounting_stripe_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting stripe payouts",
        "operationId": "putApiV1AccountingAccounting-stripe-payouts",
        "description": "Dynamic table endpoint for 'accounting_stripe_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting stripe payouts",
        "operationId": "patchApiV1AccountingAccounting-stripe-payouts",
        "description": "Dynamic table endpoint for 'accounting_stripe_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting stripe payouts",
        "operationId": "postApiV1AccountingAccounting-stripe-payouts",
        "description": "Dynamic table endpoint for 'accounting_stripe_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete accounting stripe payouts",
        "operationId": "deleteApiV1AccountingAccounting-stripe-payouts",
        "description": "Dynamic table endpoint for 'accounting_stripe_payouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingStripePayouts"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripePayouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripePayouts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounting-stripe-webhook-events": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounting stripe webhook events",
        "operationId": "getApiV1AccountingAccounting-stripe-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_stripe_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert accounting stripe webhook events",
        "operationId": "putApiV1AccountingAccounting-stripe-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_stripe_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounting stripe webhook events",
        "operationId": "patchApiV1AccountingAccounting-stripe-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_stripe_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounting stripe webhook events",
        "operationId": "postApiV1AccountingAccounting-stripe-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_stripe_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete accounting stripe webhook events",
        "operationId": "deleteApiV1AccountingAccounting-stripe-webhook-events",
        "description": "Dynamic table endpoint for 'accounting_stripe_webhook_events'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountingStripeWebhookEvents"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/expense-document-extractions": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List expense document extractions",
        "operationId": "getApiV1AccountingExpense-document-extractions",
        "description": "Dynamic table endpoint for 'expense_document_extractions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert expense document extractions",
        "operationId": "putApiV1AccountingExpense-document-extractions",
        "description": "Dynamic table endpoint for 'expense_document_extractions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update expense document extractions",
        "operationId": "patchApiV1AccountingExpense-document-extractions",
        "description": "Dynamic table endpoint for 'expense_document_extractions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert expense document extractions",
        "operationId": "postApiV1AccountingExpense-document-extractions",
        "description": "Dynamic table endpoint for 'expense_document_extractions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDocumentExtractions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/expense-documents": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List expense documents",
        "operationId": "getApiV1AccountingExpense-documents",
        "description": "Dynamic table endpoint for 'expense_documents'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert expense documents",
        "operationId": "putApiV1AccountingExpense-documents",
        "description": "Dynamic table endpoint for 'expense_documents'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDocuments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update expense documents",
        "operationId": "patchApiV1AccountingExpense-documents",
        "description": "Dynamic table endpoint for 'expense_documents'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDocuments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert expense documents",
        "operationId": "postApiV1AccountingExpense-documents",
        "description": "Dynamic table endpoint for 'expense_documents'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDocuments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDocuments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/expense-drafts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List expense drafts",
        "operationId": "getApiV1AccountingExpense-drafts",
        "description": "Dynamic table endpoint for 'expense_drafts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert expense drafts",
        "operationId": "putApiV1AccountingExpense-drafts",
        "description": "Dynamic table endpoint for 'expense_drafts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDrafts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update expense drafts",
        "operationId": "patchApiV1AccountingExpense-drafts",
        "description": "Dynamic table endpoint for 'expense_drafts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDrafts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert expense drafts",
        "operationId": "postApiV1AccountingExpense-drafts",
        "description": "Dynamic table endpoint for 'expense_drafts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseDrafts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseDrafts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/expense-rules": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List expense rules",
        "operationId": "getApiV1AccountingExpense-rules",
        "description": "Dynamic table endpoint for 'expense_rules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseRules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert expense rules",
        "operationId": "putApiV1AccountingExpense-rules",
        "description": "Dynamic table endpoint for 'expense_rules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseRules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseRules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseRules"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update expense rules",
        "operationId": "patchApiV1AccountingExpense-rules",
        "description": "Dynamic table endpoint for 'expense_rules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseRules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseRules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseRules"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert expense rules",
        "operationId": "postApiV1AccountingExpense-rules",
        "description": "Dynamic table endpoint for 'expense_rules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExpenseRules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseRules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseRules"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete expense rules",
        "operationId": "deleteApiV1AccountingExpense-rules",
        "description": "Dynamic table endpoint for 'expense_rules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseRules"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ExpenseRules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ExpenseRules"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/google-drive-connections": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List google drive connections",
        "operationId": "getApiV1AccountingGoogle-drive-connections",
        "description": "Dynamic table endpoint for 'google_drive_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert google drive connections",
        "operationId": "putApiV1AccountingGoogle-drive-connections",
        "description": "Dynamic table endpoint for 'google_drive_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveConnections"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update google drive connections",
        "operationId": "patchApiV1AccountingGoogle-drive-connections",
        "description": "Dynamic table endpoint for 'google_drive_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveConnections"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert google drive connections",
        "operationId": "postApiV1AccountingGoogle-drive-connections",
        "description": "Dynamic table endpoint for 'google_drive_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveConnections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveConnections"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/google-drive-import-jobs": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List google drive import jobs",
        "operationId": "getApiV1AccountingGoogle-drive-import-jobs",
        "description": "Dynamic table endpoint for 'google_drive_import_jobs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert google drive import jobs",
        "operationId": "putApiV1AccountingGoogle-drive-import-jobs",
        "description": "Dynamic table endpoint for 'google_drive_import_jobs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveImportJobs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update google drive import jobs",
        "operationId": "patchApiV1AccountingGoogle-drive-import-jobs",
        "description": "Dynamic table endpoint for 'google_drive_import_jobs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveImportJobs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert google drive import jobs",
        "operationId": "postApiV1AccountingGoogle-drive-import-jobs",
        "description": "Dynamic table endpoint for 'google_drive_import_jobs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveImportJobs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveImportJobs"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/google-drive-monitors": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List google drive monitors",
        "operationId": "getApiV1AccountingGoogle-drive-monitors",
        "description": "Dynamic table endpoint for 'google_drive_monitors'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert google drive monitors",
        "operationId": "putApiV1AccountingGoogle-drive-monitors",
        "description": "Dynamic table endpoint for 'google_drive_monitors'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveMonitors"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update google drive monitors",
        "operationId": "patchApiV1AccountingGoogle-drive-monitors",
        "description": "Dynamic table endpoint for 'google_drive_monitors'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveMonitors"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert google drive monitors",
        "operationId": "postApiV1AccountingGoogle-drive-monitors",
        "description": "Dynamic table endpoint for 'google_drive_monitors'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveMonitors"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveMonitors"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/google-drive-sync-logs": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List google drive sync logs",
        "operationId": "getApiV1AccountingGoogle-drive-sync-logs",
        "description": "Dynamic table endpoint for 'google_drive_sync_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert google drive sync logs",
        "operationId": "putApiV1AccountingGoogle-drive-sync-logs",
        "description": "Dynamic table endpoint for 'google_drive_sync_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update google drive sync logs",
        "operationId": "patchApiV1AccountingGoogle-drive-sync-logs",
        "description": "Dynamic table endpoint for 'google_drive_sync_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert google drive sync logs",
        "operationId": "postApiV1AccountingGoogle-drive-sync-logs",
        "description": "Dynamic table endpoint for 'google_drive_sync_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GoogleDriveSyncLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll",
        "operationId": "getApiV1AccountingPayroll",
        "description": "Dynamic table endpoint for 'weekly_payroll_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll",
        "operationId": "putApiV1AccountingPayroll",
        "description": "Dynamic table endpoint for 'weekly_payroll_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WeeklyPayrollData"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll",
        "operationId": "patchApiV1AccountingPayroll",
        "description": "Dynamic table endpoint for 'weekly_payroll_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WeeklyPayrollData"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll",
        "operationId": "postApiV1AccountingPayroll",
        "description": "Dynamic table endpoint for 'weekly_payroll_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WeeklyPayrollData"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WeeklyPayrollData"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-accounting-account-map": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll accounting account map",
        "operationId": "getApiV1AccountingPayroll-accounting-account-map",
        "description": "Dynamic table endpoint for 'payroll_accounting_account_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll accounting account map",
        "operationId": "putApiV1AccountingPayroll-accounting-account-map",
        "description": "Dynamic table endpoint for 'payroll_accounting_account_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll accounting account map",
        "operationId": "patchApiV1AccountingPayroll-accounting-account-map",
        "description": "Dynamic table endpoint for 'payroll_accounting_account_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll accounting account map",
        "operationId": "postApiV1AccountingPayroll-accounting-account-map",
        "description": "Dynamic table endpoint for 'payroll_accounting_account_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete payroll accounting account map",
        "operationId": "deleteApiV1AccountingPayroll-accounting-account-map",
        "description": "Dynamic table endpoint for 'payroll_accounting_account_map'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAccountingAccountMap"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-az-ui-rates": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll az ui rates",
        "operationId": "getApiV1AccountingPayroll-az-ui-rates",
        "description": "Dynamic table endpoint for 'payroll_az_ui_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll az ui rates",
        "operationId": "putApiV1AccountingPayroll-az-ui-rates",
        "description": "Dynamic table endpoint for 'payroll_az_ui_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAzUiRate"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll az ui rates",
        "operationId": "patchApiV1AccountingPayroll-az-ui-rates",
        "description": "Dynamic table endpoint for 'payroll_az_ui_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAzUiRate"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll az ui rates",
        "operationId": "postApiV1AccountingPayroll-az-ui-rates",
        "description": "Dynamic table endpoint for 'payroll_az_ui_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollAzUiRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollAzUiRate"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-compensation-profiles": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll compensation profiles",
        "operationId": "getApiV1AccountingPayroll-compensation-profiles",
        "description": "Dynamic table endpoint for 'payroll_compensation_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll compensation profiles",
        "operationId": "putApiV1AccountingPayroll-compensation-profiles",
        "description": "Dynamic table endpoint for 'payroll_compensation_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollCompensationProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll compensation profiles",
        "operationId": "patchApiV1AccountingPayroll-compensation-profiles",
        "description": "Dynamic table endpoint for 'payroll_compensation_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollCompensationProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll compensation profiles",
        "operationId": "postApiV1AccountingPayroll-compensation-profiles",
        "description": "Dynamic table endpoint for 'payroll_compensation_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollCompensationProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollCompensationProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-employee-leave-policies": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll employee leave policies",
        "operationId": "getApiV1AccountingPayroll-employee-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_employee_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll employee leave policies",
        "operationId": "putApiV1AccountingPayroll-employee-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_employee_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll employee leave policies",
        "operationId": "patchApiV1AccountingPayroll-employee-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_employee_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll employee leave policies",
        "operationId": "postApiV1AccountingPayroll-employee-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_employee_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete payroll employee leave policies",
        "operationId": "deleteApiV1AccountingPayroll-employee-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_employee_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-employee-tax-profiles": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll employee tax profiles",
        "operationId": "getApiV1AccountingPayroll-employee-tax-profiles",
        "description": "Dynamic table endpoint for 'payroll_employee_tax_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll employee tax profiles",
        "operationId": "putApiV1AccountingPayroll-employee-tax-profiles",
        "description": "Dynamic table endpoint for 'payroll_employee_tax_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll employee tax profiles",
        "operationId": "patchApiV1AccountingPayroll-employee-tax-profiles",
        "description": "Dynamic table endpoint for 'payroll_employee_tax_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll employee tax profiles",
        "operationId": "postApiV1AccountingPayroll-employee-tax-profiles",
        "description": "Dynamic table endpoint for 'payroll_employee_tax_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollEmployeeTaxProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-hourly-rates": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll hourly rates",
        "operationId": "getApiV1AccountingPayroll-hourly-rates",
        "description": "Dynamic table endpoint for 'payroll_hourly_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll hourly rates",
        "operationId": "putApiV1AccountingPayroll-hourly-rates",
        "description": "Dynamic table endpoint for 'payroll_hourly_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollHourlyRate"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll hourly rates",
        "operationId": "patchApiV1AccountingPayroll-hourly-rates",
        "description": "Dynamic table endpoint for 'payroll_hourly_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollHourlyRate"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll hourly rates",
        "operationId": "postApiV1AccountingPayroll-hourly-rates",
        "description": "Dynamic table endpoint for 'payroll_hourly_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollHourlyRate"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete payroll hourly rates",
        "operationId": "deleteApiV1AccountingPayroll-hourly-rates",
        "description": "Dynamic table endpoint for 'payroll_hourly_rate'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayrollHourlyRate"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollHourlyRate"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollHourlyRate"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-leave-balances": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll leave balances",
        "operationId": "getApiV1AccountingPayroll-leave-balances",
        "description": "Dynamic table endpoint for 'payroll_leave_balance'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll leave balances",
        "operationId": "putApiV1AccountingPayroll-leave-balances",
        "description": "Dynamic table endpoint for 'payroll_leave_balance'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollLeaveBalance"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll leave balances",
        "operationId": "patchApiV1AccountingPayroll-leave-balances",
        "description": "Dynamic table endpoint for 'payroll_leave_balance'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollLeaveBalance"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll leave balances",
        "operationId": "postApiV1AccountingPayroll-leave-balances",
        "description": "Dynamic table endpoint for 'payroll_leave_balance'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollLeaveBalance"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollLeaveBalance"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-leave-policies": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll leave policies",
        "operationId": "getApiV1AccountingPayroll-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll leave policies",
        "operationId": "putApiV1AccountingPayroll-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll leave policies",
        "operationId": "patchApiV1AccountingPayroll-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll leave policies",
        "operationId": "postApiV1AccountingPayroll-leave-policies",
        "description": "Dynamic table endpoint for 'payroll_leave_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollLeavePolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollLeavePolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-paystubs": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll paystubs",
        "operationId": "getApiV1AccountingPayroll-paystubs",
        "description": "Dynamic table endpoint for 'payroll_paystub'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll paystubs",
        "operationId": "putApiV1AccountingPayroll-paystubs",
        "description": "Dynamic table endpoint for 'payroll_paystub'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollPaystub"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll paystubs",
        "operationId": "patchApiV1AccountingPayroll-paystubs",
        "description": "Dynamic table endpoint for 'payroll_paystub'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollPaystub"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll paystubs",
        "operationId": "postApiV1AccountingPayroll-paystubs",
        "description": "Dynamic table endpoint for 'payroll_paystub'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollPaystub"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollPaystub"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-run-earning-lines": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll run earning lines",
        "operationId": "getApiV1AccountingPayroll-run-earning-lines",
        "description": "Dynamic table endpoint for 'payroll_run_earning_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll run earning lines",
        "operationId": "putApiV1AccountingPayroll-run-earning-lines",
        "description": "Dynamic table endpoint for 'payroll_run_earning_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEarningLine"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll run earning lines",
        "operationId": "patchApiV1AccountingPayroll-run-earning-lines",
        "description": "Dynamic table endpoint for 'payroll_run_earning_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEarningLine"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll run earning lines",
        "operationId": "postApiV1AccountingPayroll-run-earning-lines",
        "description": "Dynamic table endpoint for 'payroll_run_earning_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEarningLine"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete payroll run earning lines",
        "operationId": "deleteApiV1AccountingPayroll-run-earning-lines",
        "description": "Dynamic table endpoint for 'payroll_run_earning_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayrollRunEarningLine"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEarningLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEarningLine"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-run-employees": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll run employees",
        "operationId": "getApiV1AccountingPayroll-run-employees",
        "description": "Dynamic table endpoint for 'payroll_run_employee'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll run employees",
        "operationId": "putApiV1AccountingPayroll-run-employees",
        "description": "Dynamic table endpoint for 'payroll_run_employee'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEmployee"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll run employees",
        "operationId": "patchApiV1AccountingPayroll-run-employees",
        "description": "Dynamic table endpoint for 'payroll_run_employee'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEmployee"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll run employees",
        "operationId": "postApiV1AccountingPayroll-run-employees",
        "description": "Dynamic table endpoint for 'payroll_run_employee'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunEmployee"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunEmployee"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-run-tax-lines": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll run tax lines",
        "operationId": "getApiV1AccountingPayroll-run-tax-lines",
        "description": "Dynamic table endpoint for 'payroll_run_tax_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll run tax lines",
        "operationId": "putApiV1AccountingPayroll-run-tax-lines",
        "description": "Dynamic table endpoint for 'payroll_run_tax_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTaxLine"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll run tax lines",
        "operationId": "patchApiV1AccountingPayroll-run-tax-lines",
        "description": "Dynamic table endpoint for 'payroll_run_tax_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTaxLine"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll run tax lines",
        "operationId": "postApiV1AccountingPayroll-run-tax-lines",
        "description": "Dynamic table endpoint for 'payroll_run_tax_line'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTaxLine"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTaxLine"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-run-tip-allocations": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll run tip allocations",
        "operationId": "getApiV1AccountingPayroll-run-tip-allocations",
        "description": "Dynamic table endpoint for 'payroll_run_tip_allocation'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll run tip allocations",
        "operationId": "putApiV1AccountingPayroll-run-tip-allocations",
        "description": "Dynamic table endpoint for 'payroll_run_tip_allocation'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTipAllocation"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll run tip allocations",
        "operationId": "patchApiV1AccountingPayroll-run-tip-allocations",
        "description": "Dynamic table endpoint for 'payroll_run_tip_allocation'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTipAllocation"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll run tip allocations",
        "operationId": "postApiV1AccountingPayroll-run-tip-allocations",
        "description": "Dynamic table endpoint for 'payroll_run_tip_allocation'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTipAllocation"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTipAllocation"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-run-tip-pools": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll run tip pools",
        "operationId": "getApiV1AccountingPayroll-run-tip-pools",
        "description": "Dynamic table endpoint for 'payroll_run_tip_pool'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll run tip pools",
        "operationId": "putApiV1AccountingPayroll-run-tip-pools",
        "description": "Dynamic table endpoint for 'payroll_run_tip_pool'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTipPool"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll run tip pools",
        "operationId": "patchApiV1AccountingPayroll-run-tip-pools",
        "description": "Dynamic table endpoint for 'payroll_run_tip_pool'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTipPool"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll run tip pools",
        "operationId": "postApiV1AccountingPayroll-run-tip-pools",
        "description": "Dynamic table endpoint for 'payroll_run_tip_pool'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRunTipPool"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRunTipPool"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll-runs": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll runs",
        "operationId": "getApiV1AccountingPayroll-runs",
        "description": "Dynamic table endpoint for 'payroll_run'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Filtering by location_id also matches location_ids array when present.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRun"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert payroll runs",
        "operationId": "putApiV1AccountingPayroll-runs",
        "description": "Dynamic table endpoint for 'payroll_run'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Filtering by location_id also matches location_ids array when present.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRun"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRun"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRun"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update payroll runs",
        "operationId": "patchApiV1AccountingPayroll-runs",
        "description": "Dynamic table endpoint for 'payroll_run'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Filtering by location_id also matches location_ids array when present.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRun"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRun"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRun"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll runs",
        "operationId": "postApiV1AccountingPayroll-runs",
        "description": "Dynamic table endpoint for 'payroll_run'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Filtering by location_id also matches location_ids array when present.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PayrollRun"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/PayrollRun"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/PayrollRun"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/config/company-settings": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List company settings",
        "operationId": "getApiV1ConfigCompany-settings",
        "description": "Dynamic table endpoint for 'company_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). POST upserts by key and ignores provided id values.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanySettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "config"
        ],
        "summary": "Insert company settings",
        "operationId": "putApiV1ConfigCompany-settings",
        "description": "Dynamic table endpoint for 'company_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). POST upserts by key and ignores provided id values.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanySettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CompanySettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CompanySettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update company settings",
        "operationId": "patchApiV1ConfigCompany-settings",
        "description": "Dynamic table endpoint for 'company_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). POST upserts by key and ignores provided id values.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanySettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CompanySettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CompanySettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert company settings",
        "operationId": "postApiV1ConfigCompany-settings",
        "description": "Dynamic table endpoint for 'company_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). POST upserts by key and ignores provided id values.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanySettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CompanySettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CompanySettings"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/config/locations": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List locations",
        "operationId": "getApiV1ConfigLocations",
        "description": "Dynamic table endpoint for 'location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "config"
        ],
        "summary": "Insert locations",
        "operationId": "putApiV1ConfigLocations",
        "description": "Dynamic table endpoint for 'location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Location"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Location"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update locations",
        "operationId": "patchApiV1ConfigLocations",
        "description": "Dynamic table endpoint for 'location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Location"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Location"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert locations",
        "operationId": "postApiV1ConfigLocations",
        "description": "Dynamic table endpoint for 'location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Location"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Location"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/config/permissions": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List permissions",
        "operationId": "getApiV1ConfigPermissions",
        "description": "Dynamic table endpoint for 'user_routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoutes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "config"
        ],
        "summary": "Insert permissions",
        "operationId": "putApiV1ConfigPermissions",
        "description": "Dynamic table endpoint for 'user_routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoutes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoutes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoutes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update permissions",
        "operationId": "patchApiV1ConfigPermissions",
        "description": "Dynamic table endpoint for 'user_routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoutes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoutes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoutes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert permissions",
        "operationId": "postApiV1ConfigPermissions",
        "description": "Dynamic table endpoint for 'user_routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoutes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoutes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoutes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "config"
        ],
        "summary": "Delete permissions",
        "operationId": "deleteApiV1ConfigPermissions",
        "description": "Dynamic table endpoint for 'user_routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRoutes"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoutes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoutes"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/config/routes": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List routes",
        "operationId": "getApiV1ConfigRoutes",
        "description": "Dynamic table endpoint for 'routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Routes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "config"
        ],
        "summary": "Insert routes",
        "operationId": "putApiV1ConfigRoutes",
        "description": "Dynamic table endpoint for 'routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Routes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Routes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Routes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update routes",
        "operationId": "patchApiV1ConfigRoutes",
        "description": "Dynamic table endpoint for 'routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Routes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Routes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Routes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert routes",
        "operationId": "postApiV1ConfigRoutes",
        "description": "Dynamic table endpoint for 'routes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Routes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Routes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Routes"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/integrations-google-connections": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List integrations google connections",
        "operationId": "getApiV1CustomersIntegrations-google-connections",
        "description": "Dynamic table endpoint for 'integrations_google_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert integrations google connections",
        "operationId": "putApiV1CustomersIntegrations-google-connections",
        "description": "Dynamic table endpoint for 'integrations_google_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update integrations google connections",
        "operationId": "patchApiV1CustomersIntegrations-google-connections",
        "description": "Dynamic table endpoint for 'integrations_google_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert integrations google connections",
        "operationId": "postApiV1CustomersIntegrations-google-connections",
        "description": "Dynamic table endpoint for 'integrations_google_connections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/IntegrationsGoogleConnections"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-accounts": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp accounts",
        "operationId": "getApiV1CustomersGbp-accounts",
        "description": "Dynamic table endpoint for 'gbp_account'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpAccount"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp accounts",
        "operationId": "putApiV1CustomersGbp-accounts",
        "description": "Dynamic table endpoint for 'gbp_account'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpAccount"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpAccount"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpAccount"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp accounts",
        "operationId": "patchApiV1CustomersGbp-accounts",
        "description": "Dynamic table endpoint for 'gbp_account'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpAccount"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpAccount"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpAccount"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp accounts",
        "operationId": "postApiV1CustomersGbp-accounts",
        "description": "Dynamic table endpoint for 'gbp_account'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpAccount"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpAccount"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpAccount"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-locations": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp locations",
        "operationId": "getApiV1CustomersGbp-locations",
        "description": "Dynamic table endpoint for 'gbp_location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp locations",
        "operationId": "putApiV1CustomersGbp-locations",
        "description": "Dynamic table endpoint for 'gbp_location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocation"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocation"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp locations",
        "operationId": "patchApiV1CustomersGbp-locations",
        "description": "Dynamic table endpoint for 'gbp_location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocation"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocation"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp locations",
        "operationId": "postApiV1CustomersGbp-locations",
        "description": "Dynamic table endpoint for 'gbp_location'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocation"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocation"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocation"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-location-mappings": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp location mappings",
        "operationId": "getApiV1CustomersGbp-location-mappings",
        "description": "Dynamic table endpoint for 'gbp_location_mapping'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp location mappings",
        "operationId": "putApiV1CustomersGbp-location-mappings",
        "description": "Dynamic table endpoint for 'gbp_location_mapping'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocationMapping"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp location mappings",
        "operationId": "patchApiV1CustomersGbp-location-mappings",
        "description": "Dynamic table endpoint for 'gbp_location_mapping'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocationMapping"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp location mappings",
        "operationId": "postApiV1CustomersGbp-location-mappings",
        "description": "Dynamic table endpoint for 'gbp_location_mapping'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocationMapping"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete gbp location mappings",
        "operationId": "deleteApiV1CustomersGbp-location-mappings",
        "description": "Dynamic table endpoint for 'gbp_location_mapping'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GbpLocationMapping"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpLocationMapping"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpLocationMapping"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-reviews": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp reviews",
        "operationId": "getApiV1CustomersGbp-reviews",
        "description": "Dynamic table endpoint for 'gbp_review'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReview"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp reviews",
        "operationId": "putApiV1CustomersGbp-reviews",
        "description": "Dynamic table endpoint for 'gbp_review'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReview"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReview"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReview"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp reviews",
        "operationId": "patchApiV1CustomersGbp-reviews",
        "description": "Dynamic table endpoint for 'gbp_review'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReview"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReview"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReview"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp reviews",
        "operationId": "postApiV1CustomersGbp-reviews",
        "description": "Dynamic table endpoint for 'gbp_review'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReview"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReview"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReview"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-review-drafts": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp review drafts",
        "operationId": "getApiV1CustomersGbp-review-drafts",
        "description": "Dynamic table endpoint for 'gbp_review_draft'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp review drafts",
        "operationId": "putApiV1CustomersGbp-review-drafts",
        "description": "Dynamic table endpoint for 'gbp_review_draft'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewDraft"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp review drafts",
        "operationId": "patchApiV1CustomersGbp-review-drafts",
        "description": "Dynamic table endpoint for 'gbp_review_draft'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewDraft"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp review drafts",
        "operationId": "postApiV1CustomersGbp-review-drafts",
        "description": "Dynamic table endpoint for 'gbp_review_draft'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewDraft"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete gbp review drafts",
        "operationId": "deleteApiV1CustomersGbp-review-drafts",
        "description": "Dynamic table endpoint for 'gbp_review_draft'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GbpReviewDraft"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewDraft"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewDraft"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-review-reply-history": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp review reply history",
        "operationId": "getApiV1CustomersGbp-review-reply-history",
        "description": "Dynamic table endpoint for 'gbp_review_reply_history'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp review reply history",
        "operationId": "putApiV1CustomersGbp-review-reply-history",
        "description": "Dynamic table endpoint for 'gbp_review_reply_history'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewReplyHistory"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp review reply history",
        "operationId": "patchApiV1CustomersGbp-review-reply-history",
        "description": "Dynamic table endpoint for 'gbp_review_reply_history'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewReplyHistory"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp review reply history",
        "operationId": "postApiV1CustomersGbp-review-reply-history",
        "description": "Dynamic table endpoint for 'gbp_review_reply_history'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpReviewReplyHistory"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpReviewReplyHistory"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-tone-profiles": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp tone profiles",
        "operationId": "getApiV1CustomersGbp-tone-profiles",
        "description": "Dynamic table endpoint for 'gbp_tone_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp tone profiles",
        "operationId": "putApiV1CustomersGbp-tone-profiles",
        "description": "Dynamic table endpoint for 'gbp_tone_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpToneProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp tone profiles",
        "operationId": "patchApiV1CustomersGbp-tone-profiles",
        "description": "Dynamic table endpoint for 'gbp_tone_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpToneProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp tone profiles",
        "operationId": "postApiV1CustomersGbp-tone-profiles",
        "description": "Dynamic table endpoint for 'gbp_tone_profile'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpToneProfile"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpToneProfile"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-policies": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp policies",
        "operationId": "getApiV1CustomersGbp-policies",
        "description": "Dynamic table endpoint for 'gbp_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpPolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp policies",
        "operationId": "putApiV1CustomersGbp-policies",
        "description": "Dynamic table endpoint for 'gbp_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpPolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpPolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpPolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp policies",
        "operationId": "patchApiV1CustomersGbp-policies",
        "description": "Dynamic table endpoint for 'gbp_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpPolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpPolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpPolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp policies",
        "operationId": "postApiV1CustomersGbp-policies",
        "description": "Dynamic table endpoint for 'gbp_policy'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpPolicy"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpPolicy"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpPolicy"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp-insights-snapshots": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List gbp insights snapshots",
        "operationId": "getApiV1CustomersGbp-insights-snapshots",
        "description": "Dynamic table endpoint for 'gbp_insights_snapshot'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert gbp insights snapshots",
        "operationId": "putApiV1CustomersGbp-insights-snapshots",
        "description": "Dynamic table endpoint for 'gbp_insights_snapshot'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpInsightsSnapshot"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update gbp insights snapshots",
        "operationId": "patchApiV1CustomersGbp-insights-snapshots",
        "description": "Dynamic table endpoint for 'gbp_insights_snapshot'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpInsightsSnapshot"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert gbp insights snapshots",
        "operationId": "postApiV1CustomersGbp-insights-snapshots",
        "description": "Dynamic table endpoint for 'gbp_insights_snapshot'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GbpInsightsSnapshot"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GbpInsightsSnapshot"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-categories": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer categories",
        "operationId": "getApiV1CustomersCustomer-categories",
        "description": "Dynamic table endpoint for 'customer_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer categories",
        "operationId": "putApiV1CustomersCustomer-categories",
        "description": "Dynamic table endpoint for 'customer_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer categories",
        "operationId": "patchApiV1CustomersCustomer-categories",
        "description": "Dynamic table endpoint for 'customer_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer categories",
        "operationId": "postApiV1CustomersCustomer-categories",
        "description": "Dynamic table endpoint for 'customer_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer categories",
        "operationId": "deleteApiV1CustomersCustomer-categories",
        "description": "Dynamic table endpoint for 'customer_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCategories"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-category-memberships": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer category memberships",
        "operationId": "getApiV1CustomersCustomer-category-memberships",
        "description": "Dynamic table endpoint for 'customer_category_memberships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer category memberships",
        "operationId": "putApiV1CustomersCustomer-category-memberships",
        "description": "Dynamic table endpoint for 'customer_category_memberships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategoryMemberships"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer category memberships",
        "operationId": "patchApiV1CustomersCustomer-category-memberships",
        "description": "Dynamic table endpoint for 'customer_category_memberships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategoryMemberships"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer category memberships",
        "operationId": "postApiV1CustomersCustomer-category-memberships",
        "description": "Dynamic table endpoint for 'customer_category_memberships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategoryMemberships"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer category memberships",
        "operationId": "deleteApiV1CustomersCustomer-category-memberships",
        "description": "Dynamic table endpoint for 'customer_category_memberships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCategoryMemberships"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerCategoryMemberships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerCategoryMemberships"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-contacts": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer contacts",
        "operationId": "getApiV1CustomersCustomer-contacts",
        "description": "Dynamic table endpoint for 'customer_contacts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerContacts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer contacts",
        "operationId": "putApiV1CustomersCustomer-contacts",
        "description": "Dynamic table endpoint for 'customer_contacts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerContacts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerContacts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerContacts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer contacts",
        "operationId": "patchApiV1CustomersCustomer-contacts",
        "description": "Dynamic table endpoint for 'customer_contacts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerContacts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerContacts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerContacts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer contacts",
        "operationId": "postApiV1CustomersCustomer-contacts",
        "description": "Dynamic table endpoint for 'customer_contacts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerContacts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerContacts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerContacts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer contacts",
        "operationId": "deleteApiV1CustomersCustomer-contacts",
        "description": "Dynamic table endpoint for 'customer_contacts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerContacts"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerContacts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerContacts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-email-automations": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer email automations",
        "operationId": "getApiV1CustomersCustomer-email-automations",
        "description": "Dynamic table endpoint for 'customer_email_automations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer email automations",
        "operationId": "putApiV1CustomersCustomer-email-automations",
        "description": "Dynamic table endpoint for 'customer_email_automations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailAutomations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer email automations",
        "operationId": "patchApiV1CustomersCustomer-email-automations",
        "description": "Dynamic table endpoint for 'customer_email_automations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailAutomations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer email automations",
        "operationId": "postApiV1CustomersCustomer-email-automations",
        "description": "Dynamic table endpoint for 'customer_email_automations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailAutomations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer email automations",
        "operationId": "deleteApiV1CustomersCustomer-email-automations",
        "description": "Dynamic table endpoint for 'customer_email_automations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerEmailAutomations"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailAutomations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailAutomations"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-email-outbox": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer email outbox",
        "operationId": "getApiV1CustomersCustomer-email-outbox",
        "description": "Dynamic table endpoint for 'customer_email_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer email outbox",
        "operationId": "putApiV1CustomersCustomer-email-outbox",
        "description": "Dynamic table endpoint for 'customer_email_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer email outbox",
        "operationId": "patchApiV1CustomersCustomer-email-outbox",
        "description": "Dynamic table endpoint for 'customer_email_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer email outbox",
        "operationId": "postApiV1CustomersCustomer-email-outbox",
        "description": "Dynamic table endpoint for 'customer_email_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer email outbox",
        "operationId": "deleteApiV1CustomersCustomer-email-outbox",
        "description": "Dynamic table endpoint for 'customer_email_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerEmailOutbox"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerEmailOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerEmailOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-interactions": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer interactions",
        "operationId": "getApiV1CustomersCustomer-interactions",
        "description": "Dynamic table endpoint for 'customer_interactions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer interactions",
        "operationId": "putApiV1CustomersCustomer-interactions",
        "description": "Dynamic table endpoint for 'customer_interactions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer interactions",
        "operationId": "patchApiV1CustomersCustomer-interactions",
        "description": "Dynamic table endpoint for 'customer_interactions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer interactions",
        "operationId": "postApiV1CustomersCustomer-interactions",
        "description": "Dynamic table endpoint for 'customer_interactions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer interactions",
        "operationId": "deleteApiV1CustomersCustomer-interactions",
        "description": "Dynamic table endpoint for 'customer_interactions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerInteractions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-interaction-types": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer interaction types",
        "operationId": "getApiV1CustomersCustomer-interaction-types",
        "description": "Dynamic table endpoint for 'customer_interaction_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer interaction types",
        "operationId": "putApiV1CustomersCustomer-interaction-types",
        "description": "Dynamic table endpoint for 'customer_interaction_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractionTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer interaction types",
        "operationId": "patchApiV1CustomersCustomer-interaction-types",
        "description": "Dynamic table endpoint for 'customer_interaction_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractionTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer interaction types",
        "operationId": "postApiV1CustomersCustomer-interaction-types",
        "description": "Dynamic table endpoint for 'customer_interaction_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractionTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer interaction types",
        "operationId": "deleteApiV1CustomersCustomer-interaction-types",
        "description": "Dynamic table endpoint for 'customer_interaction_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerInteractionTypes"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerInteractionTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerInteractionTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-locations": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer locations",
        "operationId": "getApiV1CustomersCustomer-locations",
        "description": "Dynamic table endpoint for 'customer_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer locations",
        "operationId": "putApiV1CustomersCustomer-locations",
        "description": "Dynamic table endpoint for 'customer_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer locations",
        "operationId": "patchApiV1CustomersCustomer-locations",
        "description": "Dynamic table endpoint for 'customer_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer locations",
        "operationId": "postApiV1CustomersCustomer-locations",
        "description": "Dynamic table endpoint for 'customer_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer locations",
        "operationId": "deleteApiV1CustomersCustomer-locations",
        "description": "Dynamic table endpoint for 'customer_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerLocations"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-survey-notifications": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer survey notifications",
        "operationId": "getApiV1CustomersCustomer-survey-notifications",
        "description": "Dynamic table endpoint for 'customer_survey_notifications'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer survey notifications",
        "operationId": "putApiV1CustomersCustomer-survey-notifications",
        "description": "Dynamic table endpoint for 'customer_survey_notifications'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyNotifications"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer survey notifications",
        "operationId": "patchApiV1CustomersCustomer-survey-notifications",
        "description": "Dynamic table endpoint for 'customer_survey_notifications'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyNotifications"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer survey notifications",
        "operationId": "postApiV1CustomersCustomer-survey-notifications",
        "description": "Dynamic table endpoint for 'customer_survey_notifications'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyNotifications"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer survey notifications",
        "operationId": "deleteApiV1CustomersCustomer-survey-notifications",
        "description": "Dynamic table endpoint for 'customer_survey_notifications'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSurveyNotifications"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyNotifications"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyNotifications"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-survey-questions": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer survey questions",
        "operationId": "getApiV1CustomersCustomer-survey-questions",
        "description": "Dynamic table endpoint for 'customer_survey_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer survey questions",
        "operationId": "putApiV1CustomersCustomer-survey-questions",
        "description": "Dynamic table endpoint for 'customer_survey_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer survey questions",
        "operationId": "patchApiV1CustomersCustomer-survey-questions",
        "description": "Dynamic table endpoint for 'customer_survey_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer survey questions",
        "operationId": "postApiV1CustomersCustomer-survey-questions",
        "description": "Dynamic table endpoint for 'customer_survey_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer survey questions",
        "operationId": "deleteApiV1CustomersCustomer-survey-questions",
        "description": "Dynamic table endpoint for 'customer_survey_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSurveyQuestions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-survey-responses": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer survey responses",
        "operationId": "getApiV1CustomersCustomer-survey-responses",
        "description": "Dynamic table endpoint for 'customer_survey_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer survey responses",
        "operationId": "putApiV1CustomersCustomer-survey-responses",
        "description": "Dynamic table endpoint for 'customer_survey_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer survey responses",
        "operationId": "patchApiV1CustomersCustomer-survey-responses",
        "description": "Dynamic table endpoint for 'customer_survey_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer survey responses",
        "operationId": "postApiV1CustomersCustomer-survey-responses",
        "description": "Dynamic table endpoint for 'customer_survey_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer survey responses",
        "operationId": "deleteApiV1CustomersCustomer-survey-responses",
        "description": "Dynamic table endpoint for 'customer_survey_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSurveyResponses"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveyResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveyResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-surveys": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer surveys",
        "operationId": "getApiV1CustomersCustomer-surveys",
        "description": "Dynamic table endpoint for 'customer_surveys'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer surveys",
        "operationId": "putApiV1CustomersCustomer-surveys",
        "description": "Dynamic table endpoint for 'customer_surveys'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveys"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer surveys",
        "operationId": "patchApiV1CustomersCustomer-surveys",
        "description": "Dynamic table endpoint for 'customer_surveys'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveys"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer surveys",
        "operationId": "postApiV1CustomersCustomer-surveys",
        "description": "Dynamic table endpoint for 'customer_surveys'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveys"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer surveys",
        "operationId": "deleteApiV1CustomersCustomer-surveys",
        "description": "Dynamic table endpoint for 'customer_surveys'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSurveys"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerSurveys"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerSurveys"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-types": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer types",
        "operationId": "getApiV1CustomersCustomer-types",
        "description": "Dynamic table endpoint for 'customer_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer types",
        "operationId": "putApiV1CustomersCustomer-types",
        "description": "Dynamic table endpoint for 'customer_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer types",
        "operationId": "patchApiV1CustomersCustomer-types",
        "description": "Dynamic table endpoint for 'customer_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer types",
        "operationId": "postApiV1CustomersCustomer-types",
        "description": "Dynamic table endpoint for 'customer_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerTypes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customer types",
        "operationId": "deleteApiV1CustomersCustomer-types",
        "description": "Dynamic table endpoint for 'customer_types'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerTypes"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerTypes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerTypes"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customer-users": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customer users",
        "operationId": "getApiV1CustomersCustomer-users",
        "description": "Dynamic table endpoint for 'customer_users'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerUsers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customer users",
        "operationId": "putApiV1CustomersCustomer-users",
        "description": "Dynamic table endpoint for 'customer_users'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerUsers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerUsers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerUsers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customer users",
        "operationId": "patchApiV1CustomersCustomer-users",
        "description": "Dynamic table endpoint for 'customer_users'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerUsers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerUsers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerUsers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customer users",
        "operationId": "postApiV1CustomersCustomer-users",
        "description": "Dynamic table endpoint for 'customer_users'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerUsers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CustomerUsers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CustomerUsers"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/customers": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List customers",
        "operationId": "getApiV1CustomersCustomers",
        "description": "Dynamic table endpoint for 'customers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Customers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert customers",
        "operationId": "putApiV1CustomersCustomers",
        "description": "Dynamic table endpoint for 'customers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Customers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Customers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Customers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update customers",
        "operationId": "patchApiV1CustomersCustomers",
        "description": "Dynamic table endpoint for 'customers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Customers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Customers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Customers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert customers",
        "operationId": "postApiV1CustomersCustomers",
        "description": "Dynamic table endpoint for 'customers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Customers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Customers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Customers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete customers",
        "operationId": "deleteApiV1CustomersCustomers",
        "description": "Dynamic table endpoint for 'customers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customers"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Customers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Customers"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-client-onboarding": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale client onboarding",
        "operationId": "getApiV1CustomersWholesale-client-onboarding",
        "description": "Dynamic table endpoint for 'wholesale_client_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale client onboarding",
        "operationId": "putApiV1CustomersWholesale-client-onboarding",
        "description": "Dynamic table endpoint for 'wholesale_client_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleClientOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale client onboarding",
        "operationId": "patchApiV1CustomersWholesale-client-onboarding",
        "description": "Dynamic table endpoint for 'wholesale_client_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleClientOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale client onboarding",
        "operationId": "postApiV1CustomersWholesale-client-onboarding",
        "description": "Dynamic table endpoint for 'wholesale_client_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleClientOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleClientOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-customer-order-guide": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale customer order guide",
        "operationId": "getApiV1CustomersWholesale-customer-order-guide",
        "description": "Dynamic table endpoint for 'wholesale_customer_order_guide'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale customer order guide",
        "operationId": "putApiV1CustomersWholesale-customer-order-guide",
        "description": "Dynamic table endpoint for 'wholesale_customer_order_guide'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale customer order guide",
        "operationId": "patchApiV1CustomersWholesale-customer-order-guide",
        "description": "Dynamic table endpoint for 'wholesale_customer_order_guide'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale customer order guide",
        "operationId": "postApiV1CustomersWholesale-customer-order-guide",
        "description": "Dynamic table endpoint for 'wholesale_customer_order_guide'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale customer order guide",
        "operationId": "deleteApiV1CustomersWholesale-customer-order-guide",
        "description": "Dynamic table endpoint for 'wholesale_customer_order_guide'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerOrderGuide"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-customer-payment-methods": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale customer payment methods",
        "operationId": "getApiV1CustomersWholesale-customer-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_customer_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale customer payment methods",
        "operationId": "putApiV1CustomersWholesale-customer-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_customer_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale customer payment methods",
        "operationId": "patchApiV1CustomersWholesale-customer-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_customer_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale customer payment methods",
        "operationId": "postApiV1CustomersWholesale-customer-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_customer_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale customer payment methods",
        "operationId": "deleteApiV1CustomersWholesale-customer-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_customer_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-customer-prices": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale customer prices",
        "operationId": "getApiV1CustomersWholesale-customer-prices",
        "description": "Dynamic table endpoint for 'wholesale_customer_prices'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale customer prices",
        "operationId": "putApiV1CustomersWholesale-customer-prices",
        "description": "Dynamic table endpoint for 'wholesale_customer_prices'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPrices"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale customer prices",
        "operationId": "patchApiV1CustomersWholesale-customer-prices",
        "description": "Dynamic table endpoint for 'wholesale_customer_prices'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPrices"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale customer prices",
        "operationId": "postApiV1CustomersWholesale-customer-prices",
        "description": "Dynamic table endpoint for 'wholesale_customer_prices'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPrices"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale customer prices",
        "operationId": "deleteApiV1CustomersWholesale-customer-prices",
        "description": "Dynamic table endpoint for 'wholesale_customer_prices'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleCustomerPrices"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerPrices"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerPrices"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-customer-settings": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale customer settings",
        "operationId": "getApiV1CustomersWholesale-customer-settings",
        "description": "Dynamic table endpoint for 'wholesale_customer_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale customer settings",
        "operationId": "putApiV1CustomersWholesale-customer-settings",
        "description": "Dynamic table endpoint for 'wholesale_customer_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale customer settings",
        "operationId": "patchApiV1CustomersWholesale-customer-settings",
        "description": "Dynamic table endpoint for 'wholesale_customer_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale customer settings",
        "operationId": "postApiV1CustomersWholesale-customer-settings",
        "description": "Dynamic table endpoint for 'wholesale_customer_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale customer settings",
        "operationId": "deleteApiV1CustomersWholesale-customer-settings",
        "description": "Dynamic table endpoint for 'wholesale_customer_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleCustomerSettings"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleCustomerSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleCustomerSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-fulfillment-blackouts": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale fulfillment blackouts",
        "operationId": "getApiV1CustomersWholesale-fulfillment-blackouts",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_blackouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Dates are normalized: blackout_date defaults from start/end fields when provided.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale fulfillment blackouts",
        "operationId": "putApiV1CustomersWholesale-fulfillment-blackouts",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_blackouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Dates are normalized: blackout_date defaults from start/end fields when provided.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale fulfillment blackouts",
        "operationId": "patchApiV1CustomersWholesale-fulfillment-blackouts",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_blackouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Dates are normalized: blackout_date defaults from start/end fields when provided.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale fulfillment blackouts",
        "operationId": "postApiV1CustomersWholesale-fulfillment-blackouts",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_blackouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Dates are normalized: blackout_date defaults from start/end fields when provided.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale fulfillment blackouts",
        "operationId": "deleteApiV1CustomersWholesale-fulfillment-blackouts",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_blackouts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Dates are normalized: blackout_date defaults from start/end fields when provided.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentBlackouts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-fulfillment-methods": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale fulfillment methods",
        "operationId": "getApiV1CustomersWholesale-fulfillment-methods",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale fulfillment methods",
        "operationId": "putApiV1CustomersWholesale-fulfillment-methods",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale fulfillment methods",
        "operationId": "patchApiV1CustomersWholesale-fulfillment-methods",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale fulfillment methods",
        "operationId": "postApiV1CustomersWholesale-fulfillment-methods",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale fulfillment methods",
        "operationId": "deleteApiV1CustomersWholesale-fulfillment-methods",
        "description": "Dynamic table endpoint for 'wholesale_fulfillment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleFulfillmentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-item-availability": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale item availability",
        "operationId": "getApiV1CustomersWholesale-item-availability",
        "description": "Dynamic table endpoint for 'wholesale_item_availability'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale item availability",
        "operationId": "putApiV1CustomersWholesale-item-availability",
        "description": "Dynamic table endpoint for 'wholesale_item_availability'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleItemAvailability"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale item availability",
        "operationId": "patchApiV1CustomersWholesale-item-availability",
        "description": "Dynamic table endpoint for 'wholesale_item_availability'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleItemAvailability"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale item availability",
        "operationId": "postApiV1CustomersWholesale-item-availability",
        "description": "Dynamic table endpoint for 'wholesale_item_availability'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleItemAvailability"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale item availability",
        "operationId": "deleteApiV1CustomersWholesale-item-availability",
        "description": "Dynamic table endpoint for 'wholesale_item_availability'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleItemAvailability"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleItemAvailability"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleItemAvailability"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-location-settings": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale location settings",
        "operationId": "getApiV1CustomersWholesale-location-settings",
        "description": "Dynamic table endpoint for 'wholesale_location_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale location settings",
        "operationId": "putApiV1CustomersWholesale-location-settings",
        "description": "Dynamic table endpoint for 'wholesale_location_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleLocationSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale location settings",
        "operationId": "patchApiV1CustomersWholesale-location-settings",
        "description": "Dynamic table endpoint for 'wholesale_location_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleLocationSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale location settings",
        "operationId": "postApiV1CustomersWholesale-location-settings",
        "description": "Dynamic table endpoint for 'wholesale_location_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleLocationSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale location settings",
        "operationId": "deleteApiV1CustomersWholesale-location-settings",
        "description": "Dynamic table endpoint for 'wholesale_location_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleLocationSettings"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleLocationSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleLocationSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-order-items": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale order items",
        "operationId": "getApiV1CustomersWholesale-order-items",
        "description": "Dynamic table endpoint for 'wholesale_order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale order items",
        "operationId": "putApiV1CustomersWholesale-order-items",
        "description": "Dynamic table endpoint for 'wholesale_order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale order items",
        "operationId": "patchApiV1CustomersWholesale-order-items",
        "description": "Dynamic table endpoint for 'wholesale_order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale order items",
        "operationId": "postApiV1CustomersWholesale-order-items",
        "description": "Dynamic table endpoint for 'wholesale_order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale order items",
        "operationId": "deleteApiV1CustomersWholesale-order-items",
        "description": "Dynamic table endpoint for 'wholesale_order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleOrderItems"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-order-reminder-outbox": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale order reminder outbox",
        "operationId": "getApiV1CustomersWholesale-order-reminder-outbox",
        "description": "Dynamic table endpoint for 'wholesale_order_reminder_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale order reminder outbox",
        "operationId": "putApiV1CustomersWholesale-order-reminder-outbox",
        "description": "Dynamic table endpoint for 'wholesale_order_reminder_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale order reminder outbox",
        "operationId": "patchApiV1CustomersWholesale-order-reminder-outbox",
        "description": "Dynamic table endpoint for 'wholesale_order_reminder_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale order reminder outbox",
        "operationId": "postApiV1CustomersWholesale-order-reminder-outbox",
        "description": "Dynamic table endpoint for 'wholesale_order_reminder_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale order reminder outbox",
        "operationId": "deleteApiV1CustomersWholesale-order-reminder-outbox",
        "description": "Dynamic table endpoint for 'wholesale_order_reminder_outbox'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderReminderOutbox"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-order-templates": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale order templates",
        "operationId": "getApiV1CustomersWholesale-order-templates",
        "description": "Dynamic table endpoint for 'wholesale_order_templates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale order templates",
        "operationId": "putApiV1CustomersWholesale-order-templates",
        "description": "Dynamic table endpoint for 'wholesale_order_templates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderTemplates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale order templates",
        "operationId": "patchApiV1CustomersWholesale-order-templates",
        "description": "Dynamic table endpoint for 'wholesale_order_templates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderTemplates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale order templates",
        "operationId": "postApiV1CustomersWholesale-order-templates",
        "description": "Dynamic table endpoint for 'wholesale_order_templates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderTemplates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale order templates",
        "operationId": "deleteApiV1CustomersWholesale-order-templates",
        "description": "Dynamic table endpoint for 'wholesale_order_templates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleOrderTemplates"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrderTemplates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrderTemplates"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-orders": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale orders",
        "operationId": "getApiV1CustomersWholesale-orders",
        "description": "Dynamic table endpoint for 'wholesale_orders'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale orders",
        "operationId": "putApiV1CustomersWholesale-orders",
        "description": "Dynamic table endpoint for 'wholesale_orders'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrders"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale orders",
        "operationId": "patchApiV1CustomersWholesale-orders",
        "description": "Dynamic table endpoint for 'wholesale_orders'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrders"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale orders",
        "operationId": "postApiV1CustomersWholesale-orders",
        "description": "Dynamic table endpoint for 'wholesale_orders'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrders"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale orders",
        "operationId": "deleteApiV1CustomersWholesale-orders",
        "description": "Dynamic table endpoint for 'wholesale_orders'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleOrders"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleOrders"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleOrders"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-payment-terms": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale payment terms",
        "operationId": "getApiV1CustomersWholesale-payment-terms",
        "description": "Dynamic table endpoint for 'wholesale_payment_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale payment terms",
        "operationId": "putApiV1CustomersWholesale-payment-terms",
        "description": "Dynamic table endpoint for 'wholesale_payment_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale payment terms",
        "operationId": "patchApiV1CustomersWholesale-payment-terms",
        "description": "Dynamic table endpoint for 'wholesale_payment_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale payment terms",
        "operationId": "postApiV1CustomersWholesale-payment-terms",
        "description": "Dynamic table endpoint for 'wholesale_payment_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-payment-methods": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale payment methods",
        "operationId": "getApiV1CustomersWholesale-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale payment methods",
        "operationId": "putApiV1CustomersWholesale-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale payment methods",
        "operationId": "patchApiV1CustomersWholesale-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale payment methods",
        "operationId": "postApiV1CustomersWholesale-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale payment methods",
        "operationId": "deleteApiV1CustomersWholesale-payment-methods",
        "description": "Dynamic table endpoint for 'wholesale_payment_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesalePaymentMethods"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-payment-profiles": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale payment profiles",
        "operationId": "getApiV1CustomersWholesale-payment-profiles",
        "description": "Dynamic table endpoint for 'wholesale_payment_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale payment profiles",
        "operationId": "putApiV1CustomersWholesale-payment-profiles",
        "description": "Dynamic table endpoint for 'wholesale_payment_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale payment profiles",
        "operationId": "patchApiV1CustomersWholesale-payment-profiles",
        "description": "Dynamic table endpoint for 'wholesale_payment_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale payment profiles",
        "operationId": "postApiV1CustomersWholesale-payment-profiles",
        "description": "Dynamic table endpoint for 'wholesale_payment_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesalePaymentProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesalePaymentProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale-settings": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List wholesale settings",
        "operationId": "getApiV1CustomersWholesale-settings",
        "description": "Dynamic table endpoint for 'wholesale_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). PUT uses upsert semantics (insert or update).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale settings",
        "operationId": "putApiV1CustomersWholesale-settings",
        "description": "Dynamic table endpoint for 'wholesale_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). PUT uses upsert semantics (insert or update).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update wholesale settings",
        "operationId": "patchApiV1CustomersWholesale-settings",
        "description": "Dynamic table endpoint for 'wholesale_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). PUT uses upsert semantics (insert or update).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert wholesale settings",
        "operationId": "postApiV1CustomersWholesale-settings",
        "description": "Dynamic table endpoint for 'wholesale_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). PUT uses upsert semantics (insert or update).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete wholesale settings",
        "operationId": "deleteApiV1CustomersWholesale-settings",
        "description": "Dynamic table endpoint for 'wholesale_settings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). PUT uses upsert semantics (insert or update).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleSettings"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/WholesaleSettings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/WholesaleSettings"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/equipment-assets": {
      "get": {
        "tags": [
          "equipment"
        ],
        "summary": "List equipment assets",
        "operationId": "getApiV1EquipmentEquipment-assets",
        "description": "Dynamic table endpoint for 'equipment_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "equipment"
        ],
        "summary": "Insert equipment assets",
        "operationId": "putApiV1EquipmentEquipment-assets",
        "description": "Dynamic table endpoint for 'equipment_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "equipment"
        ],
        "summary": "Update equipment assets",
        "operationId": "patchApiV1EquipmentEquipment-assets",
        "description": "Dynamic table endpoint for 'equipment_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert equipment assets",
        "operationId": "postApiV1EquipmentEquipment-assets",
        "description": "Dynamic table endpoint for 'equipment_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/equipment-checklists": {
      "get": {
        "tags": [
          "equipment"
        ],
        "summary": "List equipment checklists",
        "operationId": "getApiV1EquipmentEquipment-checklists",
        "description": "Dynamic table endpoint for 'equipment_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "equipment"
        ],
        "summary": "Insert equipment checklists",
        "operationId": "putApiV1EquipmentEquipment-checklists",
        "description": "Dynamic table endpoint for 'equipment_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "equipment"
        ],
        "summary": "Update equipment checklists",
        "operationId": "patchApiV1EquipmentEquipment-checklists",
        "description": "Dynamic table endpoint for 'equipment_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert equipment checklists",
        "operationId": "postApiV1EquipmentEquipment-checklists",
        "description": "Dynamic table endpoint for 'equipment_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "equipment"
        ],
        "summary": "Delete equipment checklists",
        "operationId": "deleteApiV1EquipmentEquipment-checklists",
        "description": "Dynamic table endpoint for 'equipment_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EquipmentChecklists"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/equipment-files": {
      "get": {
        "tags": [
          "equipment"
        ],
        "summary": "List equipment files",
        "operationId": "getApiV1EquipmentEquipment-files",
        "description": "Dynamic table endpoint for 'equipment_files'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "equipment"
        ],
        "summary": "Insert equipment files",
        "operationId": "putApiV1EquipmentEquipment-files",
        "description": "Dynamic table endpoint for 'equipment_files'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentFiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "equipment"
        ],
        "summary": "Update equipment files",
        "operationId": "patchApiV1EquipmentEquipment-files",
        "description": "Dynamic table endpoint for 'equipment_files'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentFiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert equipment files",
        "operationId": "postApiV1EquipmentEquipment-files",
        "description": "Dynamic table endpoint for 'equipment_files'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentFiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "equipment"
        ],
        "summary": "Delete equipment files",
        "operationId": "deleteApiV1EquipmentEquipment-files",
        "description": "Dynamic table endpoint for 'equipment_files'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EquipmentFiles"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentFiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentFiles"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/equipment-maintenance-logs": {
      "get": {
        "tags": [
          "equipment"
        ],
        "summary": "List equipment maintenance logs",
        "operationId": "getApiV1EquipmentEquipment-maintenance-logs",
        "description": "Dynamic table endpoint for 'equipment_maintenance_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "equipment"
        ],
        "summary": "Insert equipment maintenance logs",
        "operationId": "putApiV1EquipmentEquipment-maintenance-logs",
        "description": "Dynamic table endpoint for 'equipment_maintenance_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "equipment"
        ],
        "summary": "Update equipment maintenance logs",
        "operationId": "patchApiV1EquipmentEquipment-maintenance-logs",
        "description": "Dynamic table endpoint for 'equipment_maintenance_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert equipment maintenance logs",
        "operationId": "postApiV1EquipmentEquipment-maintenance-logs",
        "description": "Dynamic table endpoint for 'equipment_maintenance_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "equipment"
        ],
        "summary": "Delete equipment maintenance logs",
        "operationId": "deleteApiV1EquipmentEquipment-maintenance-logs",
        "description": "Dynamic table endpoint for 'equipment_maintenance_logs'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentMaintenanceLogs"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/equipment-notes": {
      "get": {
        "tags": [
          "equipment"
        ],
        "summary": "List equipment notes",
        "operationId": "getApiV1EquipmentEquipment-notes",
        "description": "Dynamic table endpoint for 'equipment_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "equipment"
        ],
        "summary": "Insert equipment notes",
        "operationId": "putApiV1EquipmentEquipment-notes",
        "description": "Dynamic table endpoint for 'equipment_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "equipment"
        ],
        "summary": "Update equipment notes",
        "operationId": "patchApiV1EquipmentEquipment-notes",
        "description": "Dynamic table endpoint for 'equipment_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert equipment notes",
        "operationId": "postApiV1EquipmentEquipment-notes",
        "description": "Dynamic table endpoint for 'equipment_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "equipment"
        ],
        "summary": "Delete equipment notes",
        "operationId": "deleteApiV1EquipmentEquipment-notes",
        "description": "Dynamic table endpoint for 'equipment_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EquipmentNotes"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/EquipmentNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EquipmentNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/core-values": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List core values",
        "operationId": "getApiV1LearnCore-values",
        "description": "Dynamic table endpoint for 'core_values'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CoreValues"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert core values",
        "operationId": "putApiV1LearnCore-values",
        "description": "Dynamic table endpoint for 'core_values'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CoreValues"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CoreValues"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CoreValues"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update core values",
        "operationId": "patchApiV1LearnCore-values",
        "description": "Dynamic table endpoint for 'core_values'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CoreValues"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CoreValues"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CoreValues"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert core values",
        "operationId": "postApiV1LearnCore-values",
        "description": "Dynamic table endpoint for 'core_values'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CoreValues"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CoreValues"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CoreValues"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-assets": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge assets",
        "operationId": "getApiV1LearnKnowledge-assets",
        "description": "Dynamic table endpoint for 'knowledge_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge assets",
        "operationId": "putApiV1LearnKnowledge-assets",
        "description": "Dynamic table endpoint for 'knowledge_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge assets",
        "operationId": "patchApiV1LearnKnowledge-assets",
        "description": "Dynamic table endpoint for 'knowledge_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge assets",
        "operationId": "postApiV1LearnKnowledge-assets",
        "description": "Dynamic table endpoint for 'knowledge_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-broken-links": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge broken links",
        "operationId": "getApiV1LearnKnowledge-broken-links",
        "description": "Dynamic table endpoint for 'knowledge_broken_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge broken links",
        "operationId": "putApiV1LearnKnowledge-broken-links",
        "description": "Dynamic table endpoint for 'knowledge_broken_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge broken links",
        "operationId": "patchApiV1LearnKnowledge-broken-links",
        "description": "Dynamic table endpoint for 'knowledge_broken_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge broken links",
        "operationId": "postApiV1LearnKnowledge-broken-links",
        "description": "Dynamic table endpoint for 'knowledge_broken_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge broken links",
        "operationId": "deleteApiV1LearnKnowledge-broken-links",
        "description": "Dynamic table endpoint for 'knowledge_broken_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeBrokenLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-categories": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge categories",
        "operationId": "getApiV1LearnKnowledge-categories",
        "description": "Dynamic table endpoint for 'knowledge_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge categories",
        "operationId": "putApiV1LearnKnowledge-categories",
        "description": "Dynamic table endpoint for 'knowledge_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge categories",
        "operationId": "patchApiV1LearnKnowledge-categories",
        "description": "Dynamic table endpoint for 'knowledge_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge categories",
        "operationId": "postApiV1LearnKnowledge-categories",
        "description": "Dynamic table endpoint for 'knowledge_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-discussion-comments": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge discussion comments",
        "operationId": "getApiV1LearnKnowledge-discussion-comments",
        "description": "Dynamic table endpoint for 'knowledge_discussion_comments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge discussion comments",
        "operationId": "putApiV1LearnKnowledge-discussion-comments",
        "description": "Dynamic table endpoint for 'knowledge_discussion_comments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge discussion comments",
        "operationId": "patchApiV1LearnKnowledge-discussion-comments",
        "description": "Dynamic table endpoint for 'knowledge_discussion_comments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge discussion comments",
        "operationId": "postApiV1LearnKnowledge-discussion-comments",
        "description": "Dynamic table endpoint for 'knowledge_discussion_comments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge discussion comments",
        "operationId": "deleteApiV1LearnKnowledge-discussion-comments",
        "description": "Dynamic table endpoint for 'knowledge_discussion_comments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussionComments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-discussions": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge discussions",
        "operationId": "getApiV1LearnKnowledge-discussions",
        "description": "Dynamic table endpoint for 'knowledge_discussions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge discussions",
        "operationId": "putApiV1LearnKnowledge-discussions",
        "description": "Dynamic table endpoint for 'knowledge_discussions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge discussions",
        "operationId": "patchApiV1LearnKnowledge-discussions",
        "description": "Dynamic table endpoint for 'knowledge_discussions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge discussions",
        "operationId": "postApiV1LearnKnowledge-discussions",
        "description": "Dynamic table endpoint for 'knowledge_discussions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge discussions",
        "operationId": "deleteApiV1LearnKnowledge-discussions",
        "description": "Dynamic table endpoint for 'knowledge_discussions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeDiscussions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDiscussions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDiscussions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-duplicate-candidates": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge duplicate candidates",
        "operationId": "getApiV1LearnKnowledge-duplicate-candidates",
        "description": "Dynamic table endpoint for 'knowledge_duplicate_candidates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge duplicate candidates",
        "operationId": "putApiV1LearnKnowledge-duplicate-candidates",
        "description": "Dynamic table endpoint for 'knowledge_duplicate_candidates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge duplicate candidates",
        "operationId": "patchApiV1LearnKnowledge-duplicate-candidates",
        "description": "Dynamic table endpoint for 'knowledge_duplicate_candidates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge duplicate candidates",
        "operationId": "postApiV1LearnKnowledge-duplicate-candidates",
        "description": "Dynamic table endpoint for 'knowledge_duplicate_candidates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge duplicate candidates",
        "operationId": "deleteApiV1LearnKnowledge-duplicate-candidates",
        "description": "Dynamic table endpoint for 'knowledge_duplicate_candidates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeDuplicateCandidates"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-mentions": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge mentions",
        "operationId": "getApiV1LearnKnowledge-mentions",
        "description": "Dynamic table endpoint for 'knowledge_mentions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge mentions",
        "operationId": "putApiV1LearnKnowledge-mentions",
        "description": "Dynamic table endpoint for 'knowledge_mentions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeMentions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge mentions",
        "operationId": "patchApiV1LearnKnowledge-mentions",
        "description": "Dynamic table endpoint for 'knowledge_mentions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeMentions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge mentions",
        "operationId": "postApiV1LearnKnowledge-mentions",
        "description": "Dynamic table endpoint for 'knowledge_mentions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeMentions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge mentions",
        "operationId": "deleteApiV1LearnKnowledge-mentions",
        "description": "Dynamic table endpoint for 'knowledge_mentions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeMentions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeMentions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeMentions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-activity": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page activity",
        "operationId": "getApiV1LearnKnowledge-page-activity",
        "description": "Dynamic table endpoint for 'knowledge_page_activity_log'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page activity",
        "operationId": "putApiV1LearnKnowledge-page-activity",
        "description": "Dynamic table endpoint for 'knowledge_page_activity_log'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageActivityLog"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page activity",
        "operationId": "patchApiV1LearnKnowledge-page-activity",
        "description": "Dynamic table endpoint for 'knowledge_page_activity_log'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageActivityLog"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page activity",
        "operationId": "postApiV1LearnKnowledge-page-activity",
        "description": "Dynamic table endpoint for 'knowledge_page_activity_log'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageActivityLog"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page activity",
        "operationId": "deleteApiV1LearnKnowledge-page-activity",
        "description": "Dynamic table endpoint for 'knowledge_page_activity_log'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageActivityLog"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageActivityLog"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageActivityLog"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-aliases": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page aliases",
        "operationId": "getApiV1LearnKnowledge-page-aliases",
        "description": "Dynamic table endpoint for 'knowledge_page_aliases'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page aliases",
        "operationId": "putApiV1LearnKnowledge-page-aliases",
        "description": "Dynamic table endpoint for 'knowledge_page_aliases'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAliases"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page aliases",
        "operationId": "patchApiV1LearnKnowledge-page-aliases",
        "description": "Dynamic table endpoint for 'knowledge_page_aliases'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAliases"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page aliases",
        "operationId": "postApiV1LearnKnowledge-page-aliases",
        "description": "Dynamic table endpoint for 'knowledge_page_aliases'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAliases"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page aliases",
        "operationId": "deleteApiV1LearnKnowledge-page-aliases",
        "description": "Dynamic table endpoint for 'knowledge_page_aliases'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageAliases"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAliases"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAliases"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-assets": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page assets",
        "operationId": "getApiV1LearnKnowledge-page-assets",
        "description": "Dynamic table endpoint for 'knowledge_page_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page assets",
        "operationId": "putApiV1LearnKnowledge-page-assets",
        "description": "Dynamic table endpoint for 'knowledge_page_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page assets",
        "operationId": "patchApiV1LearnKnowledge-page-assets",
        "description": "Dynamic table endpoint for 'knowledge_page_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page assets",
        "operationId": "postApiV1LearnKnowledge-page-assets",
        "description": "Dynamic table endpoint for 'knowledge_page_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page assets",
        "operationId": "deleteApiV1LearnKnowledge-page-assets",
        "description": "Dynamic table endpoint for 'knowledge_page_assets'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageAssets"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageAssets"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageAssets"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-backlinks": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page backlinks",
        "operationId": "getApiV1LearnKnowledge-page-backlinks",
        "description": "Dynamic table endpoint for 'knowledge_page_backlinks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page backlinks",
        "operationId": "putApiV1LearnKnowledge-page-backlinks",
        "description": "Dynamic table endpoint for 'knowledge_page_backlinks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageBacklinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page backlinks",
        "operationId": "patchApiV1LearnKnowledge-page-backlinks",
        "description": "Dynamic table endpoint for 'knowledge_page_backlinks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageBacklinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page backlinks",
        "operationId": "postApiV1LearnKnowledge-page-backlinks",
        "description": "Dynamic table endpoint for 'knowledge_page_backlinks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageBacklinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageBacklinks"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-links": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page links",
        "operationId": "getApiV1LearnKnowledge-page-links",
        "description": "Dynamic table endpoint for 'knowledge_page_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page links",
        "operationId": "putApiV1LearnKnowledge-page-links",
        "description": "Dynamic table endpoint for 'knowledge_page_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page links",
        "operationId": "patchApiV1LearnKnowledge-page-links",
        "description": "Dynamic table endpoint for 'knowledge_page_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page links",
        "operationId": "postApiV1LearnKnowledge-page-links",
        "description": "Dynamic table endpoint for 'knowledge_page_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page links",
        "operationId": "deleteApiV1LearnKnowledge-page-links",
        "description": "Dynamic table endpoint for 'knowledge_page_links'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageLinks"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageLinks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageLinks"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-relationships": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page relationships",
        "operationId": "getApiV1LearnKnowledge-page-relationships",
        "description": "Dynamic table endpoint for 'knowledge_page_relationships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page relationships",
        "operationId": "putApiV1LearnKnowledge-page-relationships",
        "description": "Dynamic table endpoint for 'knowledge_page_relationships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageRelationships"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page relationships",
        "operationId": "patchApiV1LearnKnowledge-page-relationships",
        "description": "Dynamic table endpoint for 'knowledge_page_relationships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageRelationships"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page relationships",
        "operationId": "postApiV1LearnKnowledge-page-relationships",
        "description": "Dynamic table endpoint for 'knowledge_page_relationships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageRelationships"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page relationships",
        "operationId": "deleteApiV1LearnKnowledge-page-relationships",
        "description": "Dynamic table endpoint for 'knowledge_page_relationships'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageRelationships"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageRelationships"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageRelationships"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-review-assignments": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page review assignments",
        "operationId": "getApiV1LearnKnowledge-page-review-assignments",
        "description": "Dynamic table endpoint for 'knowledge_page_review_assignments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page review assignments",
        "operationId": "putApiV1LearnKnowledge-page-review-assignments",
        "description": "Dynamic table endpoint for 'knowledge_page_review_assignments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page review assignments",
        "operationId": "patchApiV1LearnKnowledge-page-review-assignments",
        "description": "Dynamic table endpoint for 'knowledge_page_review_assignments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page review assignments",
        "operationId": "postApiV1LearnKnowledge-page-review-assignments",
        "description": "Dynamic table endpoint for 'knowledge_page_review_assignments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page review assignments",
        "operationId": "deleteApiV1LearnKnowledge-page-review-assignments",
        "description": "Dynamic table endpoint for 'knowledge_page_review_assignments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviewAssignments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-reviews": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page reviews",
        "operationId": "getApiV1LearnKnowledge-page-reviews",
        "description": "Dynamic table endpoint for 'knowledge_page_reviews'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page reviews",
        "operationId": "putApiV1LearnKnowledge-page-reviews",
        "description": "Dynamic table endpoint for 'knowledge_page_reviews'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviews"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page reviews",
        "operationId": "patchApiV1LearnKnowledge-page-reviews",
        "description": "Dynamic table endpoint for 'knowledge_page_reviews'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviews"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page reviews",
        "operationId": "postApiV1LearnKnowledge-page-reviews",
        "description": "Dynamic table endpoint for 'knowledge_page_reviews'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviews"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page reviews",
        "operationId": "deleteApiV1LearnKnowledge-page-reviews",
        "description": "Dynamic table endpoint for 'knowledge_page_reviews'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageReviews"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageReviews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageReviews"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-search-index": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page search index",
        "operationId": "getApiV1LearnKnowledge-page-search-index",
        "description": "Dynamic table endpoint for 'knowledge_page_search_index'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page search index",
        "operationId": "putApiV1LearnKnowledge-page-search-index",
        "description": "Dynamic table endpoint for 'knowledge_page_search_index'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page search index",
        "operationId": "patchApiV1LearnKnowledge-page-search-index",
        "description": "Dynamic table endpoint for 'knowledge_page_search_index'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page search index",
        "operationId": "postApiV1LearnKnowledge-page-search-index",
        "description": "Dynamic table endpoint for 'knowledge_page_search_index'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageSearchIndex"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-tags": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page tags",
        "operationId": "getApiV1LearnKnowledge-page-tags",
        "description": "Dynamic table endpoint for 'knowledge_page_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). DELETE requires composite key (page_id + tag_id) instead of id.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page tags",
        "operationId": "putApiV1LearnKnowledge-page-tags",
        "description": "Dynamic table endpoint for 'knowledge_page_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). DELETE requires composite key (page_id + tag_id) instead of id.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageTags"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page tags",
        "operationId": "patchApiV1LearnKnowledge-page-tags",
        "description": "Dynamic table endpoint for 'knowledge_page_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). DELETE requires composite key (page_id + tag_id) instead of id.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageTags"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page tags",
        "operationId": "postApiV1LearnKnowledge-page-tags",
        "description": "Dynamic table endpoint for 'knowledge_page_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). DELETE requires composite key (page_id + tag_id) instead of id.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageTags"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page tags",
        "operationId": "deleteApiV1LearnKnowledge-page-tags",
        "description": "Dynamic table endpoint for 'knowledge_page_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). DELETE requires composite key (page_id + tag_id) instead of id.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageTags"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageTags"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-versions": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page versions",
        "operationId": "getApiV1LearnKnowledge-page-versions",
        "description": "Dynamic table endpoint for 'knowledge_page_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page versions",
        "operationId": "putApiV1LearnKnowledge-page-versions",
        "description": "Dynamic table endpoint for 'knowledge_page_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page versions",
        "operationId": "patchApiV1LearnKnowledge-page-versions",
        "description": "Dynamic table endpoint for 'knowledge_page_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page versions",
        "operationId": "postApiV1LearnKnowledge-page-versions",
        "description": "Dynamic table endpoint for 'knowledge_page_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-page-views": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge page views",
        "operationId": "getApiV1LearnKnowledge-page-views",
        "description": "Dynamic table endpoint for 'knowledge_page_views'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge page views",
        "operationId": "putApiV1LearnKnowledge-page-views",
        "description": "Dynamic table endpoint for 'knowledge_page_views'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageViews"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge page views",
        "operationId": "patchApiV1LearnKnowledge-page-views",
        "description": "Dynamic table endpoint for 'knowledge_page_views'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageViews"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge page views",
        "operationId": "postApiV1LearnKnowledge-page-views",
        "description": "Dynamic table endpoint for 'knowledge_page_views'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageViews"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge page views",
        "operationId": "deleteApiV1LearnKnowledge-page-views",
        "description": "Dynamic table endpoint for 'knowledge_page_views'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgePageViews"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePageViews"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePageViews"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-pages": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge pages",
        "operationId": "getApiV1LearnKnowledge-pages",
        "description": "Dynamic table endpoint for 'knowledge_pages'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePages"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge pages",
        "operationId": "putApiV1LearnKnowledge-pages",
        "description": "Dynamic table endpoint for 'knowledge_pages'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePages"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePages"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePages"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge pages",
        "operationId": "patchApiV1LearnKnowledge-pages",
        "description": "Dynamic table endpoint for 'knowledge_pages'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePages"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePages"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePages"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge pages",
        "operationId": "postApiV1LearnKnowledge-pages",
        "description": "Dynamic table endpoint for 'knowledge_pages'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgePages"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgePages"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgePages"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-recent-updates": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge recent updates",
        "operationId": "getApiV1LearnKnowledge-recent-updates",
        "description": "Dynamic table endpoint for 'knowledge_recent_updates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge recent updates",
        "operationId": "putApiV1LearnKnowledge-recent-updates",
        "description": "Dynamic table endpoint for 'knowledge_recent_updates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge recent updates",
        "operationId": "patchApiV1LearnKnowledge-recent-updates",
        "description": "Dynamic table endpoint for 'knowledge_recent_updates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge recent updates",
        "operationId": "postApiV1LearnKnowledge-recent-updates",
        "description": "Dynamic table endpoint for 'knowledge_recent_updates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeRecentUpdates"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-search-queries": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge search queries",
        "operationId": "getApiV1LearnKnowledge-search-queries",
        "description": "Dynamic table endpoint for 'knowledge_search_queries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge search queries",
        "operationId": "putApiV1LearnKnowledge-search-queries",
        "description": "Dynamic table endpoint for 'knowledge_search_queries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchQueries"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge search queries",
        "operationId": "patchApiV1LearnKnowledge-search-queries",
        "description": "Dynamic table endpoint for 'knowledge_search_queries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchQueries"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge search queries",
        "operationId": "postApiV1LearnKnowledge-search-queries",
        "description": "Dynamic table endpoint for 'knowledge_search_queries'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchQueries"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchQueries"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-search-query-summary": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge search query summary",
        "operationId": "getApiV1LearnKnowledge-search-query-summary",
        "description": "Dynamic table endpoint for 'knowledge_search_query_summary'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge search query summary",
        "operationId": "putApiV1LearnKnowledge-search-query-summary",
        "description": "Dynamic table endpoint for 'knowledge_search_query_summary'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge search query summary",
        "operationId": "patchApiV1LearnKnowledge-search-query-summary",
        "description": "Dynamic table endpoint for 'knowledge_search_query_summary'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge search query summary",
        "operationId": "postApiV1LearnKnowledge-search-query-summary",
        "description": "Dynamic table endpoint for 'knowledge_search_query_summary'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchQuerySummary"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-search-synonyms": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge search synonyms",
        "operationId": "getApiV1LearnKnowledge-search-synonyms",
        "description": "Dynamic table endpoint for 'knowledge_search_synonyms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge search synonyms",
        "operationId": "putApiV1LearnKnowledge-search-synonyms",
        "description": "Dynamic table endpoint for 'knowledge_search_synonyms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge search synonyms",
        "operationId": "patchApiV1LearnKnowledge-search-synonyms",
        "description": "Dynamic table endpoint for 'knowledge_search_synonyms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge search synonyms",
        "operationId": "postApiV1LearnKnowledge-search-synonyms",
        "description": "Dynamic table endpoint for 'knowledge_search_synonyms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge search synonyms",
        "operationId": "deleteApiV1LearnKnowledge-search-synonyms",
        "description": "Dynamic table endpoint for 'knowledge_search_synonyms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchSynonyms"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-search-terms": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge search terms",
        "operationId": "getApiV1LearnKnowledge-search-terms",
        "description": "Dynamic table endpoint for 'knowledge_search_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge search terms",
        "operationId": "putApiV1LearnKnowledge-search-terms",
        "description": "Dynamic table endpoint for 'knowledge_search_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge search terms",
        "operationId": "patchApiV1LearnKnowledge-search-terms",
        "description": "Dynamic table endpoint for 'knowledge_search_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge search terms",
        "operationId": "postApiV1LearnKnowledge-search-terms",
        "description": "Dynamic table endpoint for 'knowledge_search_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge search terms",
        "operationId": "deleteApiV1LearnKnowledge-search-terms",
        "description": "Dynamic table endpoint for 'knowledge_search_terms'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSearchTerms"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeSearchTerms"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeSearchTerms"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-tags": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge tags",
        "operationId": "getApiV1LearnKnowledge-tags",
        "description": "Dynamic table endpoint for 'knowledge_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert knowledge tags",
        "operationId": "putApiV1LearnKnowledge-tags",
        "description": "Dynamic table endpoint for 'knowledge_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeTags"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update knowledge tags",
        "operationId": "patchApiV1LearnKnowledge-tags",
        "description": "Dynamic table endpoint for 'knowledge_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeTags"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge tags",
        "operationId": "postApiV1LearnKnowledge-tags",
        "description": "Dynamic table endpoint for 'knowledge_tags'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KnowledgeTags"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/KnowledgeTags"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/ai-skill-library": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List ai skill library",
        "operationId": "getApiV1LearnAi-skill-library",
        "description": "Dynamic table endpoint for 'ai_skill_library'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert ai skill library",
        "operationId": "putApiV1LearnAi-skill-library",
        "description": "Dynamic table endpoint for 'ai_skill_library'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AiSkillLibrary"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update ai skill library",
        "operationId": "patchApiV1LearnAi-skill-library",
        "description": "Dynamic table endpoint for 'ai_skill_library'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AiSkillLibrary"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert ai skill library",
        "operationId": "postApiV1LearnAi-skill-library",
        "description": "Dynamic table endpoint for 'ai_skill_library'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/AiSkillLibrary"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AiSkillLibrary"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/quiz-answer-options": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List quiz answer options",
        "operationId": "getApiV1LearnQuiz-answer-options",
        "description": "Dynamic table endpoint for 'quiz_answer_options'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert quiz answer options",
        "operationId": "putApiV1LearnQuiz-answer-options",
        "description": "Dynamic table endpoint for 'quiz_answer_options'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizAnswerOptions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update quiz answer options",
        "operationId": "patchApiV1LearnQuiz-answer-options",
        "description": "Dynamic table endpoint for 'quiz_answer_options'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizAnswerOptions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert quiz answer options",
        "operationId": "postApiV1LearnQuiz-answer-options",
        "description": "Dynamic table endpoint for 'quiz_answer_options'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizAnswerOptions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete quiz answer options",
        "operationId": "deleteApiV1LearnQuiz-answer-options",
        "description": "Dynamic table endpoint for 'quiz_answer_options'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuizAnswerOptions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizAnswerOptions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizAnswerOptions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/quiz-questions": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List quiz questions",
        "operationId": "getApiV1LearnQuiz-questions",
        "description": "Dynamic table endpoint for 'quiz_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert quiz questions",
        "operationId": "putApiV1LearnQuiz-questions",
        "description": "Dynamic table endpoint for 'quiz_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update quiz questions",
        "operationId": "patchApiV1LearnQuiz-questions",
        "description": "Dynamic table endpoint for 'quiz_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert quiz questions",
        "operationId": "postApiV1LearnQuiz-questions",
        "description": "Dynamic table endpoint for 'quiz_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QuizQuestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete quiz questions",
        "operationId": "deleteApiV1LearnQuiz-questions",
        "description": "Dynamic table endpoint for 'quiz_questions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuizQuestions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/QuizQuestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/QuizQuestions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/training-courses": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List training courses",
        "operationId": "getApiV1LearnTraining-courses",
        "description": "Dynamic table endpoint for 'training_courses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingCourses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert training courses",
        "operationId": "putApiV1LearnTraining-courses",
        "description": "Dynamic table endpoint for 'training_courses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingCourses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingCourses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingCourses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update training courses",
        "operationId": "patchApiV1LearnTraining-courses",
        "description": "Dynamic table endpoint for 'training_courses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingCourses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingCourses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingCourses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert training courses",
        "operationId": "postApiV1LearnTraining-courses",
        "description": "Dynamic table endpoint for 'training_courses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingCourses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingCourses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingCourses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete training courses",
        "operationId": "deleteApiV1LearnTraining-courses",
        "description": "Dynamic table endpoint for 'training_courses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrainingCourses"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingCourses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingCourses"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/training-modules": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List training modules",
        "operationId": "getApiV1LearnTraining-modules",
        "description": "Dynamic table endpoint for 'training_modules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingModules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert training modules",
        "operationId": "putApiV1LearnTraining-modules",
        "description": "Dynamic table endpoint for 'training_modules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingModules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingModules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingModules"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update training modules",
        "operationId": "patchApiV1LearnTraining-modules",
        "description": "Dynamic table endpoint for 'training_modules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingModules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingModules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingModules"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert training modules",
        "operationId": "postApiV1LearnTraining-modules",
        "description": "Dynamic table endpoint for 'training_modules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrainingModules"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingModules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingModules"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete training modules",
        "operationId": "deleteApiV1LearnTraining-modules",
        "description": "Dynamic table endpoint for 'training_modules'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrainingModules"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TrainingModules"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TrainingModules"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/user-course-progress": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List user course progress",
        "operationId": "getApiV1LearnUser-course-progress",
        "description": "Dynamic table endpoint for 'user_course_progress'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert user course progress",
        "operationId": "putApiV1LearnUser-course-progress",
        "description": "Dynamic table endpoint for 'user_course_progress'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserCourseProgress"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update user course progress",
        "operationId": "patchApiV1LearnUser-course-progress",
        "description": "Dynamic table endpoint for 'user_course_progress'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserCourseProgress"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert user course progress",
        "operationId": "postApiV1LearnUser-course-progress",
        "description": "Dynamic table endpoint for 'user_course_progress'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserCourseProgress"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserCourseProgress"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/user-quiz-answers": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List user quiz answers",
        "operationId": "getApiV1LearnUser-quiz-answers",
        "description": "Dynamic table endpoint for 'user_quiz_answers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert user quiz answers",
        "operationId": "putApiV1LearnUser-quiz-answers",
        "description": "Dynamic table endpoint for 'user_quiz_answers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserQuizAnswers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update user quiz answers",
        "operationId": "patchApiV1LearnUser-quiz-answers",
        "description": "Dynamic table endpoint for 'user_quiz_answers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserQuizAnswers"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert user quiz answers",
        "operationId": "postApiV1LearnUser-quiz-answers",
        "description": "Dynamic table endpoint for 'user_quiz_answers'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserQuizAnswers"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserQuizAnswers"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/user-quiz-attempts": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List user quiz attempts",
        "operationId": "getApiV1LearnUser-quiz-attempts",
        "description": "Dynamic table endpoint for 'user_quiz_attempts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "learn"
        ],
        "summary": "Insert user quiz attempts",
        "operationId": "putApiV1LearnUser-quiz-attempts",
        "description": "Dynamic table endpoint for 'user_quiz_attempts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserQuizAttempts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "learn"
        ],
        "summary": "Update user quiz attempts",
        "operationId": "patchApiV1LearnUser-quiz-attempts",
        "description": "Dynamic table endpoint for 'user_quiz_attempts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserQuizAttempts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert user quiz attempts",
        "operationId": "postApiV1LearnUser-quiz-attempts",
        "description": "Dynamic table endpoint for 'user_quiz_attempts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserQuizAttempts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserQuizAttempts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal-transfer-fulfillment-lines": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List internal transfer fulfillment lines",
        "operationId": "getApiV1OrderInternal-transfer-fulfillment-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillment_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert internal transfer fulfillment lines",
        "operationId": "putApiV1OrderInternal-transfer-fulfillment-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillment_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update internal transfer fulfillment lines",
        "operationId": "patchApiV1OrderInternal-transfer-fulfillment-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillment_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert internal transfer fulfillment lines",
        "operationId": "postApiV1OrderInternal-transfer-fulfillment-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillment_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferFulfillmentLines"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal-transfer-fulfillments": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List internal transfer fulfillments",
        "operationId": "getApiV1OrderInternal-transfer-fulfillments",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert internal transfer fulfillments",
        "operationId": "putApiV1OrderInternal-transfer-fulfillments",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferFulfillments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update internal transfer fulfillments",
        "operationId": "patchApiV1OrderInternal-transfer-fulfillments",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferFulfillments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert internal transfer fulfillments",
        "operationId": "postApiV1OrderInternal-transfer-fulfillments",
        "description": "Dynamic table endpoint for 'internal_transfer_fulfillments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferFulfillments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferFulfillments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal-transfer-receipt-lines": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List internal transfer receipt lines",
        "operationId": "getApiV1OrderInternal-transfer-receipt-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_receipt_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert internal transfer receipt lines",
        "operationId": "putApiV1OrderInternal-transfer-receipt-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_receipt_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReceiptLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update internal transfer receipt lines",
        "operationId": "patchApiV1OrderInternal-transfer-receipt-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_receipt_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReceiptLines"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert internal transfer receipt lines",
        "operationId": "postApiV1OrderInternal-transfer-receipt-lines",
        "description": "Dynamic table endpoint for 'internal_transfer_receipt_lines'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReceiptLines"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReceiptLines"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal-transfer-receipts": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List internal transfer receipts",
        "operationId": "getApiV1OrderInternal-transfer-receipts",
        "description": "Dynamic table endpoint for 'internal_transfer_receipts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert internal transfer receipts",
        "operationId": "putApiV1OrderInternal-transfer-receipts",
        "description": "Dynamic table endpoint for 'internal_transfer_receipts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReceipts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update internal transfer receipts",
        "operationId": "patchApiV1OrderInternal-transfer-receipts",
        "description": "Dynamic table endpoint for 'internal_transfer_receipts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReceipts"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert internal transfer receipts",
        "operationId": "postApiV1OrderInternal-transfer-receipts",
        "description": "Dynamic table endpoint for 'internal_transfer_receipts'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReceipts"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReceipts"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal-transfer-reports": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List internal transfer reports",
        "operationId": "getApiV1OrderInternal-transfer-reports",
        "description": "Dynamic table endpoint for 'internal_transfer_reports'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert internal transfer reports",
        "operationId": "putApiV1OrderInternal-transfer-reports",
        "description": "Dynamic table endpoint for 'internal_transfer_reports'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReports"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update internal transfer reports",
        "operationId": "patchApiV1OrderInternal-transfer-reports",
        "description": "Dynamic table endpoint for 'internal_transfer_reports'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReports"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert internal transfer reports",
        "operationId": "postApiV1OrderInternal-transfer-reports",
        "description": "Dynamic table endpoint for 'internal_transfer_reports'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InternalTransferReports"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InternalTransferReports"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/location-departments": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List location departments",
        "operationId": "getApiV1OrderLocation-departments",
        "description": "Dynamic table endpoint for 'location_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LocationDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert location departments",
        "operationId": "putApiV1OrderLocation-departments",
        "description": "Dynamic table endpoint for 'location_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LocationDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LocationDepartments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LocationDepartments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update location departments",
        "operationId": "patchApiV1OrderLocation-departments",
        "description": "Dynamic table endpoint for 'location_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LocationDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LocationDepartments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LocationDepartments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert location departments",
        "operationId": "postApiV1OrderLocation-departments",
        "description": "Dynamic table endpoint for 'location_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LocationDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LocationDepartments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LocationDepartments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/order-guide": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List order guide",
        "operationId": "getApiV1OrderOrder-guide",
        "description": "Dynamic table endpoint for 'items_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemsLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert order guide",
        "operationId": "putApiV1OrderOrder-guide",
        "description": "Dynamic table endpoint for 'items_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemsLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemsLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemsLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update order guide",
        "operationId": "patchApiV1OrderOrder-guide",
        "description": "Dynamic table endpoint for 'items_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemsLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemsLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemsLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert order guide",
        "operationId": "postApiV1OrderOrder-guide",
        "description": "Dynamic table endpoint for 'items_locations'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemsLocations"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemsLocations"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemsLocations"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/order-items": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List order items",
        "operationId": "getApiV1OrderOrder-items",
        "description": "Dynamic table endpoint for 'order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert order items",
        "operationId": "putApiV1OrderOrder-items",
        "description": "Dynamic table endpoint for 'order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update order items",
        "operationId": "patchApiV1OrderOrder-items",
        "description": "Dynamic table endpoint for 'order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert order items",
        "operationId": "postApiV1OrderOrder-items",
        "description": "Dynamic table endpoint for 'order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "order"
        ],
        "summary": "Delete order items",
        "operationId": "deleteApiV1OrderOrder-items",
        "description": "Dynamic table endpoint for 'order_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderItems"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderItems"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/order-statuses": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List order statuses",
        "operationId": "getApiV1OrderOrder-statuses",
        "description": "Dynamic table endpoint for 'order_status'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderStatus"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert order statuses",
        "operationId": "putApiV1OrderOrder-statuses",
        "description": "Dynamic table endpoint for 'order_status'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderStatus"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatus"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderStatus"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update order statuses",
        "operationId": "patchApiV1OrderOrder-statuses",
        "description": "Dynamic table endpoint for 'order_status'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderStatus"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatus"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderStatus"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert order statuses",
        "operationId": "postApiV1OrderOrder-statuses",
        "description": "Dynamic table endpoint for 'order_status'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderStatus"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderStatus"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderStatus"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/orders": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List orders",
        "operationId": "getApiV1OrderOrders",
        "description": "Dynamic table endpoint for 'order_details'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert orders",
        "operationId": "putApiV1OrderOrders",
        "description": "Dynamic table endpoint for 'order_details'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderDetails"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderDetails"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update orders",
        "operationId": "patchApiV1OrderOrders",
        "description": "Dynamic table endpoint for 'order_details'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderDetails"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderDetails"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert orders",
        "operationId": "postApiV1OrderOrders",
        "description": "Dynamic table endpoint for 'order_details'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/OrderDetails"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/OrderDetails"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendor-delivery-day": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List vendor delivery day",
        "operationId": "getApiV1OrderVendor-delivery-day",
        "description": "Dynamic table endpoint for 'vendor_delivery_day'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert vendor delivery day",
        "operationId": "putApiV1OrderVendor-delivery-day",
        "description": "Dynamic table endpoint for 'vendor_delivery_day'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorDeliveryDay"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update vendor delivery day",
        "operationId": "patchApiV1OrderVendor-delivery-day",
        "description": "Dynamic table endpoint for 'vendor_delivery_day'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorDeliveryDay"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert vendor delivery day",
        "operationId": "postApiV1OrderVendor-delivery-day",
        "description": "Dynamic table endpoint for 'vendor_delivery_day'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorDeliveryDay"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorDeliveryDay"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendor-departments": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List vendor departments",
        "operationId": "getApiV1OrderVendor-departments",
        "description": "Dynamic table endpoint for 'vendor_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert vendor departments",
        "operationId": "putApiV1OrderVendor-departments",
        "description": "Dynamic table endpoint for 'vendor_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorDepartments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorDepartments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update vendor departments",
        "operationId": "patchApiV1OrderVendor-departments",
        "description": "Dynamic table endpoint for 'vendor_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorDepartments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorDepartments"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert vendor departments",
        "operationId": "postApiV1OrderVendor-departments",
        "description": "Dynamic table endpoint for 'vendor_departments'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorDepartments"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorDepartments"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorDepartments"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendor-order-methods": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List vendor order methods",
        "operationId": "getApiV1OrderVendor-order-methods",
        "description": "Dynamic table endpoint for 'vendor_order_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert vendor order methods",
        "operationId": "putApiV1OrderVendor-order-methods",
        "description": "Dynamic table endpoint for 'vendor_order_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorOrderMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update vendor order methods",
        "operationId": "patchApiV1OrderVendor-order-methods",
        "description": "Dynamic table endpoint for 'vendor_order_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorOrderMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert vendor order methods",
        "operationId": "postApiV1OrderVendor-order-methods",
        "description": "Dynamic table endpoint for 'vendor_order_methods'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorOrderMethods"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorOrderMethods"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendor-pricing": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List vendor pricing",
        "operationId": "getApiV1OrderVendor-pricing",
        "description": "Dynamic table endpoint for 'vendor_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert vendor pricing",
        "operationId": "putApiV1OrderVendor-pricing",
        "description": "Dynamic table endpoint for 'vendor_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update vendor pricing",
        "operationId": "patchApiV1OrderVendor-pricing",
        "description": "Dynamic table endpoint for 'vendor_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert vendor pricing",
        "operationId": "postApiV1OrderVendor-pricing",
        "description": "Dynamic table endpoint for 'vendor_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "order"
        ],
        "summary": "Delete vendor pricing",
        "operationId": "deleteApiV1OrderVendor-pricing",
        "description": "Dynamic table endpoint for 'vendor_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VendorPricing"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendors": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List vendors",
        "operationId": "getApiV1OrderVendors",
        "description": "Dynamic table endpoint for 'vendorConfig'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to is_special_vendor=true unless include_all or include_accounting is set.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorConfig"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "order"
        ],
        "summary": "Insert vendors",
        "operationId": "putApiV1OrderVendors",
        "description": "Dynamic table endpoint for 'vendorConfig'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to is_special_vendor=true unless include_all or include_accounting is set.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorConfig"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorConfig"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorConfig"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update vendors",
        "operationId": "patchApiV1OrderVendors",
        "description": "Dynamic table endpoint for 'vendorConfig'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to is_special_vendor=true unless include_all or include_accounting is set.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorConfig"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorConfig"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorConfig"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert vendors",
        "operationId": "postApiV1OrderVendors",
        "description": "Dynamic table endpoint for 'vendorConfig'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to is_special_vendor=true unless include_all or include_accounting is set.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VendorConfig"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VendorConfig"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VendorConfig"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/people/user-onboarding": {
      "get": {
        "tags": [
          "people"
        ],
        "summary": "List user onboarding",
        "operationId": "getApiV1PeopleUser-onboarding",
        "description": "Dynamic table endpoint for 'user_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "people"
        ],
        "summary": "Insert user onboarding",
        "operationId": "putApiV1PeopleUser-onboarding",
        "description": "Dynamic table endpoint for 'user_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "people"
        ],
        "summary": "Update user onboarding",
        "operationId": "patchApiV1PeopleUser-onboarding",
        "description": "Dynamic table endpoint for 'user_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "people"
        ],
        "summary": "Upsert user onboarding",
        "operationId": "postApiV1PeopleUser-onboarding",
        "description": "Dynamic table endpoint for 'user_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserOnboarding"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "people"
        ],
        "summary": "Delete user onboarding",
        "operationId": "deleteApiV1PeopleUser-onboarding",
        "description": "Dynamic table endpoint for 'user_onboarding'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserOnboarding"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserOnboarding"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserOnboarding"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/people/user-roles": {
      "get": {
        "tags": [
          "people"
        ],
        "summary": "List user roles",
        "operationId": "getApiV1PeopleUser-roles",
        "description": "Dynamic table endpoint for 'user_roles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "people"
        ],
        "summary": "Insert user roles",
        "operationId": "putApiV1PeopleUser-roles",
        "description": "Dynamic table endpoint for 'user_roles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "people"
        ],
        "summary": "Update user roles",
        "operationId": "patchApiV1PeopleUser-roles",
        "description": "Dynamic table endpoint for 'user_roles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "people"
        ],
        "summary": "Upsert user roles",
        "operationId": "postApiV1PeopleUser-roles",
        "description": "Dynamic table endpoint for 'user_roles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserRoles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UserRoles"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/people/users": {
      "get": {
        "tags": [
          "people"
        ],
        "summary": "List users",
        "operationId": "getApiV1PeopleUsers",
        "description": "Dynamic table endpoint for 'profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to active=true unless include_inactive=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Profiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "people"
        ],
        "summary": "Insert users",
        "operationId": "putApiV1PeopleUsers",
        "description": "Dynamic table endpoint for 'profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to active=true unless include_inactive=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Profiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Profiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Profiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "people"
        ],
        "summary": "Update users",
        "operationId": "patchApiV1PeopleUsers",
        "description": "Dynamic table endpoint for 'profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to active=true unless include_inactive=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Profiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Profiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Profiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "people"
        ],
        "summary": "Upsert users",
        "operationId": "postApiV1PeopleUsers",
        "description": "Dynamic table endpoint for 'profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). Defaults to active=true unless include_inactive=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Profiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Profiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Profiles"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/fdc-nutrition-data": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List fdc nutrition data",
        "operationId": "getApiV1ProductionFdc-nutrition-data",
        "description": "Dynamic table endpoint for 'item_fdc_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemFdcData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert fdc nutrition data",
        "operationId": "putApiV1ProductionFdc-nutrition-data",
        "description": "Dynamic table endpoint for 'item_fdc_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemFdcData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemFdcData"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemFdcData"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update fdc nutrition data",
        "operationId": "patchApiV1ProductionFdc-nutrition-data",
        "description": "Dynamic table endpoint for 'item_fdc_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemFdcData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemFdcData"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemFdcData"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert fdc nutrition data",
        "operationId": "postApiV1ProductionFdc-nutrition-data",
        "description": "Dynamic table endpoint for 'item_fdc_data'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemFdcData"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemFdcData"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemFdcData"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/food-cost-goals": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List food cost goals",
        "operationId": "getApiV1ProductionFood-cost-goals",
        "description": "Dynamic table endpoint for 'food_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert food cost goals",
        "operationId": "putApiV1ProductionFood-cost-goals",
        "description": "Dynamic table endpoint for 'food_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/FoodCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update food cost goals",
        "operationId": "patchApiV1ProductionFood-cost-goals",
        "description": "Dynamic table endpoint for 'food_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/FoodCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert food cost goals",
        "operationId": "postApiV1ProductionFood-cost-goals",
        "description": "Dynamic table endpoint for 'food_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/FoodCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/FoodCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/global-ingredients": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List global ingredients",
        "operationId": "getApiV1ProductionGlobal-ingredients",
        "description": "Dynamic table endpoint for 'global_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert global ingredients",
        "operationId": "putApiV1ProductionGlobal-ingredients",
        "description": "Dynamic table endpoint for 'global_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GlobalIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update global ingredients",
        "operationId": "patchApiV1ProductionGlobal-ingredients",
        "description": "Dynamic table endpoint for 'global_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GlobalIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert global ingredients",
        "operationId": "postApiV1ProductionGlobal-ingredients",
        "description": "Dynamic table endpoint for 'global_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/GlobalIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/GlobalIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/ingredients": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List ingredients",
        "operationId": "getApiV1ProductionIngredients",
        "description": "Dynamic table endpoint for 'items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Items"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert ingredients",
        "operationId": "putApiV1ProductionIngredients",
        "description": "Dynamic table endpoint for 'items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Items"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Items"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Items"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update ingredients",
        "operationId": "patchApiV1ProductionIngredients",
        "description": "Dynamic table endpoint for 'items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Items"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Items"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Items"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert ingredients",
        "operationId": "postApiV1ProductionIngredients",
        "description": "Dynamic table endpoint for 'items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Items"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Items"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Items"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/inventory-movements": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List inventory movements",
        "operationId": "getApiV1ProductionInventory-movements",
        "description": "Dynamic table endpoint for 'inventory_movements'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryMovements"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert inventory movements",
        "operationId": "putApiV1ProductionInventory-movements",
        "description": "Dynamic table endpoint for 'inventory_movements'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryMovements"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InventoryMovements"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InventoryMovements"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update inventory movements",
        "operationId": "patchApiV1ProductionInventory-movements",
        "description": "Dynamic table endpoint for 'inventory_movements'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryMovements"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InventoryMovements"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InventoryMovements"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert inventory movements",
        "operationId": "postApiV1ProductionInventory-movements",
        "description": "Dynamic table endpoint for 'inventory_movements'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InventoryMovements"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InventoryMovements"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InventoryMovements"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/labor-cost-goals": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List labor cost goals",
        "operationId": "getApiV1ProductionLabor-cost-goals",
        "description": "Dynamic table endpoint for 'labor_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert labor cost goals",
        "operationId": "putApiV1ProductionLabor-cost-goals",
        "description": "Dynamic table endpoint for 'labor_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LaborCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update labor cost goals",
        "operationId": "patchApiV1ProductionLabor-cost-goals",
        "description": "Dynamic table endpoint for 'labor_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LaborCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert labor cost goals",
        "operationId": "postApiV1ProductionLabor-cost-goals",
        "description": "Dynamic table endpoint for 'labor_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LaborCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete labor cost goals",
        "operationId": "deleteApiV1ProductionLabor-cost-goals",
        "description": "Dynamic table endpoint for 'labor_cost_goals'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LaborCostGoals"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/LaborCostGoals"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LaborCostGoals"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/mixer-profiles": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List mixer profiles",
        "operationId": "getApiV1ProductionMixer-profiles",
        "description": "Dynamic table endpoint for 'mixer_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MixerProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert mixer profiles",
        "operationId": "putApiV1ProductionMixer-profiles",
        "description": "Dynamic table endpoint for 'mixer_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MixerProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/MixerProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/MixerProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update mixer profiles",
        "operationId": "patchApiV1ProductionMixer-profiles",
        "description": "Dynamic table endpoint for 'mixer_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MixerProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/MixerProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/MixerProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert mixer profiles",
        "operationId": "postApiV1ProductionMixer-profiles",
        "description": "Dynamic table endpoint for 'mixer_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MixerProfiles"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/MixerProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/MixerProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete mixer profiles",
        "operationId": "deleteApiV1ProductionMixer-profiles",
        "description": "Dynamic table endpoint for 'mixer_profiles'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MixerProfiles"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/MixerProfiles"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/MixerProfiles"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/nutrient-definitions": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List nutrient definitions",
        "operationId": "getApiV1ProductionNutrient-definitions",
        "description": "Dynamic table endpoint for 'usda_nutrient_definitions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert nutrient definitions",
        "operationId": "putApiV1ProductionNutrient-definitions",
        "description": "Dynamic table endpoint for 'usda_nutrient_definitions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update nutrient definitions",
        "operationId": "patchApiV1ProductionNutrient-definitions",
        "description": "Dynamic table endpoint for 'usda_nutrient_definitions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert nutrient definitions",
        "operationId": "postApiV1ProductionNutrient-definitions",
        "description": "Dynamic table endpoint for 'usda_nutrient_definitions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/UsdaNutrientDefinitions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/nutrients": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List nutrients",
        "operationId": "getApiV1ProductionNutrients",
        "description": "Dynamic table endpoint for 'item_nutrients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemNutrients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert nutrients",
        "operationId": "putApiV1ProductionNutrients",
        "description": "Dynamic table endpoint for 'item_nutrients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemNutrients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemNutrients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemNutrients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update nutrients",
        "operationId": "patchApiV1ProductionNutrients",
        "description": "Dynamic table endpoint for 'item_nutrients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemNutrients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemNutrients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemNutrients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert nutrients",
        "operationId": "postApiV1ProductionNutrients",
        "description": "Dynamic table endpoint for 'item_nutrients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemNutrients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemNutrients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemNutrients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete nutrients",
        "operationId": "deleteApiV1ProductionNutrients",
        "description": "Dynamic table endpoint for 'item_nutrients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemNutrients"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemNutrients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemNutrients"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/production-position-location-rates": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List production position location rates",
        "operationId": "getApiV1ProductionProduction-position-location-rates",
        "description": "Dynamic table endpoint for 'production_position_location_rates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert production position location rates",
        "operationId": "putApiV1ProductionProduction-position-location-rates",
        "description": "Dynamic table endpoint for 'production_position_location_rates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositionLocationRates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update production position location rates",
        "operationId": "patchApiV1ProductionProduction-position-location-rates",
        "description": "Dynamic table endpoint for 'production_position_location_rates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositionLocationRates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert production position location rates",
        "operationId": "postApiV1ProductionProduction-position-location-rates",
        "description": "Dynamic table endpoint for 'production_position_location_rates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositionLocationRates"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete production position location rates",
        "operationId": "deleteApiV1ProductionProduction-position-location-rates",
        "description": "Dynamic table endpoint for 'production_position_location_rates'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductionPositionLocationRates"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositionLocationRates"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositionLocationRates"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/production-positions": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List production positions",
        "operationId": "getApiV1ProductionProduction-positions",
        "description": "Dynamic table endpoint for 'production_positions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert production positions",
        "operationId": "putApiV1ProductionProduction-positions",
        "description": "Dynamic table endpoint for 'production_positions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update production positions",
        "operationId": "patchApiV1ProductionProduction-positions",
        "description": "Dynamic table endpoint for 'production_positions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert production positions",
        "operationId": "postApiV1ProductionProduction-positions",
        "description": "Dynamic table endpoint for 'production_positions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionPositions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete production positions",
        "operationId": "deleteApiV1ProductionProduction-positions",
        "description": "Dynamic table endpoint for 'production_positions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductionPositions"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionPositions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionPositions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/production-recipe-labor-tasks": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List production recipe labor tasks",
        "operationId": "getApiV1ProductionProduction-recipe-labor-tasks",
        "description": "Dynamic table endpoint for 'production_recipe_labor_tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert production recipe labor tasks",
        "operationId": "putApiV1ProductionProduction-recipe-labor-tasks",
        "description": "Dynamic table endpoint for 'production_recipe_labor_tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update production recipe labor tasks",
        "operationId": "patchApiV1ProductionProduction-recipe-labor-tasks",
        "description": "Dynamic table endpoint for 'production_recipe_labor_tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert production recipe labor tasks",
        "operationId": "postApiV1ProductionProduction-recipe-labor-tasks",
        "description": "Dynamic table endpoint for 'production_recipe_labor_tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete production recipe labor tasks",
        "operationId": "deleteApiV1ProductionProduction-recipe-labor-tasks",
        "description": "Dynamic table endpoint for 'production_recipe_labor_tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTasks"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/production-recipe-labor-trials": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List production recipe labor trials",
        "operationId": "getApiV1ProductionProduction-recipe-labor-trials",
        "description": "Dynamic table endpoint for 'production_recipe_labor_trials'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert production recipe labor trials",
        "operationId": "putApiV1ProductionProduction-recipe-labor-trials",
        "description": "Dynamic table endpoint for 'production_recipe_labor_trials'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update production recipe labor trials",
        "operationId": "patchApiV1ProductionProduction-recipe-labor-trials",
        "description": "Dynamic table endpoint for 'production_recipe_labor_trials'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert production recipe labor trials",
        "operationId": "postApiV1ProductionProduction-recipe-labor-trials",
        "description": "Dynamic table endpoint for 'production_recipe_labor_trials'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete production recipe labor trials",
        "operationId": "deleteApiV1ProductionProduction-recipe-labor-trials",
        "description": "Dynamic table endpoint for 'production_recipe_labor_trials'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ProductionRecipeLaborTrials"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-categories": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe categories",
        "operationId": "getApiV1ProductionRecipe-categories",
        "description": "Dynamic table endpoint for 'recipes_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipesCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert recipe categories",
        "operationId": "putApiV1ProductionRecipe-categories",
        "description": "Dynamic table endpoint for 'recipes_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipesCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipesCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipesCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update recipe categories",
        "operationId": "patchApiV1ProductionRecipe-categories",
        "description": "Dynamic table endpoint for 'recipes_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipesCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipesCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipesCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe categories",
        "operationId": "postApiV1ProductionRecipe-categories",
        "description": "Dynamic table endpoint for 'recipes_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipesCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipesCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipesCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-component-versions": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe component versions",
        "operationId": "getApiV1ProductionRecipe-component-versions",
        "description": "Dynamic table endpoint for 'recipe_component_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert recipe component versions",
        "operationId": "putApiV1ProductionRecipe-component-versions",
        "description": "Dynamic table endpoint for 'recipe_component_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponentVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update recipe component versions",
        "operationId": "patchApiV1ProductionRecipe-component-versions",
        "description": "Dynamic table endpoint for 'recipe_component_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponentVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe component versions",
        "operationId": "postApiV1ProductionRecipe-component-versions",
        "description": "Dynamic table endpoint for 'recipe_component_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponentVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponentVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-components": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe components",
        "operationId": "getApiV1ProductionRecipe-components",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeComponents"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert recipe components",
        "operationId": "putApiV1ProductionRecipe-components",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipeComponents"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update recipe components",
        "operationId": "patchApiV1ProductionRecipe-components",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipeComponents"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe components",
        "operationId": "postApiV1ProductionRecipe-components",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipeComponents"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponents"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete recipe components",
        "operationId": "deleteApiV1ProductionRecipe-components",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecipeComponents"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeComponents"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeComponents"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-location-pricing": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe location pricing",
        "operationId": "getApiV1ProductionRecipe-location-pricing",
        "description": "Dynamic table endpoint for 'recipe_location_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert recipe location pricing",
        "operationId": "putApiV1ProductionRecipe-location-pricing",
        "description": "Dynamic table endpoint for 'recipe_location_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeLocationPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update recipe location pricing",
        "operationId": "patchApiV1ProductionRecipe-location-pricing",
        "description": "Dynamic table endpoint for 'recipe_location_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeLocationPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe location pricing",
        "operationId": "postApiV1ProductionRecipe-location-pricing",
        "description": "Dynamic table endpoint for 'recipe_location_pricing'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeLocationPricing"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeLocationPricing"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-versions": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe versions",
        "operationId": "getApiV1ProductionRecipe-versions",
        "description": "Dynamic table endpoint for 'recipe_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert recipe versions",
        "operationId": "putApiV1ProductionRecipe-versions",
        "description": "Dynamic table endpoint for 'recipe_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update recipe versions",
        "operationId": "patchApiV1ProductionRecipe-versions",
        "description": "Dynamic table endpoint for 'recipe_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe versions",
        "operationId": "postApiV1ProductionRecipe-versions",
        "description": "Dynamic table endpoint for 'recipe_versions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecipeVersions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecipeVersions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecipeVersions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/square-recipe-mapping-suggestions": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List square recipe mapping suggestions",
        "operationId": "getApiV1ProductionSquare-recipe-mapping-suggestions",
        "description": "Dynamic table endpoint for 'square_recipe_mapping_suggestions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert square recipe mapping suggestions",
        "operationId": "putApiV1ProductionSquare-recipe-mapping-suggestions",
        "description": "Dynamic table endpoint for 'square_recipe_mapping_suggestions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update square recipe mapping suggestions",
        "operationId": "patchApiV1ProductionSquare-recipe-mapping-suggestions",
        "description": "Dynamic table endpoint for 'square_recipe_mapping_suggestions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert square recipe mapping suggestions",
        "operationId": "postApiV1ProductionSquare-recipe-mapping-suggestions",
        "description": "Dynamic table endpoint for 'square_recipe_mapping_suggestions'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SquareRecipeMappingSuggestions"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/square-recipe-mappings": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List square recipe mappings",
        "operationId": "getApiV1ProductionSquare-recipe-mappings",
        "description": "Dynamic table endpoint for 'square_recipe_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert square recipe mappings",
        "operationId": "putApiV1ProductionSquare-recipe-mappings",
        "description": "Dynamic table endpoint for 'square_recipe_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SquareRecipeMappings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update square recipe mappings",
        "operationId": "patchApiV1ProductionSquare-recipe-mappings",
        "description": "Dynamic table endpoint for 'square_recipe_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SquareRecipeMappings"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert square recipe mappings",
        "operationId": "postApiV1ProductionSquare-recipe-mappings",
        "description": "Dynamic table endpoint for 'square_recipe_mappings'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SquareRecipeMappings"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SquareRecipeMappings"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/sub-ingredients": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List sub ingredients",
        "operationId": "getApiV1ProductionSub-ingredients",
        "description": "Dynamic table endpoint for 'item_sub_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert sub ingredients",
        "operationId": "putApiV1ProductionSub-ingredients",
        "description": "Dynamic table endpoint for 'item_sub_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemSubIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update sub ingredients",
        "operationId": "patchApiV1ProductionSub-ingredients",
        "description": "Dynamic table endpoint for 'item_sub_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemSubIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert sub ingredients",
        "operationId": "postApiV1ProductionSub-ingredients",
        "description": "Dynamic table endpoint for 'item_sub_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemSubIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete sub ingredients",
        "operationId": "deleteApiV1ProductionSub-ingredients",
        "description": "Dynamic table endpoint for 'item_sub_ingredients'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemSubIngredients"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ItemSubIngredients"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ItemSubIngredients"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/production/units": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List units",
        "operationId": "getApiV1ProductionUnits",
        "description": "Dynamic table endpoint for 'units'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). When nutrient=false, returns units where nutrient is null/false and optionally respects visible=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Units"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert units",
        "operationId": "putApiV1ProductionUnits",
        "description": "Dynamic table endpoint for 'units'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). When nutrient=false, returns units where nutrient is null/false and optionally respects visible=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Units"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Units"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Units"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update units",
        "operationId": "patchApiV1ProductionUnits",
        "description": "Dynamic table endpoint for 'units'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). When nutrient=false, returns units where nutrient is null/false and optionally respects visible=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Units"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Units"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Units"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert units",
        "operationId": "postApiV1ProductionUnits",
        "description": "Dynamic table endpoint for 'units'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans). When nutrient=false, returns units where nutrient is null/false and optionally respects visible=true.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Units"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Units"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Units"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspection-categories": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List inspection categories",
        "operationId": "getApiV1TasksInspection-categories",
        "description": "Dynamic table endpoint for 'inspection_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert inspection categories",
        "operationId": "putApiV1TasksInspection-categories",
        "description": "Dynamic table endpoint for 'inspection_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update inspection categories",
        "operationId": "patchApiV1TasksInspection-categories",
        "description": "Dynamic table endpoint for 'inspection_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspection categories",
        "operationId": "postApiV1TasksInspection-categories",
        "description": "Dynamic table endpoint for 'inspection_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionCategories"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete inspection categories",
        "operationId": "deleteApiV1TasksInspection-categories",
        "description": "Dynamic table endpoint for 'inspection_categories'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionCategories"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionCategories"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionCategories"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspection-checklists": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List inspection checklists",
        "operationId": "getApiV1TasksInspection-checklists",
        "description": "Dynamic table endpoint for 'inspection_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert inspection checklists",
        "operationId": "putApiV1TasksInspection-checklists",
        "description": "Dynamic table endpoint for 'inspection_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update inspection checklists",
        "operationId": "patchApiV1TasksInspection-checklists",
        "description": "Dynamic table endpoint for 'inspection_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspection checklists",
        "operationId": "postApiV1TasksInspection-checklists",
        "description": "Dynamic table endpoint for 'inspection_checklists'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionChecklists"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionChecklists"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspection-items": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List inspection items",
        "operationId": "getApiV1TasksInspection-items",
        "description": "Dynamic table endpoint for 'inspection_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert inspection items",
        "operationId": "putApiV1TasksInspection-items",
        "description": "Dynamic table endpoint for 'inspection_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update inspection items",
        "operationId": "patchApiV1TasksInspection-items",
        "description": "Dynamic table endpoint for 'inspection_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspection items",
        "operationId": "postApiV1TasksInspection-items",
        "description": "Dynamic table endpoint for 'inspection_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItems"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItems"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete inspection items",
        "operationId": "deleteApiV1TasksInspection-items",
        "description": "Dynamic table endpoint for 'inspection_items'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionItems"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItems"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItems"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspection-responses": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List inspection responses",
        "operationId": "getApiV1TasksInspection-responses",
        "description": "Dynamic table endpoint for 'inspection_item_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert inspection responses",
        "operationId": "putApiV1TasksInspection-responses",
        "description": "Dynamic table endpoint for 'inspection_item_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItemResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update inspection responses",
        "operationId": "patchApiV1TasksInspection-responses",
        "description": "Dynamic table endpoint for 'inspection_item_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItemResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspection responses",
        "operationId": "postApiV1TasksInspection-responses",
        "description": "Dynamic table endpoint for 'inspection_item_responses'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/InspectionItemResponses"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InspectionItemResponses"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspection-rollup": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List inspection rollup",
        "operationId": "getApiV1TasksInspection-rollup",
        "description": "Dynamic table endpoint for 'v_inspection_rollup'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert inspection rollup",
        "operationId": "putApiV1TasksInspection-rollup",
        "description": "Dynamic table endpoint for 'v_inspection_rollup'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VInspectionRollup"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update inspection rollup",
        "operationId": "patchApiV1TasksInspection-rollup",
        "description": "Dynamic table endpoint for 'v_inspection_rollup'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VInspectionRollup"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspection rollup",
        "operationId": "postApiV1TasksInspection-rollup",
        "description": "Dynamic table endpoint for 'v_inspection_rollup'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/VInspectionRollup"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/VInspectionRollup"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspections": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List inspections",
        "operationId": "getApiV1TasksInspections",
        "description": "Dynamic table endpoint for 'inspections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Inspections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert inspections",
        "operationId": "putApiV1TasksInspections",
        "description": "Dynamic table endpoint for 'inspections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Inspections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Inspections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Inspections"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update inspections",
        "operationId": "patchApiV1TasksInspections",
        "description": "Dynamic table endpoint for 'inspections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Inspections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Inspections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Inspections"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspections",
        "operationId": "postApiV1TasksInspections",
        "description": "Dynamic table endpoint for 'inspections'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Inspections"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Inspections"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Inspections"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/recurring-patterns": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List recurring patterns",
        "operationId": "getApiV1TasksRecurring-patterns",
        "description": "Dynamic table endpoint for 'recurring_patterns'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert recurring patterns",
        "operationId": "putApiV1TasksRecurring-patterns",
        "description": "Dynamic table endpoint for 'recurring_patterns'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecurringPatterns"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update recurring patterns",
        "operationId": "patchApiV1TasksRecurring-patterns",
        "description": "Dynamic table endpoint for 'recurring_patterns'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecurringPatterns"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert recurring patterns",
        "operationId": "postApiV1TasksRecurring-patterns",
        "description": "Dynamic table endpoint for 'recurring_patterns'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecurringPatterns"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete recurring patterns",
        "operationId": "deleteApiV1TasksRecurring-patterns",
        "description": "Dynamic table endpoint for 'recurring_patterns'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecurringPatterns"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RecurringPatterns"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/RecurringPatterns"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/task-areas": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List task areas",
        "operationId": "getApiV1TasksTask-areas",
        "description": "Dynamic table endpoint for 'task_areas'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskAreas"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert task areas",
        "operationId": "putApiV1TasksTask-areas",
        "description": "Dynamic table endpoint for 'task_areas'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskAreas"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskAreas"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskAreas"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update task areas",
        "operationId": "patchApiV1TasksTask-areas",
        "description": "Dynamic table endpoint for 'task_areas'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskAreas"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskAreas"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskAreas"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert task areas",
        "operationId": "postApiV1TasksTask-areas",
        "description": "Dynamic table endpoint for 'task_areas'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskAreas"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskAreas"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskAreas"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete task areas",
        "operationId": "deleteApiV1TasksTask-areas",
        "description": "Dynamic table endpoint for 'task_areas'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskAreas"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskAreas"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskAreas"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/task-notes": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List task notes",
        "operationId": "getApiV1TasksTask-notes",
        "description": "Dynamic table endpoint for 'task_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert task notes",
        "operationId": "putApiV1TasksTask-notes",
        "description": "Dynamic table endpoint for 'task_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update task notes",
        "operationId": "patchApiV1TasksTask-notes",
        "description": "Dynamic table endpoint for 'task_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert task notes",
        "operationId": "postApiV1TasksTask-notes",
        "description": "Dynamic table endpoint for 'task_notes'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskNotes"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskNotes"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskNotes"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/task-priorities": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List task priorities",
        "operationId": "getApiV1TasksTask-priorities",
        "description": "Dynamic table endpoint for 'task_priorities'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskPriorities"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert task priorities",
        "operationId": "putApiV1TasksTask-priorities",
        "description": "Dynamic table endpoint for 'task_priorities'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskPriorities"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskPriorities"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskPriorities"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update task priorities",
        "operationId": "patchApiV1TasksTask-priorities",
        "description": "Dynamic table endpoint for 'task_priorities'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskPriorities"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskPriorities"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskPriorities"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert task priorities",
        "operationId": "postApiV1TasksTask-priorities",
        "description": "Dynamic table endpoint for 'task_priorities'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskPriorities"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TaskPriorities"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaskPriorities"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/tasks": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List tasks",
        "operationId": "getApiV1TasksTasks",
        "description": "Dynamic table endpoint for 'tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Tasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert tasks",
        "operationId": "putApiV1TasksTasks",
        "description": "Dynamic table endpoint for 'tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Tasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Tasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Tasks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update tasks",
        "operationId": "patchApiV1TasksTasks",
        "description": "Dynamic table endpoint for 'tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Tasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Tasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Tasks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert tasks",
        "operationId": "postApiV1TasksTasks",
        "description": "Dynamic table endpoint for 'tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Tasks"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Tasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Tasks"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete tasks",
        "operationId": "deleteApiV1TasksTasks",
        "description": "Dynamic table endpoint for 'tasks'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tasks"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Tasks"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Tasks"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/tasks-completed": {
      "get": {
        "tags": [
          "tasks"
        ],
        "summary": "List tasks completed",
        "operationId": "getApiV1TasksTasks-completed",
        "description": "Dynamic table endpoint for 'tasks_completed'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TasksCompleted"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "tasks"
        ],
        "summary": "Insert tasks completed",
        "operationId": "putApiV1TasksTasks-completed",
        "description": "Dynamic table endpoint for 'tasks_completed'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TasksCompleted"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TasksCompleted"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TasksCompleted"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "tasks"
        ],
        "summary": "Update tasks completed",
        "operationId": "patchApiV1TasksTasks-completed",
        "description": "Dynamic table endpoint for 'tasks_completed'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TasksCompleted"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TasksCompleted"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TasksCompleted"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert tasks completed",
        "operationId": "postApiV1TasksTasks-completed",
        "description": "Dynamic table endpoint for 'tasks_completed'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TasksCompleted"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TasksCompleted"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TasksCompleted"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete tasks completed",
        "operationId": "deleteApiV1TasksTasks-completed",
        "description": "Dynamic table endpoint for 'tasks_completed'. Supports column projection, filtering, ordering, and limits via query parameters. Any other query param becomes an equality filter (arrays use IN, null uses IS NULL, 'true'/'false' become booleans).",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasksCompleted"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TasksCompleted"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TasksCompleted"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/api/internal/knowledge-sync": {
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge sync",
        "operationId": "postApiInternalKnowledge-sync",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/internal/navigation-search-sync": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert navigation search sync",
        "operationId": "postApiInternalNavigation-search-sync",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounts",
        "operationId": "getApiV1AccountingAccounts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert accounts",
        "operationId": "postApiV1AccountingAccounts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/accounts/{id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get accounts",
        "operationId": "getApiV1AccountingAccountsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update accounts",
        "operationId": "patchApiV1AccountingAccountsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/allocation-rules": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List allocation rules",
        "operationId": "getApiV1AccountingAllocation-rules",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert allocation rules",
        "operationId": "postApiV1AccountingAllocation-rules",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/allocation-rules/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update allocation rules",
        "operationId": "patchApiV1AccountingAllocation-rulesById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/analytics-feeds/preview": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert preview",
        "operationId": "postApiV1AccountingAnalytics-feedsPreview",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/analytics-feeds/registry": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List registry",
        "operationId": "getApiV1AccountingAnalytics-feedsRegistry",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/ar/open": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List open",
        "operationId": "getApiV1AccountingArOpen",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/ar/receive": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert receive",
        "operationId": "postApiV1AccountingArReceive",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/{document_id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get automation",
        "operationId": "getApiV1AccountingAutomationById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: document_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete automation",
        "operationId": "deleteApiV1AccountingAutomationById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: document_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/{document_id}/classify": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert classify",
        "operationId": "postApiV1AccountingAutomationByIdClassify",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: document_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/{document_id}/extract": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert extract",
        "operationId": "postApiV1AccountingAutomationByIdExtract",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: document_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/{document_id}/finalize": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert finalize",
        "operationId": "postApiV1AccountingAutomationByIdFinalize",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: document_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/{document_id}/suggest-rule": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert suggest rule",
        "operationId": "postApiV1AccountingAutomationByIdSuggest-rule",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: document_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/drive/connections": {
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete connections",
        "operationId": "deleteApiV1AccountingAutomationDriveConnections",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/drive/folders": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List folders",
        "operationId": "getApiV1AccountingAutomationDriveFolders",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/automation/drive/import-historical": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert import historical",
        "operationId": "postApiV1AccountingAutomationDriveImport-historical",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/drive/monitors": {
      "put": {
        "tags": [
          "accounting"
        ],
        "summary": "Insert monitors",
        "operationId": "putApiV1AccountingAutomationDriveMonitors",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update monitors",
        "operationId": "patchApiV1AccountingAutomationDriveMonitors",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete monitors",
        "operationId": "deleteApiV1AccountingAutomationDriveMonitors",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/drive/sync": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sync",
        "operationId": "postApiV1AccountingAutomationDriveSync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/ingest": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert ingest",
        "operationId": "postApiV1AccountingAutomationIngest",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/payout-mapping-count": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payout mapping count",
        "operationId": "getApiV1AccountingAutomationPayout-mapping-count",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/automation/pending-count": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List pending count",
        "operationId": "getApiV1AccountingAutomationPending-count",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/automation/suggest-rules-from-transactions": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert suggest rules from transactions",
        "operationId": "postApiV1AccountingAutomationSuggest-rules-from-transactions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/automation/upload": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert upload",
        "operationId": "postApiV1AccountingAutomationUpload",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List bank feeds",
        "operationId": "getApiV1AccountingBank-feeds",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/bank-feeds/{id}/create-transaction": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert create transaction",
        "operationId": "postApiV1AccountingBank-feedsByIdCreate-transaction",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "x-redocly-ignore": [
        "no-ambiguous-paths"
      ]
    },
    "/api/v1/accounting/bank-feeds/{id}/ignore": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert ignore",
        "operationId": "postApiV1AccountingBank-feedsByIdIgnore",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds/{id}/match": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert match",
        "operationId": "postApiV1AccountingBank-feedsByIdMatch",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds/{id}/matches": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List matches",
        "operationId": "getApiV1AccountingBank-feedsByIdMatches",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/bank-feeds/{id}/search-unmatched": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List search unmatched",
        "operationId": "getApiV1AccountingBank-feedsByIdSearch-unmatched",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/bank-feeds/{id}/settings": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update settings",
        "operationId": "patchApiV1AccountingBank-feedsByIdSettings",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds/apply-rules": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert apply rules",
        "operationId": "postApiV1AccountingBank-feedsApply-rules",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds/auto-match": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert auto match",
        "operationId": "postApiV1AccountingBank-feedsAuto-match",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds/qbo/upload": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert upload",
        "operationId": "postApiV1AccountingBank-feedsQboUpload",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/bank-feeds/qbo-mapping-count": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List qbo mapping count",
        "operationId": "getApiV1AccountingBank-feedsQbo-mapping-count",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/bank-feeds/qbo-mappings/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update qbo mappings",
        "operationId": "patchApiV1AccountingBank-feedsQbo-mappingsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "x-redocly-ignore": [
        "no-ambiguous-paths"
      ]
    },
    "/api/v1/accounting/integrations/square/backfill": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert backfill",
        "operationId": "postApiV1AccountingIntegrationsSquareBackfill",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/backfill-tax-components": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert backfill tax components",
        "operationId": "postApiV1AccountingIntegrationsSquareBackfill-tax-components",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/cards": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert cards",
        "operationId": "postApiV1AccountingIntegrationsSquareCards",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List cards",
        "operationId": "getApiV1AccountingIntegrationsSquareCards",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete cards",
        "operationId": "deleteApiV1AccountingIntegrationsSquareCards",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/customers/link": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert link",
        "operationId": "postApiV1AccountingIntegrationsSquareCustomersLink",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/customers/search": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert search",
        "operationId": "postApiV1AccountingIntegrationsSquareCustomersSearch",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/locations": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List locations",
        "operationId": "getApiV1AccountingIntegrationsSquareLocations",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/integrations/square/oauth/callback": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List callback",
        "operationId": "getApiV1AccountingIntegrationsSquareOauthCallback",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true
      }
    },
    "/api/v1/accounting/integrations/square/oauth/start": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List start",
        "operationId": "getApiV1AccountingIntegrationsSquareOauthStart",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true
      }
    },
    "/api/v1/accounting/integrations/square/payments": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payments",
        "operationId": "postApiV1AccountingIntegrationsSquarePayments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/public-config": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List public config",
        "operationId": "getApiV1AccountingIntegrationsSquarePublic-config",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/integrations/square/reprocess": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert reprocess",
        "operationId": "postApiV1AccountingIntegrationsSquareReprocess",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/square/webhook": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert webhook",
        "operationId": "postApiV1AccountingIntegrationsSquareWebhook",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "text/plain": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/backfill": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert backfill",
        "operationId": "postApiV1AccountingIntegrationsStripeBackfill",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/financial-connections/payment-session": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payment session",
        "operationId": "postApiV1AccountingIntegrationsStripeFinancial-connectionsPayment-session",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/funding-instructions": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert funding instructions",
        "operationId": "postApiV1AccountingIntegrationsStripeFunding-instructions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/oauth/callback": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List callback",
        "operationId": "getApiV1AccountingIntegrationsStripeOauthCallback",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true
      }
    },
    "/api/v1/accounting/integrations/stripe/oauth/start": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List start",
        "operationId": "getApiV1AccountingIntegrationsStripeOauthStart",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true
      }
    },
    "/api/v1/accounting/integrations/stripe/payment-methods": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payment methods",
        "operationId": "getApiV1AccountingIntegrationsStripePayment-methods",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/integrations/stripe/payment-methods/detach": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert detach",
        "operationId": "postApiV1AccountingIntegrationsStripePayment-methodsDetach",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/payment-methods/save": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert save",
        "operationId": "postApiV1AccountingIntegrationsStripePayment-methodsSave",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/setup-intent": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert setup intent",
        "operationId": "postApiV1AccountingIntegrationsStripeSetup-intent",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/integrations/stripe/webhook": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert webhook",
        "operationId": "postApiV1AccountingIntegrationsStripeWebhook",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "text/plain": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/square/assign": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert assign",
        "operationId": "postApiV1AccountingLoansSquareAssign",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/square/compute-paid-to-date": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert compute paid to date",
        "operationId": "postApiV1AccountingLoansSquareCompute-paid-to-date",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/square/create-opening-balance": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert create opening balance",
        "operationId": "postApiV1AccountingLoansSquareCreate-opening-balance",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/square/parse-csv": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert parse csv",
        "operationId": "postApiV1AccountingLoansSquareParse-csv",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/square/preview-sync": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert preview sync",
        "operationId": "postApiV1AccountingLoansSquarePreview-sync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/square/sync": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sync",
        "operationId": "postApiV1AccountingLoansSquareSync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/traditional/approve-schedule-line": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert approve schedule line",
        "operationId": "postApiV1AccountingLoansTraditionalApprove-schedule-line",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/traditional/generate-schedule": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert generate schedule",
        "operationId": "postApiV1AccountingLoansTraditionalGenerate-schedule",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/traditional/post-opening-entry": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert post opening entry",
        "operationId": "postApiV1AccountingLoansTraditionalPost-opening-entry",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/traditional/preview-opening-entry": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert preview opening entry",
        "operationId": "postApiV1AccountingLoansTraditionalPreview-opening-entry",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/loans/traditional/record-extra-payment": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert record extra payment",
        "operationId": "postApiV1AccountingLoansTraditionalRecord-extra-payment",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/memorized-transactions": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List memorized transactions",
        "operationId": "getApiV1AccountingMemorized-transactions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert memorized transactions",
        "operationId": "postApiV1AccountingMemorized-transactions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/memorized-transactions/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update memorized transactions",
        "operationId": "patchApiV1AccountingMemorized-transactionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/memorized-transactions/{id}/post": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert post",
        "operationId": "postApiV1AccountingMemorized-transactionsByIdPost",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/accounts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List accounts",
        "operationId": "getApiV1AccountingMercuryAccounts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/mercury/connections": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List connections",
        "operationId": "getApiV1AccountingMercuryConnections",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert connections",
        "operationId": "postApiV1AccountingMercuryConnections",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update connections",
        "operationId": "patchApiV1AccountingMercuryConnections",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete connections",
        "operationId": "deleteApiV1AccountingMercuryConnections",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/payments": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payments",
        "operationId": "getApiV1AccountingMercuryPayments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payments",
        "operationId": "postApiV1AccountingMercuryPayments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/payments/{id}/retry": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert retry",
        "operationId": "postApiV1AccountingMercuryPaymentsByIdRetry",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/payroll-disbursements": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List payroll disbursements",
        "operationId": "getApiV1AccountingMercuryPayroll-disbursements",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payroll disbursements",
        "operationId": "postApiV1AccountingMercuryPayroll-disbursements",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/payroll-disbursements/{id}/retry": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert retry",
        "operationId": "postApiV1AccountingMercuryPayroll-disbursementsByIdRetry",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/recipient-links": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert recipient links",
        "operationId": "postApiV1AccountingMercuryRecipient-links",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/recipients": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List recipients",
        "operationId": "getApiV1AccountingMercuryRecipients",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert recipients",
        "operationId": "postApiV1AccountingMercuryRecipients",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/recipients/{id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get recipients",
        "operationId": "getApiV1AccountingMercuryRecipientsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert recipients",
        "operationId": "postApiV1AccountingMercuryRecipientsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete recipients",
        "operationId": "deleteApiV1AccountingMercuryRecipientsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/recipients/from-employee": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert from employee",
        "operationId": "postApiV1AccountingMercuryRecipientsFrom-employee",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/mercury/statements": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List statements",
        "operationId": "getApiV1AccountingMercuryStatements",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/mercury/statements/{statementId}/pdf": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List pdf",
        "operationId": "getApiV1AccountingMercuryStatementsByIdPdf",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "statementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: statementId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/mercury/sync": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sync",
        "operationId": "postApiV1AccountingMercurySync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payouts": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert payouts",
        "operationId": "postApiV1AccountingPayouts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/admin/{employee_user_id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get admin",
        "operationId": "getApiV1AccountingPayrollAdminById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "employee_user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: employee_user_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/admin/{employee_user_id}/change-request": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert change request",
        "operationId": "postApiV1AccountingPayrollAdminByIdChange-request",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "employee_user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: employee_user_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/bank-identity": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert bank identity",
        "operationId": "postApiV1AccountingPayrollBank-identity",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/bank-identity/me": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List me",
        "operationId": "getApiV1AccountingPayrollBank-identityMe",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/depositor-assessment": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List depositor assessment",
        "operationId": "getApiV1AccountingPayrollDepositor-assessment",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/deposits": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List deposits",
        "operationId": "getApiV1AccountingPayrollDeposits",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert deposits",
        "operationId": "postApiV1AccountingPayrollDeposits",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete deposits",
        "operationId": "deleteApiV1AccountingPayrollDeposits",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/eft-summary": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List eft summary",
        "operationId": "getApiV1AccountingPayrollEft-summary",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/leave-assignments": {
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete leave assignments",
        "operationId": "deleteApiV1AccountingPayrollLeave-assignments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/me/paystubs": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List paystubs",
        "operationId": "getApiV1AccountingPayrollMePaystubs",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/me/w2": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List w2",
        "operationId": "getApiV1AccountingPayrollMeW2",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/me/w2/{tax_year}/pdf": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List pdf",
        "operationId": "getApiV1AccountingPayrollMeW2ByIdPdf",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "tax_year",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: tax_year."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/paystubs/{payroll_run_employee_id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get paystubs",
        "operationId": "getApiV1AccountingPayrollPaystubsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "payroll_run_employee_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: payroll_run_employee_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/reports/941": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List 941",
        "operationId": "getApiV1AccountingPayrollReports941",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/reports/az-ui": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List az ui",
        "operationId": "getApiV1AccountingPayrollReportsAz-ui",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/reports/az-withholding": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List az withholding",
        "operationId": "getApiV1AccountingPayrollReportsAz-withholding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/reports/forms-artifacts": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List forms artifacts",
        "operationId": "getApiV1AccountingPayrollReportsForms-artifacts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert forms artifacts",
        "operationId": "postApiV1AccountingPayrollReportsForms-artifacts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/reports/forms-artifacts/{id}/attachments": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert attachments",
        "operationId": "postApiV1AccountingPayrollReportsForms-artifactsByIdAttachments",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/reports/forms-artifacts/{id}/download": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List download",
        "operationId": "getApiV1AccountingPayrollReportsForms-artifactsByIdDownload",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/reports/forms-artifacts/{id}/metadata": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert metadata",
        "operationId": "postApiV1AccountingPayrollReportsForms-artifactsByIdMetadata",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/reports/forms-artifacts/{id}/submit": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert submit",
        "operationId": "postApiV1AccountingPayrollReportsForms-artifactsByIdSubmit",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/reports/forms-artifacts/history": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List history",
        "operationId": "getApiV1AccountingPayrollReportsForms-artifactsHistory",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/reports/forms-data": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List forms data",
        "operationId": "getApiV1AccountingPayrollReportsForms-data",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/runs/{id}/export-to-accounting": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert export to accounting",
        "operationId": "postApiV1AccountingPayrollRunsByIdExport-to-accounting",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/runs/{id}/finalize": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert finalize",
        "operationId": "postApiV1AccountingPayrollRunsByIdFinalize",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/runs/{id}/finalize-and-export": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert finalize and export",
        "operationId": "postApiV1AccountingPayrollRunsByIdFinalize-and-export",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/runs/{id}/recompute-tips": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert recompute tips",
        "operationId": "postApiV1AccountingPayrollRunsByIdRecompute-tips",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/runs/{id}/review": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List review",
        "operationId": "getApiV1AccountingPayrollRunsByIdReview",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/runs/{id}/tips-context": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List tips context",
        "operationId": "getApiV1AccountingPayrollRunsByIdTips-context",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/runs/preview": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert preview",
        "operationId": "postApiV1AccountingPayrollRunsPreview",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/sensitive/apply": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert apply",
        "operationId": "postApiV1AccountingPayrollSensitiveApply",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/sensitive/change-request": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert change request",
        "operationId": "postApiV1AccountingPayrollSensitiveChange-request",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/sensitive/confirm-email": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert confirm email",
        "operationId": "postApiV1AccountingPayrollSensitiveConfirm-email",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/sensitive/manager-approve": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert manager approve",
        "operationId": "postApiV1AccountingPayrollSensitiveManager-approve",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/sensitive/requests": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List requests",
        "operationId": "getApiV1AccountingPayrollSensitiveRequests",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "x-wazi-internal": true
      }
    },
    "/api/v1/accounting/payroll/tax-identity": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert tax identity",
        "operationId": "postApiV1AccountingPayrollTax-identity",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/tax-identity/me": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List me",
        "operationId": "getApiV1AccountingPayrollTax-identityMe",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/payroll/tax-preferences/me": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List me",
        "operationId": "getApiV1AccountingPayrollTax-preferencesMe",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert me",
        "operationId": "postApiV1AccountingPayrollTax-preferencesMe",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/tax-reminders": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List tax reminders",
        "operationId": "getApiV1AccountingPayrollTax-reminders",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert tax reminders",
        "operationId": "postApiV1AccountingPayrollTax-reminders",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/payroll/tax-reminders/webhook": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert webhook",
        "operationId": "postApiV1AccountingPayrollTax-remindersWebhook",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/backfill": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List backfill",
        "operationId": "getApiV1AccountingReconciliationBackfill",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert backfill",
        "operationId": "postApiV1AccountingReconciliationBackfill",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/feed-items": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List feed items",
        "operationId": "getApiV1AccountingReconciliationFeed-items",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reconciliation/ledger-items": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List ledger items",
        "operationId": "getApiV1AccountingReconciliationLedger-items",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reconciliation/resync-audit": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert resync audit",
        "operationId": "postApiV1AccountingReconciliationResync-audit",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/sessions": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List sessions",
        "operationId": "getApiV1AccountingReconciliationSessions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sessions",
        "operationId": "postApiV1AccountingReconciliationSessions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/sessions/{id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get sessions",
        "operationId": "getApiV1AccountingReconciliationSessionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update sessions",
        "operationId": "patchApiV1AccountingReconciliationSessionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete sessions",
        "operationId": "deleteApiV1AccountingReconciliationSessionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/sessions/{id}/auto-match": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert auto match",
        "operationId": "postApiV1AccountingReconciliationSessionsByIdAuto-match",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/sessions/{id}/close": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert close",
        "operationId": "postApiV1AccountingReconciliationSessionsByIdClose",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/sessions/{id}/exclude-ledger": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert exclude ledger",
        "operationId": "postApiV1AccountingReconciliationSessionsByIdExclude-ledger",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reconciliation/statement/parse": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert parse",
        "operationId": "postApiV1AccountingReconciliationStatementParse",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/reports/account-transactions": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List account transactions",
        "operationId": "getApiV1AccountingReportsAccount-transactions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reports/ar-aging": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List ar aging",
        "operationId": "getApiV1AccountingReportsAr-aging",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reports/balance-sheet": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List balance sheet",
        "operationId": "getApiV1AccountingReportsBalance-sheet",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reports/daily-sales": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List daily sales",
        "operationId": "getApiV1AccountingReportsDaily-sales",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reports/pl": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List pl",
        "operationId": "getApiV1AccountingReportsPl",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reports/sales-tax": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List sales tax",
        "operationId": "getApiV1AccountingReportsSales-tax",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/reports/sales-tax/reconcile-unassigned": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert reconcile unassigned",
        "operationId": "postApiV1AccountingReportsSales-taxReconcile-unassigned",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/rules": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List rules",
        "operationId": "getApiV1AccountingRules",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert rules",
        "operationId": "postApiV1AccountingRules",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/rules/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update rules",
        "operationId": "patchApiV1AccountingRulesById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete rules",
        "operationId": "deleteApiV1AccountingRulesById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/sales": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sales",
        "operationId": "postApiV1AccountingSales",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/sales-channels": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List sales channels",
        "operationId": "getApiV1AccountingSales-channels",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sales channels",
        "operationId": "postApiV1AccountingSales-channels",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/sales-channels/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update sales channels",
        "operationId": "patchApiV1AccountingSales-channelsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/sales-channels/balances": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List balances",
        "operationId": "getApiV1AccountingSales-channelsBalances",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/accounting/stripe/financial-connections/link": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert link",
        "operationId": "postApiV1AccountingStripeFinancial-connectionsLink",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/stripe/financial-connections/session": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert session",
        "operationId": "postApiV1AccountingStripeFinancial-connectionsSession",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/stripe/financial-connections/sync": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert sync",
        "operationId": "postApiV1AccountingStripeFinancial-connectionsSync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/tax-components": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List tax components",
        "operationId": "getApiV1AccountingTax-components",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert tax components",
        "operationId": "postApiV1AccountingTax-components",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/tax-components/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update tax components",
        "operationId": "patchApiV1AccountingTax-componentsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/tax-exemptions": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List tax exemptions",
        "operationId": "getApiV1AccountingTax-exemptions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert tax exemptions",
        "operationId": "postApiV1AccountingTax-exemptions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/tax-exemptions/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update tax exemptions",
        "operationId": "patchApiV1AccountingTax-exemptionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/transactions": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List transactions",
        "operationId": "getApiV1AccountingTransactions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert transactions",
        "operationId": "postApiV1AccountingTransactions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/transactions/{id}": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "Get transactions",
        "operationId": "getApiV1AccountingTransactionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete transactions",
        "operationId": "deleteApiV1AccountingTransactionsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/vendors": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List vendors",
        "operationId": "getApiV1AccountingVendors",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert vendors",
        "operationId": "postApiV1AccountingVendors",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/vendors/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update vendors",
        "operationId": "patchApiV1AccountingVendorsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/widgets": {
      "get": {
        "tags": [
          "accounting"
        ],
        "summary": "List widgets",
        "operationId": "getApiV1AccountingWidgets",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert widgets",
        "operationId": "postApiV1AccountingWidgets",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "createWidget": {
                  "summary": "Create widget",
                  "value": {
                    "name": "Monthly Net Sales",
                    "route": "accounting/performance",
                    "config": {
                      "feed_id": "analytics.rpc_monthly_report",
                      "viz": {
                        "type": "line",
                        "x": "month_start",
                        "y": [
                          {
                            "op": "sum",
                            "field": "net_sales_cents",
                            "as": "Net Sales"
                          }
                        ]
                      },
                      "date_range": {
                        "preset": "last_30_days",
                        "start": null,
                        "end": null
                      },
                      "filters": {
                        "location_ids": [
                          1
                        ],
                        "source_types": [
                          "square"
                        ]
                      },
                      "options": {
                        "limit": 500
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/widgets/{id}": {
      "patch": {
        "tags": [
          "accounting"
        ],
        "summary": "Update widgets",
        "operationId": "patchApiV1AccountingWidgetsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounting"
        ],
        "summary": "Delete widgets",
        "operationId": "deleteApiV1AccountingWidgetsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/widgets/{id}/prefs": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert prefs",
        "operationId": "postApiV1AccountingWidgetsByIdPrefs",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/widgets/{id}/run": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert run",
        "operationId": "postApiV1AccountingWidgetsByIdRun",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "examples": {
                  "widgetRun": {
                    "summary": "Widget run response",
                    "value": {
                      "id": "3a2b5c8d-0b3b-4b3c-8f1b-7f0e9f1a1f11",
                      "name": "Monthly Net Sales",
                      "feed_id": "analytics.rpc_monthly_report",
                      "viz_type": "line",
                      "config": {
                        "feed_id": "analytics.rpc_monthly_report",
                        "viz": {
                          "type": "line",
                          "x": "month_start",
                          "y": [
                            {
                              "op": "sum",
                              "field": "net_sales_cents",
                              "as": "Net Sales"
                            }
                          ]
                        },
                        "date_range": {
                          "preset": "last_30_days",
                          "start": null,
                          "end": null
                        },
                        "filters": {
                          "location_ids": [
                            1
                          ],
                          "source_types": [
                            "square"
                          ]
                        },
                        "options": {
                          "limit": 500
                        }
                      },
                      "meta": {
                        "time_field": "month_start",
                        "date_range": {
                          "start_at": "2026-01-01T00:00:00.000Z",
                          "end_at": "2026-02-01T00:00:00.000Z"
                        },
                        "x": "month_start"
                      },
                      "series": [
                        {
                          "name": "Net Sales",
                          "points": [
                            {
                              "x": "2026-01-01",
                              "y": 125000
                            },
                            {
                              "x": "2026-02-01",
                              "y": 140500
                            }
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/widgets/assistant": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert assistant",
        "operationId": "postApiV1AccountingWidgetsAssistant",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/accounting/widgets/order": {
      "post": {
        "tags": [
          "accounting"
        ],
        "summary": "Upsert order",
        "operationId": "postApiV1AccountingWidgetsOrder",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/active-company": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert active company",
        "operationId": "postApiV1ConfigActive-company",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/api-keys": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List api keys",
        "operationId": "getApiV1ConfigApi-keys",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert api keys",
        "operationId": "postApiV1ConfigApi-keys",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/api-keys/{id}/revoke": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert revoke",
        "operationId": "postApiV1ConfigApi-keysByIdRevoke",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/company-logo/upload": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert upload",
        "operationId": "postApiV1ConfigCompany-logoUpload",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/company-name": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List company name",
        "operationId": "getApiV1ConfigCompany-name",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update company name",
        "operationId": "patchApiV1ConfigCompany-name",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/company-onboarding-checklist": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List company onboarding checklist",
        "operationId": "getApiV1ConfigCompany-onboarding-checklist",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update company onboarding checklist",
        "operationId": "patchApiV1ConfigCompany-onboarding-checklist",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/demo-account": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List demo account",
        "operationId": "getApiV1ConfigDemo-account",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert demo account",
        "operationId": "postApiV1ConfigDemo-account",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "config"
        ],
        "summary": "Delete demo account",
        "operationId": "deleteApiV1ConfigDemo-account",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/email": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert email",
        "operationId": "postApiV1ConfigEmail",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/kds/devices": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List devices",
        "operationId": "getApiV1ConfigKdsDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update devices",
        "operationId": "patchApiV1ConfigKdsDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert devices",
        "operationId": "postApiV1ConfigKdsDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "config"
        ],
        "summary": "Delete devices",
        "operationId": "deleteApiV1ConfigKdsDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/kds/setup-code": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert setup code",
        "operationId": "postApiV1ConfigKdsSetup-code",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/kds/stats/reset": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert reset",
        "operationId": "postApiV1ConfigKdsStatsReset",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/kds/test-orders/enqueue": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert enqueue",
        "operationId": "postApiV1ConfigKdsTest-ordersEnqueue",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/kds/test-templates": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List test templates",
        "operationId": "getApiV1ConfigKdsTest-templates",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert test templates",
        "operationId": "postApiV1ConfigKdsTest-templates",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update test templates",
        "operationId": "patchApiV1ConfigKdsTest-templates",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "config"
        ],
        "summary": "Delete test templates",
        "operationId": "deleteApiV1ConfigKdsTest-templates",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/navigation-search": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List navigation search",
        "operationId": "getApiV1ConfigNavigation-search",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert navigation search",
        "operationId": "postApiV1ConfigNavigation-search",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/tenant-onboarding": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List tenant onboarding",
        "operationId": "getApiV1ConfigTenant-onboarding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update tenant onboarding",
        "operationId": "patchApiV1ConfigTenant-onboarding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/tv-displays/devices": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List devices",
        "operationId": "getApiV1ConfigTv-displaysDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update devices",
        "operationId": "patchApiV1ConfigTv-displaysDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert devices",
        "operationId": "postApiV1ConfigTv-displaysDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "config"
        ],
        "summary": "Delete devices",
        "operationId": "deleteApiV1ConfigTv-displaysDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/tv-displays/devices/command": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert command",
        "operationId": "postApiV1ConfigTv-displaysDevicesCommand",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/tv-displays/media/upload": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert upload",
        "operationId": "postApiV1ConfigTv-displaysMediaUpload",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/tv-displays/scenes": {
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List scenes",
        "operationId": "getApiV1ConfigTv-displaysScenes",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert scenes",
        "operationId": "postApiV1ConfigTv-displaysScenes",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "config"
        ],
        "summary": "Update scenes",
        "operationId": "patchApiV1ConfigTv-displaysScenes",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "config"
        ],
        "summary": "Delete scenes",
        "operationId": "deleteApiV1ConfigTv-displaysScenes",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/config/tv-displays/setup-code": {
      "post": {
        "tags": [
          "config"
        ],
        "summary": "Upsert setup code",
        "operationId": "postApiV1ConfigTv-displaysSetup-code",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "config"
        ],
        "summary": "List setup code",
        "operationId": "getApiV1ConfigTv-displaysSetup-code",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/{id}/credits": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert credits",
        "operationId": "postApiV1CustomersByIdCredits",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/{id}/credits/{creditId}/email": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert email",
        "operationId": "postApiV1CustomersByIdCreditsByIdEmail",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          },
          {
            "name": "creditId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: creditId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/ai-intake": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert ai intake",
        "operationId": "postApiV1CustomersAi-intake",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/automations/run": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert run",
        "operationId": "postApiV1CustomersAutomationsRun",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/create-bundle": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert create bundle",
        "operationId": "postApiV1CustomersCreate-bundle",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/create-wholesale-user": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert create wholesale user",
        "operationId": "postApiV1CustomersCreate-wholesale-user",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/delete": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert delete",
        "operationId": "postApiV1CustomersDelete",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/feedback/draft": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert draft",
        "operationId": "postApiV1CustomersFeedbackDraft",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/feedback/submissions": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List submissions",
        "operationId": "getApiV1CustomersFeedbackSubmissions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert submissions",
        "operationId": "postApiV1CustomersFeedbackSubmissions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/feedback/submissions/{id}/comments": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List comments",
        "operationId": "getApiV1CustomersFeedbackSubmissionsByIdComments",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert comments",
        "operationId": "postApiV1CustomersFeedbackSubmissionsByIdComments",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/feedback/submissions/{id}/status": {
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update status",
        "operationId": "patchApiV1CustomersFeedbackSubmissionsByIdStatus",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/feedback/submissions/{id}/vote": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert vote",
        "operationId": "postApiV1CustomersFeedbackSubmissionsByIdVote",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/connect/callback": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List callback",
        "operationId": "getApiV1CustomersGbpConnectCallback",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true
      }
    },
    "/api/v1/customers/gbp/connect/start": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List start",
        "operationId": "getApiV1CustomersGbpConnectStart",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert start",
        "operationId": "postApiV1CustomersGbpConnectStart",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/locations/{locationId}/hours": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert hours",
        "operationId": "postApiV1CustomersGbpLocationsByIdHours",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "locationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: locationId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/reviews/{reviewId}/draft": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert draft",
        "operationId": "postApiV1CustomersGbpReviewsByIdDraft",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/reviews/{reviewId}/post": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert post",
        "operationId": "postApiV1CustomersGbpReviewsByIdPost",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/reviews/attention": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert attention",
        "operationId": "postApiV1CustomersGbpReviewsAttention",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/reviews/attention/all": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert all",
        "operationId": "postApiV1CustomersGbpReviewsAttentionAll",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/summary": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List summary",
        "operationId": "getApiV1CustomersGbpSummary",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/gbp/sync/humanizer": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert humanizer",
        "operationId": "postApiV1CustomersGbpSyncHumanizer",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/sync/insights": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert insights",
        "operationId": "postApiV1CustomersGbpSyncInsights",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/sync/locations": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert locations",
        "operationId": "postApiV1CustomersGbpSyncLocations",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/sync/reviews": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert reviews",
        "operationId": "postApiV1CustomersGbpSyncReviews",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/gbp/tone/interview": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert interview",
        "operationId": "postApiV1CustomersGbpToneInterview",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/google/places/autocomplete": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List autocomplete",
        "operationId": "getApiV1CustomersGooglePlacesAutocomplete",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/google/places/details": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List details",
        "operationId": "getApiV1CustomersGooglePlacesDetails",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/google/places/nearby": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List nearby",
        "operationId": "getApiV1CustomersGooglePlacesNearby",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/locations": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert locations",
        "operationId": "postApiV1CustomersLocations",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List socials",
        "operationId": "getApiV1CustomersSocials",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/socials/accounts/{platform}": {
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete accounts",
        "operationId": "deleteApiV1CustomersSocialsAccountsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: platform."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/ai-caption": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert ai caption",
        "operationId": "postApiV1CustomersSocialsAi-caption",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/ai-image-generate": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert ai image generate",
        "operationId": "postApiV1CustomersSocialsAi-image-generate",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/ai-image-refine": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert ai image refine",
        "operationId": "postApiV1CustomersSocialsAi-image-refine",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/assets": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert assets",
        "operationId": "postApiV1CustomersSocialsAssets",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/callback": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List callback",
        "operationId": "getApiV1CustomersSocialsCallback",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true
      }
    },
    "/api/v1/customers/socials/comments": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List comments",
        "operationId": "getApiV1CustomersSocialsComments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/socials/comments/{commentId}/ai-reply": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert ai reply",
        "operationId": "postApiV1CustomersSocialsCommentsByIdAi-reply",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: commentId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/comments/{commentId}/reply": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert reply",
        "operationId": "postApiV1CustomersSocialsCommentsByIdReply",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: commentId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/comments/sync": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert sync",
        "operationId": "postApiV1CustomersSocialsCommentsSync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/connect/{platform}": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "Get connect",
        "operationId": "getApiV1CustomersSocialsConnectById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: platform."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/socials/connect/{platform}/select": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert select",
        "operationId": "postApiV1CustomersSocialsConnectByIdSelect",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: platform."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/posts": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List posts",
        "operationId": "getApiV1CustomersSocialsPosts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert posts",
        "operationId": "postApiV1CustomersSocialsPosts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/posts/{postId}": {
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete posts",
        "operationId": "deleteApiV1CustomersSocialsPostsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: postId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/posts/{postId}/cancel": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert cancel",
        "operationId": "postApiV1CustomersSocialsPostsByIdCancel",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: postId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/posts/{postId}/publish": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert publish",
        "operationId": "postApiV1CustomersSocialsPostsByIdPublish",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: postId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/socials/posts/{postId}/retry": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert retry",
        "operationId": "postApiV1CustomersSocialsPostsByIdRetry",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: postId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/catalog": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List catalog",
        "operationId": "getApiV1CustomersWholesaleCatalog",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/wholesale/invite-onboarding": {
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert invite onboarding",
        "operationId": "putApiV1CustomersWholesaleInvite-onboarding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/onboarding-documents": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert onboarding documents",
        "operationId": "postApiV1CustomersWholesaleOnboarding-documents",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/onboarding-link": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List onboarding link",
        "operationId": "getApiV1CustomersWholesaleOnboarding-link",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/wholesale/orders": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List orders",
        "operationId": "getApiV1CustomersWholesaleOrders",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert orders",
        "operationId": "postApiV1CustomersWholesaleOrders",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/orders/{orderId}": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "Get orders",
        "operationId": "getApiV1CustomersWholesaleOrdersById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: orderId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update orders",
        "operationId": "patchApiV1CustomersWholesaleOrdersById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: orderId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete orders",
        "operationId": "deleteApiV1CustomersWholesaleOrdersById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: orderId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/orders/po-drafts": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert po drafts",
        "operationId": "postApiV1CustomersWholesaleOrdersPo-drafts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/portal-users": {
      "patch": {
        "tags": [
          "customers"
        ],
        "summary": "Update portal users",
        "operationId": "patchApiV1CustomersWholesalePortal-users",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/reminders/send": {
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert send",
        "operationId": "postApiV1CustomersWholesaleRemindersSend",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/reminders/unsubscribe": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List unsubscribe",
        "operationId": "getApiV1CustomersWholesaleRemindersUnsubscribe",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/wholesale/routes/map-preview": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List map preview",
        "operationId": "getApiV1CustomersWholesaleRoutesMap-preview",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/customers/wholesale/saved-adjustments": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List saved adjustments",
        "operationId": "getApiV1CustomersWholesaleSaved-adjustments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert saved adjustments",
        "operationId": "postApiV1CustomersWholesaleSaved-adjustments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/saved-adjustments/{id}": {
      "delete": {
        "tags": [
          "customers"
        ],
        "summary": "Delete saved adjustments",
        "operationId": "deleteApiV1CustomersWholesaleSaved-adjustmentsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/customers/wholesale/templates": {
      "get": {
        "tags": [
          "customers"
        ],
        "summary": "List templates",
        "operationId": "getApiV1CustomersWholesaleTemplates",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "customers"
        ],
        "summary": "Upsert templates",
        "operationId": "postApiV1CustomersWholesaleTemplates",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/delete-file": {
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert delete file",
        "operationId": "postApiV1EquipmentDelete-file",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/image-intake": {
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert image intake",
        "operationId": "postApiV1EquipmentImage-intake",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/maintenance-checklists": {
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert maintenance checklists",
        "operationId": "postApiV1EquipmentMaintenance-checklists",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/equipment/upload": {
      "post": {
        "tags": [
          "equipment"
        ],
        "summary": "Upsert upload",
        "operationId": "postApiV1EquipmentUpload",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/kb-chat": {
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert kb chat",
        "operationId": "postApiV1LearnKb-chat",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge/attachments-library": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List attachments library",
        "operationId": "getApiV1LearnKnowledgeAttachments-library",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/learn/knowledge/discussion-comments": {
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert discussion comments",
        "operationId": "postApiV1LearnKnowledgeDiscussion-comments",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge/media-library": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List media library",
        "operationId": "getApiV1LearnKnowledgeMedia-library",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/learn/knowledge/upload": {
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert upload",
        "operationId": "postApiV1LearnKnowledgeUpload",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-ai-generator": {
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge ai generator",
        "operationId": "postApiV1LearnKnowledge-ai-generator",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-file-search": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge file search",
        "operationId": "getApiV1LearnKnowledge-file-search",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert knowledge file search",
        "operationId": "postApiV1LearnKnowledge-file-search",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "learn"
        ],
        "summary": "Delete knowledge file search",
        "operationId": "deleteApiV1LearnKnowledge-file-search",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/learn/knowledge-search": {
      "get": {
        "tags": [
          "learn"
        ],
        "summary": "List knowledge search",
        "operationId": "getApiV1LearnKnowledge-search",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/learn/knowledge-sync/enqueue": {
      "post": {
        "tags": [
          "learn"
        ],
        "summary": "Upsert enqueue",
        "operationId": "postApiV1LearnKnowledge-syncEnqueue",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/misc/assistant/action-events": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List action events",
        "operationId": "getApiV1MiscAssistantAction-events",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/misc/assistant/chat": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List chat",
        "operationId": "getApiV1MiscAssistantChat",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert chat",
        "operationId": "postApiV1MiscAssistantChat",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/misc/assistant/confirm": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert confirm",
        "operationId": "postApiV1MiscAssistantConfirm",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/misc/assistant/sessions": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List sessions",
        "operationId": "getApiV1MiscAssistantSessions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/misc/assistant/sessions/{id}/messages": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List messages",
        "operationId": "getApiV1MiscAssistantSessionsByIdMessages",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/order/internal_transfers/{order_id}/compute": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert compute",
        "operationId": "postApiV1OrderInternal_transfersByIdCompute",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: order_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal_transfers/{order_id}/finalize": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert finalize",
        "operationId": "postApiV1OrderInternal_transfersByIdFinalize",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: order_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/internal_transfers/{order_id}/vendor_pricing_options": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List vendor pricing options",
        "operationId": "getApiV1OrderInternal_transfersByIdVendor_pricing_options",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: order_id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/order/pricing-reviews/{reviewId}/apply": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert apply",
        "operationId": "postApiV1OrderPricing-reviewsByIdApply",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/pricing-reviews/{reviewId}/extract": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert extract",
        "operationId": "postApiV1OrderPricing-reviewsByIdExtract",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/pricing-reviews/{reviewId}/observations": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert observations",
        "operationId": "postApiV1OrderPricing-reviewsByIdObservations",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/pricing-reviews/{reviewId}/observations/{observationId}": {
      "patch": {
        "tags": [
          "order"
        ],
        "summary": "Update observations",
        "operationId": "patchApiV1OrderPricing-reviewsByIdObservationsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          },
          {
            "name": "observationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: observationId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "order"
        ],
        "summary": "Delete observations",
        "operationId": "deleteApiV1OrderPricing-reviewsByIdObservationsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "reviewId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: reviewId."
          },
          {
            "name": "observationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: observationId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendors/{vendorId}/pricing-receipts": {
      "get": {
        "tags": [
          "order"
        ],
        "summary": "List pricing receipts",
        "operationId": "getApiV1OrderVendorsByIdPricing-receipts",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "vendorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: vendorId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/order/vendors/{vendorId}/pricing-reviews": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert pricing reviews",
        "operationId": "postApiV1OrderVendorsByIdPricing-reviews",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "vendorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: vendorId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendors/{vendorId}/pricing-reviews/archive": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert archive",
        "operationId": "postApiV1OrderVendorsByIdPricing-reviewsArchive",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "vendorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: vendorId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/order/vendors/{vendorId}/pricing-reviews/extract": {
      "post": {
        "tags": [
          "order"
        ],
        "summary": "Upsert extract",
        "operationId": "postApiV1OrderVendorsByIdPricing-reviewsExtract",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "vendorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: vendorId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/people/user": {
      "get": {
        "tags": [
          "people"
        ],
        "summary": "List user",
        "operationId": "getApiV1PeopleUser",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "delete": {
        "tags": [
          "people"
        ],
        "summary": "Delete user",
        "operationId": "deleteApiV1PeopleUser",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "people"
        ],
        "summary": "Update user",
        "operationId": "patchApiV1PeopleUser",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "people"
        ],
        "summary": "Insert user",
        "operationId": "putApiV1PeopleUser",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/people/user/memberships": {
      "get": {
        "tags": [
          "people"
        ],
        "summary": "List memberships",
        "operationId": "getApiV1PeopleUserMemberships",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "people"
        ],
        "summary": "Upsert memberships",
        "operationId": "postApiV1PeopleUserMemberships",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "people"
        ],
        "summary": "Update memberships",
        "operationId": "patchApiV1PeopleUserMemberships",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/people/user/reactivate": {
      "post": {
        "tags": [
          "people"
        ],
        "summary": "Upsert reactivate",
        "operationId": "postApiV1PeopleUserReactivate",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/people/user-onboarding/apply-payroll": {
      "post": {
        "tags": [
          "people"
        ],
        "summary": "Upsert apply payroll",
        "operationId": "postApiV1PeopleUser-onboardingApply-payroll",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/brave/images": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List images",
        "operationId": "getApiV1ProductionBraveImages",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/images": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert images",
        "operationId": "postApiV1ProductionImages",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/ingredient-label-parser": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert ingredient label parser",
        "operationId": "postApiV1ProductionIngredient-label-parser",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/inventory/square-sync": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert square sync",
        "operationId": "postApiV1ProductionInventorySquare-sync",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/materialize-global-ingredient": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert materialize global ingredient",
        "operationId": "postApiV1ProductionMaterialize-global-ingredient",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/nutrition-label-parser": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert nutrition label parser",
        "operationId": "postApiV1ProductionNutrition-label-parser",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-costs": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe costs",
        "operationId": "getApiV1ProductionRecipe-costs",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/recipe-import-ai": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe import ai",
        "operationId": "postApiV1ProductionRecipe-import-ai",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-labor-costs": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe labor costs",
        "operationId": "getApiV1ProductionRecipe-labor-costs",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/recipe-simulation-ai": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe simulation ai",
        "operationId": "postApiV1ProductionRecipe-simulation-ai",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-user-activity": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe user activity",
        "operationId": "getApiV1ProductionRecipe-user-activity",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/recipe-user-stars": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe user stars",
        "operationId": "postApiV1ProductionRecipe-user-stars",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "production"
        ],
        "summary": "Delete recipe user stars",
        "operationId": "deleteApiV1ProductionRecipe-user-stars",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipe-user-views": {
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipe user views",
        "operationId": "postApiV1ProductionRecipe-user-views",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipes": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipes",
        "operationId": "getApiV1ProductionRecipes",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "put": {
        "tags": [
          "production"
        ],
        "summary": "Insert recipes",
        "operationId": "putApiV1ProductionRecipes",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "production"
        ],
        "summary": "Update recipes",
        "operationId": "patchApiV1ProductionRecipes",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert recipes",
        "operationId": "postApiV1ProductionRecipes",
        "description": "API endpoint.",
        "parameters": [
          {
            "$ref": "#/components/parameters/columns"
          },
          {
            "$ref": "#/components/parameters/filter"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/recipes-nutrients/{recipeIDs}": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "Get recipes nutrients",
        "operationId": "getApiV1ProductionRecipes-nutrientsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "recipeIDs",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: recipeIDs."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/temp-fix-mixer-profiles": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List temp fix mixer profiles",
        "operationId": "getApiV1ProductionTemp-fix-mixer-profiles",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/unique-nutrient-item-ids": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List unique nutrient item ids",
        "operationId": "getApiV1ProductionUnique-nutrient-item-ids",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/usda-food-data/item/{fdcId}": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "Get item",
        "operationId": "getApiV1ProductionUsda-food-dataItemById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "fdcId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: fdcId."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/production/usda-food-data/items": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List items",
        "operationId": "getApiV1ProductionUsda-food-dataItems",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert items",
        "operationId": "postApiV1ProductionUsda-food-dataItems",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/production/usda-food-data/search": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List search",
        "operationId": "getApiV1ProductionUsda-food-dataSearch",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "production"
        ],
        "summary": "Upsert search",
        "operationId": "postApiV1ProductionUsda-food-dataSearch",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/clone-week": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert clone week",
        "operationId": "postApiV1ScheduleClone-week",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/leave_requests": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List leave requests",
        "operationId": "getApiV1ScheduleLeave_requests",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert leave requests",
        "operationId": "postApiV1ScheduleLeave_requests",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "schedule"
        ],
        "summary": "Update leave requests",
        "operationId": "patchApiV1ScheduleLeave_requests",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/leave_requests/{id}": {
      "delete": {
        "tags": [
          "schedule"
        ],
        "summary": "Delete leave requests",
        "operationId": "deleteApiV1ScheduleLeave_requestsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/leave_requests/{id}/decide": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert decide",
        "operationId": "postApiV1ScheduleLeave_requestsByIdDecide",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/policy": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List policy",
        "operationId": "getApiV1SchedulePolicy",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "schedule"
        ],
        "summary": "Update policy",
        "operationId": "patchApiV1SchedulePolicy",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/publish-week": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert publish week",
        "operationId": "postApiV1SchedulePublish-week",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/roles": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List roles",
        "operationId": "getApiV1ScheduleRoles",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert roles",
        "operationId": "postApiV1ScheduleRoles",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "schedule"
        ],
        "summary": "Update roles",
        "operationId": "patchApiV1ScheduleRoles",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/shifts": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List shifts",
        "operationId": "getApiV1ScheduleShifts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert shifts",
        "operationId": "postApiV1ScheduleShifts",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/shifts/{id}": {
      "patch": {
        "tags": [
          "schedule"
        ],
        "summary": "Update shifts",
        "operationId": "patchApiV1ScheduleShiftsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "schedule"
        ],
        "summary": "Delete shifts",
        "operationId": "deleteApiV1ScheduleShiftsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timecards/approve": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert approve",
        "operationId": "postApiV1ScheduleTimecardsApprove",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timecards/entries": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List entries",
        "operationId": "getApiV1ScheduleTimecardsEntries",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert entries",
        "operationId": "postApiV1ScheduleTimecardsEntries",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timecards/entries/{id}": {
      "patch": {
        "tags": [
          "schedule"
        ],
        "summary": "Update entries",
        "operationId": "patchApiV1ScheduleTimecardsEntriesById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "schedule"
        ],
        "summary": "Delete entries",
        "operationId": "deleteApiV1ScheduleTimecardsEntriesById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timecards/entries/{id}/approve": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert approve",
        "operationId": "postApiV1ScheduleTimecardsEntriesByIdApprove",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "schedule"
        ],
        "summary": "Delete approve",
        "operationId": "deleteApiV1ScheduleTimecardsEntriesByIdApprove",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timecards/entries/{id}/close": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert close",
        "operationId": "postApiV1ScheduleTimecardsEntriesByIdClose",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timecards/summary": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List summary",
        "operationId": "getApiV1ScheduleTimecardsSummary",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/v1/schedule/timeclocks/devices": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List devices",
        "operationId": "getApiV1ScheduleTimeclocksDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "patch": {
        "tags": [
          "schedule"
        ],
        "summary": "Update devices",
        "operationId": "patchApiV1ScheduleTimeclocksDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert devices",
        "operationId": "postApiV1ScheduleTimeclocksDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "schedule"
        ],
        "summary": "Delete devices",
        "operationId": "deleteApiV1ScheduleTimeclocksDevices",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/schedule/timeclocks/setup-code": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert setup code",
        "operationId": "postApiV1ScheduleTimeclocksSetup-code",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/checklist-ai-generator": {
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert checklist ai generator",
        "operationId": "postApiV1TasksChecklist-ai-generator",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspection-ai-summary": {
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert inspection ai summary",
        "operationId": "postApiV1TasksInspection-ai-summary",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspections/delete": {
      "delete": {
        "tags": [
          "tasks"
        ],
        "summary": "Delete delete",
        "operationId": "deleteApiV1TasksInspectionsDelete",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/v1/tasks/inspections/submit": {
      "post": {
        "tags": [
          "tasks"
        ],
        "summary": "Upsert submit",
        "operationId": "postApiV1TasksInspectionsSubmit",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/cron/tenant-social-publish": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List tenant social publish",
        "operationId": "getApiCronTenant-social-publish",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      },
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert tenant social publish",
        "operationId": "postApiCronTenant-social-publish",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/images": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert images",
        "operationId": "postApiImages",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/internal/backup-failure-alert": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert backup failure alert",
        "operationId": "postApiInternalBackup-failure-alert",
        "description": "Internal or integration endpoint. Use with caution; often requires signed payloads or privileged access.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "x-wazi-internal": true,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/kds/actions": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert actions",
        "operationId": "postApiKdsActions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/kds/setup": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert setup",
        "operationId": "postApiKdsSetup",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/kds/state": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List state",
        "operationId": "getApiKdsState",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/public/company-onboarding": {
      "put": {
        "tags": [
          "misc"
        ],
        "summary": "Insert company onboarding",
        "operationId": "putApiPublicCompany-onboarding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/public/customer-surveys/submit": {
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert submit",
        "operationId": "putApiPublicCustomer-surveysSubmit",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/public/demo-account/start": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert start",
        "operationId": "postApiPublicDemo-accountStart",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/public/demo-company/restore": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert restore",
        "operationId": "postApiPublicDemo-companyRestore",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/public/help/search": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List search",
        "operationId": "getApiPublicHelpSearch",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/public/nutrient-definitions": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List nutrient definitions",
        "operationId": "getApiPublicNutrient-definitions",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/public/payroll/confirm-email": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert confirm email",
        "operationId": "postApiPublicPayrollConfirm-email",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/public/recipe-components": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipe components",
        "operationId": "getApiPublicRecipe-components",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/public/recipes": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List recipes",
        "operationId": "getApiPublicRecipes",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/public/recipes-nutrients/{recipeIDs}": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "Get recipes nutrients",
        "operationId": "getApiPublicRecipes-nutrientsById",
        "description": "API endpoint.",
        "parameters": [
          {
            "name": "recipeIDs",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Path parameter: recipeIDs."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/public/units": {
      "get": {
        "tags": [
          "production"
        ],
        "summary": "List units",
        "operationId": "getApiPublicUnits",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/public/user-onboarding": {
      "put": {
        "tags": [
          "people"
        ],
        "summary": "Insert user onboarding",
        "operationId": "putApiPublicUser-onboarding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/public/wholesale-client-onboarding": {
      "put": {
        "tags": [
          "customers"
        ],
        "summary": "Insert wholesale client onboarding",
        "operationId": "putApiPublicWholesale-client-onboarding",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/timeclock/punch-in": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert punch in",
        "operationId": "postApiTimeclockPunch-in",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/timeclock/punch-out": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert punch out",
        "operationId": "postApiTimeclockPunch-out",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/timeclock/setup": {
      "post": {
        "tags": [
          "schedule"
        ],
        "summary": "Upsert setup",
        "operationId": "postApiTimeclockSetup",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/timeclock/state": {
      "get": {
        "tags": [
          "schedule"
        ],
        "summary": "List state",
        "operationId": "getApiTimeclockState",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    },
    "/api/tv/setup": {
      "post": {
        "tags": [
          "misc"
        ],
        "summary": "Upsert setup",
        "operationId": "postApiTvSetup",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "/api/tv/state": {
      "get": {
        "tags": [
          "misc"
        ],
        "summary": "List state",
        "operationId": "getApiTvState",
        "description": "API endpoint.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          },
          {
            "bearerAuth": []
          },
          {
            "supabaseCookie": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ]
      },
      "AccountingLoanAccountMappings": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_loan_account_mappings'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingLoanExtraPayments": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_loan_extra_payments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingLoanOpeningEntries": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_loan_opening_entries'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingLoanPaymentPosts": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_loan_payment_posts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingLoanScheduleLines": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_loan_schedule_lines'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingLoans": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_loans'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquareLocationMap": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_location_map'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquarePayments": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_payments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquarePayoutEntries": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_payout_entries'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquarePayouts": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_payouts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquareRefunds": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_refunds'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquareSourceMap": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_source_map'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingSquareWebhookEvents": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_square_webhook_events'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingStripePayments": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_stripe_payments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingStripePayouts": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_stripe_payouts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AccountingStripeWebhookEvents": {
        "type": "object",
        "description": "Row from Supabase table 'accounting_stripe_webhook_events'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ExpenseDocumentExtractions": {
        "type": "object",
        "description": "Row from Supabase table 'expense_document_extractions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ExpenseDocuments": {
        "type": "object",
        "description": "Row from Supabase table 'expense_documents'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ExpenseDrafts": {
        "type": "object",
        "description": "Row from Supabase table 'expense_drafts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ExpenseRules": {
        "type": "object",
        "description": "Row from Supabase table 'expense_rules'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GoogleDriveConnections": {
        "type": "object",
        "description": "Row from Supabase table 'google_drive_connections'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GoogleDriveImportJobs": {
        "type": "object",
        "description": "Row from Supabase table 'google_drive_import_jobs'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GoogleDriveMonitors": {
        "type": "object",
        "description": "Row from Supabase table 'google_drive_monitors'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GoogleDriveSyncLogs": {
        "type": "object",
        "description": "Row from Supabase table 'google_drive_sync_logs'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WeeklyPayrollData": {
        "type": "object",
        "description": "Row from Supabase table 'weekly_payroll_data'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollAccountingAccountMap": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_accounting_account_map'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollAzUiRate": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_az_ui_rate'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollCompensationProfile": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_compensation_profile'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollEmployeeLeavePolicy": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_employee_leave_policy'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollEmployeeTaxProfile": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_employee_tax_profile'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollHourlyRate": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_hourly_rate'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollLeaveBalance": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_leave_balance'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollLeavePolicy": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_leave_policy'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollPaystub": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_paystub'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollRunEarningLine": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_run_earning_line'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollRunEmployee": {
        "type": "object",
        "description": "Payroll run employees. One row per employee per run.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "payroll_run_id": {
            "type": "string",
            "format": "uuid"
          },
          "user_id": {
            "type": "string",
            "format": "uuid"
          },
          "gross_pay": {
            "type": "number"
          },
          "net_pay": {
            "type": "number"
          }
        }
      },
      "PayrollRunTaxLine": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_run_tax_line'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollRunTipAllocation": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_run_tip_allocation'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollRunTipPool": {
        "type": "object",
        "description": "Row from Supabase table 'payroll_run_tip_pool'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "PayrollRun": {
        "type": "object",
        "description": "Payroll runs. One row per payroll run.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "location_id": {
            "type": "integer"
          },
          "period_start": {
            "type": "string",
            "format": "date"
          },
          "period_end": {
            "type": "string",
            "format": "date"
          },
          "pay_date": {
            "type": "string",
            "format": "date"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "CompanySettings": {
        "type": "object",
        "description": "Row from Supabase table 'company_settings'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Location": {
        "type": "object",
        "description": "Locations. One row per location.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "hub": {
            "type": "boolean"
          }
        }
      },
      "UserRoutes": {
        "type": "object",
        "description": "Row from Supabase table 'user_routes'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Routes": {
        "type": "object",
        "description": "Row from Supabase table 'routes'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "IntegrationsGoogleConnections": {
        "type": "object",
        "description": "Row from Supabase table 'integrations_google_connections'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpAccount": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_account'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpLocation": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_location'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpLocationMapping": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_location_mapping'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpReview": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_review'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpReviewDraft": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_review_draft'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpReviewReplyHistory": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_review_reply_history'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpToneProfile": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_tone_profile'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpPolicy": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_policy'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GbpInsightsSnapshot": {
        "type": "object",
        "description": "Row from Supabase table 'gbp_insights_snapshot'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerCategories": {
        "type": "object",
        "description": "Row from Supabase table 'customer_categories'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerCategoryMemberships": {
        "type": "object",
        "description": "Row from Supabase table 'customer_category_memberships'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerContacts": {
        "type": "object",
        "description": "Customer contacts. One row per contact per customer.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "is_primary": {
            "type": "boolean"
          }
        }
      },
      "CustomerEmailAutomations": {
        "type": "object",
        "description": "Row from Supabase table 'customer_email_automations'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerEmailOutbox": {
        "type": "object",
        "description": "Row from Supabase table 'customer_email_outbox'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerInteractions": {
        "type": "object",
        "description": "Row from Supabase table 'customer_interactions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerInteractionTypes": {
        "type": "object",
        "description": "Row from Supabase table 'customer_interaction_types'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerLocations": {
        "type": "object",
        "description": "Customer delivery locations.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_id": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "postal": {
            "type": "string"
          }
        }
      },
      "CustomerSurveyNotifications": {
        "type": "object",
        "description": "Row from Supabase table 'customer_survey_notifications'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerSurveyQuestions": {
        "type": "object",
        "description": "Row from Supabase table 'customer_survey_questions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerSurveyResponses": {
        "type": "object",
        "description": "Row from Supabase table 'customer_survey_responses'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerSurveys": {
        "type": "object",
        "description": "Row from Supabase table 'customer_surveys'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerTypes": {
        "type": "object",
        "description": "Row from Supabase table 'customer_types'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CustomerUsers": {
        "type": "object",
        "description": "Row from Supabase table 'customer_users'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Customers": {
        "type": "object",
        "description": "Customer master records.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "WholesaleClientOnboarding": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_client_onboarding'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleCustomerOrderGuide": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_customer_order_guide'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleCustomerPaymentMethods": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_customer_payment_methods'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleCustomerPrices": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_customer_prices'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleCustomerSettings": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_customer_settings'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleFulfillmentBlackouts": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_fulfillment_blackouts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleFulfillmentMethods": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_fulfillment_methods'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleItemAvailability": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_item_availability'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleLocationSettings": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_location_settings'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleOrderItems": {
        "type": "object",
        "description": "Wholesale order lines. One row per item per wholesale order.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "order_id": {
            "type": "string",
            "format": "uuid"
          },
          "item_id": {
            "type": "integer",
            "format": "int64"
          },
          "quantity": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "line_total": {
            "type": "number"
          }
        }
      },
      "WholesaleOrderReminderOutbox": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_order_reminder_outbox'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleOrderTemplates": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_order_templates'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleOrders": {
        "type": "object",
        "description": "Wholesale orders. One row per order.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_id": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string"
          },
          "fulfillment_date": {
            "type": "string",
            "format": "date"
          },
          "total": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "WholesalePaymentTerms": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_payment_terms'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesalePaymentMethods": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_payment_methods'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesalePaymentProfiles": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_payment_profiles'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "WholesaleSettings": {
        "type": "object",
        "description": "Row from Supabase table 'wholesale_settings'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "EquipmentAssets": {
        "type": "object",
        "description": "Row from Supabase table 'equipment_assets'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "EquipmentChecklists": {
        "type": "object",
        "description": "Row from Supabase table 'equipment_checklists'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "EquipmentFiles": {
        "type": "object",
        "description": "Row from Supabase table 'equipment_files'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "EquipmentMaintenanceLogs": {
        "type": "object",
        "description": "Row from Supabase table 'equipment_maintenance_logs'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "EquipmentNotes": {
        "type": "object",
        "description": "Row from Supabase table 'equipment_notes'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "CoreValues": {
        "type": "object",
        "description": "Row from Supabase table 'core_values'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeAssets": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_assets'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeBrokenLinks": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_broken_links'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeCategories": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_categories'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeDiscussionComments": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_discussion_comments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeDiscussions": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_discussions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeDuplicateCandidates": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_duplicate_candidates'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeMentions": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_mentions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageActivityLog": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_activity_log'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageAliases": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_aliases'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageAssets": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_assets'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageBacklinks": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_backlinks'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageLinks": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_links'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageRelationships": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_relationships'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageReviewAssignments": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_review_assignments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageReviews": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_reviews'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageSearchIndex": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_search_index'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageTags": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_tags'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageVersions": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_versions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePageViews": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_page_views'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgePages": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_pages'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeRecentUpdates": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_recent_updates'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeSearchQueries": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_search_queries'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeSearchQuerySummary": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_search_query_summary'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeSearchSynonyms": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_search_synonyms'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeSearchTerms": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_search_terms'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "KnowledgeTags": {
        "type": "object",
        "description": "Row from Supabase table 'knowledge_tags'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "AiSkillLibrary": {
        "type": "object",
        "description": "Row from Supabase table 'ai_skill_library'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "QuizAnswerOptions": {
        "type": "object",
        "description": "Row from Supabase table 'quiz_answer_options'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "QuizQuestions": {
        "type": "object",
        "description": "Row from Supabase table 'quiz_questions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "TrainingCourses": {
        "type": "object",
        "description": "Row from Supabase table 'training_courses'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "TrainingModules": {
        "type": "object",
        "description": "Row from Supabase table 'training_modules'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "UserCourseProgress": {
        "type": "object",
        "description": "Row from Supabase table 'user_course_progress'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "UserQuizAnswers": {
        "type": "object",
        "description": "Row from Supabase table 'user_quiz_answers'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "UserQuizAttempts": {
        "type": "object",
        "description": "Row from Supabase table 'user_quiz_attempts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InternalTransferFulfillmentLines": {
        "type": "object",
        "description": "Row from Supabase table 'internal_transfer_fulfillment_lines'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InternalTransferFulfillments": {
        "type": "object",
        "description": "Row from Supabase table 'internal_transfer_fulfillments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InternalTransferReceiptLines": {
        "type": "object",
        "description": "Row from Supabase table 'internal_transfer_receipt_lines'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InternalTransferReceipts": {
        "type": "object",
        "description": "Row from Supabase table 'internal_transfer_receipts'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InternalTransferReports": {
        "type": "object",
        "description": "Row from Supabase table 'internal_transfer_reports'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "LocationDepartments": {
        "type": "object",
        "description": "Row from Supabase table 'location_departments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ItemsLocations": {
        "type": "object",
        "description": "Row from Supabase table 'items_locations'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "OrderItems": {
        "type": "object",
        "description": "Order line items. One row per item per order.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "order_id": {
            "type": "integer",
            "format": "int64"
          },
          "item_id": {
            "type": "integer",
            "format": "int64"
          },
          "quantity": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "OrderStatus": {
        "type": "object",
        "description": "Row from Supabase table 'order_status'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "OrderDetails": {
        "type": "object",
        "description": "Internal transfer or purchase order headers. One row per order.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "location": {
            "type": "integer"
          },
          "status_id": {
            "type": "integer",
            "format": "int64"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "VendorDeliveryDay": {
        "type": "object",
        "description": "Row from Supabase table 'vendor_delivery_day'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "VendorDepartments": {
        "type": "object",
        "description": "Row from Supabase table 'vendor_departments'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "VendorOrderMethods": {
        "type": "object",
        "description": "Row from Supabase table 'vendor_order_methods'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "VendorPricing": {
        "type": "object",
        "description": "Vendor pricing. One row per vendor price entry.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "vendor_id": {
            "type": "integer",
            "format": "int64"
          },
          "item_id": {
            "type": "integer",
            "format": "int64"
          },
          "price": {
            "type": "number"
          },
          "unit_quantity": {
            "type": "number"
          }
        }
      },
      "VendorConfig": {
        "type": "object",
        "description": "Row from Supabase table 'vendorConfig'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "UserOnboarding": {
        "type": "object",
        "description": "Row from Supabase table 'user_onboarding'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "UserRoles": {
        "type": "object",
        "description": "Row from Supabase table 'user_roles'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Profiles": {
        "type": "object",
        "description": "Row from Supabase table 'profiles'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ItemFdcData": {
        "type": "object",
        "description": "Row from Supabase table 'item_fdc_data'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "FoodCostGoals": {
        "type": "object",
        "description": "Row from Supabase table 'food_cost_goals'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "GlobalIngredients": {
        "type": "object",
        "description": "Row from Supabase table 'global_ingredients'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Items": {
        "type": "object",
        "description": "Inventory items. One row per item.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "item": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "recipe": {
            "type": "boolean"
          },
          "image_url": {
            "type": "string"
          },
          "cogs_account_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "InventoryMovements": {
        "type": "object",
        "description": "Inventory movement ledger for recipe/non-recipe stock deltas.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "company_id": {
            "type": "string",
            "format": "uuid"
          },
          "location_id": {
            "type": "integer"
          },
          "item_id": {
            "type": "integer",
            "format": "int64"
          },
          "unit_id": {
            "type": "integer",
            "format": "int64"
          },
          "delta_quantity": {
            "type": "number"
          },
          "event_at": {
            "type": "string",
            "format": "date-time"
          },
          "source_type": {
            "type": "string"
          },
          "source_ref": {
            "type": "string"
          }
        }
      },
      "LaborCostGoals": {
        "type": "object",
        "description": "Row from Supabase table 'labor_cost_goals'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "MixerProfiles": {
        "type": "object",
        "description": "Row from Supabase table 'mixer_profiles'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "UsdaNutrientDefinitions": {
        "type": "object",
        "description": "Row from Supabase table 'usda_nutrient_definitions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ItemNutrients": {
        "type": "object",
        "description": "Row from Supabase table 'item_nutrients'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ProductionPositionLocationRates": {
        "type": "object",
        "description": "Row from Supabase table 'production_position_location_rates'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ProductionPositions": {
        "type": "object",
        "description": "Row from Supabase table 'production_positions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ProductionRecipeLaborTasks": {
        "type": "object",
        "description": "Row from Supabase table 'production_recipe_labor_tasks'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "ProductionRecipeLaborTrials": {
        "type": "object",
        "description": "Row from Supabase table 'production_recipe_labor_trials'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "RecipesCategories": {
        "type": "object",
        "description": "Row from Supabase table 'recipes_categories'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "RecipeComponentVersions": {
        "type": "object",
        "description": "Row from Supabase table 'recipe_component_versions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "RecipeComponents": {
        "type": "object",
        "description": "Recipe components. One row per ingredient per recipe.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "recipe_id": {
            "type": "integer",
            "format": "int64"
          },
          "item_id": {
            "type": "integer",
            "format": "int64"
          },
          "unit_id": {
            "type": "integer",
            "format": "int64"
          },
          "quantity": {
            "type": "number"
          },
          "recipe_order": {
            "type": "integer"
          }
        }
      },
      "RecipeLocationPricing": {
        "type": "object",
        "description": "Row from Supabase table 'recipe_location_pricing'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "RecipeVersions": {
        "type": "object",
        "description": "Row from Supabase table 'recipe_versions'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "SquareRecipeMappingSuggestions": {
        "type": "object",
        "description": "Review queue for unmatched Square items with suggested recipe mappings.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "company_id": {
            "type": "string",
            "format": "uuid"
          },
          "square_item_key": {
            "type": "string"
          },
          "square_item_name": {
            "type": "string"
          },
          "variation_name": {
            "type": "string"
          },
          "variation_key": {
            "type": "string"
          },
          "suggested_recipe_id": {
            "type": "integer",
            "format": "int64"
          },
          "confidence": {
            "type": "number"
          },
          "match_method": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "source_seen_count": {
            "type": "integer"
          },
          "last_seen_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SquareRecipeMappings": {
        "type": "object",
        "description": "Approved mapping from Square line item keys to recipe depletion rules.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "company_id": {
            "type": "string",
            "format": "uuid"
          },
          "square_item_key": {
            "type": "string"
          },
          "variation_name": {
            "type": "string"
          },
          "variation_key": {
            "type": "string"
          },
          "recipe_id": {
            "type": "integer",
            "format": "int64"
          },
          "quantity_per_sale": {
            "type": "number"
          },
          "quantity_unit_id": {
            "type": "integer",
            "format": "int64"
          },
          "deplete_subrecipes": {
            "type": "boolean"
          },
          "track_parent_inventory": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          }
        }
      },
      "ItemSubIngredients": {
        "type": "object",
        "description": "Row from Supabase table 'item_sub_ingredients'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Units": {
        "type": "object",
        "description": "Unit definitions for items and recipes.",
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "unitName": {
            "type": "string"
          },
          "unitAbbreviation": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "conversionFactor": {
            "type": "number"
          },
          "nutrient": {
            "type": "boolean"
          }
        }
      },
      "InspectionCategories": {
        "type": "object",
        "description": "Row from Supabase table 'inspection_categories'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InspectionChecklists": {
        "type": "object",
        "description": "Row from Supabase table 'inspection_checklists'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InspectionItems": {
        "type": "object",
        "description": "Row from Supabase table 'inspection_items'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "InspectionItemResponses": {
        "type": "object",
        "description": "Row from Supabase table 'inspection_item_responses'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "VInspectionRollup": {
        "type": "object",
        "description": "Row from Supabase table 'v_inspection_rollup'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Inspections": {
        "type": "object",
        "description": "Row from Supabase table 'inspections'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "RecurringPatterns": {
        "type": "object",
        "description": "Row from Supabase table 'recurring_patterns'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "TaskAreas": {
        "type": "object",
        "description": "Row from Supabase table 'task_areas'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "TaskNotes": {
        "type": "object",
        "description": "Row from Supabase table 'task_notes'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "TaskPriorities": {
        "type": "object",
        "description": "Row from Supabase table 'task_priorities'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "Tasks": {
        "type": "object",
        "description": "Row from Supabase table 'tasks'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      },
      "TasksCompleted": {
        "type": "object",
        "description": "Row from Supabase table 'tasks_completed'. Schema is partial; additional properties may be present.",
        "additionalProperties": true,
        "properties": {}
      }
    },
    "parameters": {
      "columns": {
        "name": "columns",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Supabase select string. Use to project columns and relations (e.g. '*,item_id(*)')."
      },
      "filter": {
        "name": "filter",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "JSON-encoded filter object. Keys map to Supabase operators (eq, neq, gt, gte, lt, lte, in, like, ilike, is, contains, containedBy, overlap, etc.)."
      },
      "order": {
        "name": "order",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Sort format 'column:asc|desc'. Defaults to ascending."
      },
      "limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "description": "Maximum number of rows to return."
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Use `Authorization: Bearer wz_...` for company API keys."
      },
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "supabaseCookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "sb-access-token",
        "description": "Supabase auth cookie set by @supabase/ssr."
      }
    }
  },
  "security": [
    {
      "apiKeyAuth": []
    },
    {
      "bearerAuth": []
    },
    {
      "supabaseCookie": []
    }
  ]
}