{
	"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
												"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"checking_account_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
												"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"checking_account_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
										"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"checking_account_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
											"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"checking_account_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
												"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"checking_account_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
										"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"checking_account_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
											"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"checking_account_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
												"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"checking_account_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
										"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"checking_account_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"loan_payable_account_id": "00000000-0000-0000-0000-000000000000",
											"interest_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"checking_account_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"payment_date": "2026-01-01",
												"amount_cents": 1,
												"memo": "string",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"payment_date": "2026-01-01",
												"amount_cents": 1,
												"memo": "string",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"payment_date": "2026-01-01",
										"amount_cents": 1,
										"memo": "string",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"payment_date": "2026-01-01",
											"amount_cents": 1,
											"memo": "string",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"payment_date": "2026-01-01",
												"amount_cents": 1,
												"memo": "string",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"payment_date": "2026-01-01",
										"amount_cents": 1,
										"memo": "string",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"payment_date": "2026-01-01",
											"amount_cents": 1,
											"memo": "string",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"payment_date": "2026-01-01",
												"amount_cents": 1,
												"memo": "string",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"payment_date": "2026-01-01",
										"amount_cents": 1,
										"memo": "string",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"payment_date": "2026-01-01",
											"amount_cents": 1,
											"memo": "string",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"payment_date": "2026-01-01",
											"amount_cents": 1,
											"memo": "string",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"payment_date": "2026-01-01",
										"amount_cents": 1,
										"memo": "string",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"payment_date": "2026-01-01",
											"amount_cents": 1,
											"memo": "string",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"cutover_date": "2026-01-01",
												"opening_principal_cents": 1,
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"cutover_date": "2026-01-01",
												"opening_principal_cents": 1,
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"cutover_date": "2026-01-01",
										"opening_principal_cents": 1,
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"cutover_date": "2026-01-01",
											"opening_principal_cents": 1,
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"cutover_date": "2026-01-01",
												"opening_principal_cents": 1,
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"cutover_date": "2026-01-01",
										"opening_principal_cents": 1,
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"cutover_date": "2026-01-01",
											"opening_principal_cents": 1,
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"cutover_date": "2026-01-01",
												"opening_principal_cents": 1,
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"cutover_date": "2026-01-01",
										"opening_principal_cents": 1,
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"cutover_date": "2026-01-01",
											"opening_principal_cents": 1,
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
												"square_capital_payment_id": "string",
												"payout_id": "string",
												"effective_at": "2026-01-01T00:00:00.000Z",
												"entry_type": "string",
												"gross_cents": 1,
												"payment_cents": 1,
												"principal_cents": 1,
												"interest_cents": 1,
												"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
												"error_message": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
												"square_capital_payment_id": "string",
												"payout_id": "string",
												"effective_at": "2026-01-01T00:00:00.000Z",
												"entry_type": "string",
												"gross_cents": 1,
												"payment_cents": 1,
												"principal_cents": 1,
												"interest_cents": 1,
												"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
												"error_message": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
										"square_capital_payment_id": "string",
										"payout_id": "string",
										"effective_at": "2026-01-01T00:00:00.000Z",
										"entry_type": "string",
										"gross_cents": 1,
										"payment_cents": 1,
										"principal_cents": 1,
										"interest_cents": 1,
										"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
										"error_message": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
											"square_capital_payment_id": "string",
											"payout_id": "string",
											"effective_at": "2026-01-01T00:00:00.000Z",
											"entry_type": "string",
											"gross_cents": 1,
											"payment_cents": 1,
											"principal_cents": 1,
											"interest_cents": 1,
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
											"error_message": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
												"square_capital_payment_id": "string",
												"payout_id": "string",
												"effective_at": "2026-01-01T00:00:00.000Z",
												"entry_type": "string",
												"gross_cents": 1,
												"payment_cents": 1,
												"principal_cents": 1,
												"interest_cents": 1,
												"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
												"error_message": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
										"square_capital_payment_id": "string",
										"payout_id": "string",
										"effective_at": "2026-01-01T00:00:00.000Z",
										"entry_type": "string",
										"gross_cents": 1,
										"payment_cents": 1,
										"principal_cents": 1,
										"interest_cents": 1,
										"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
										"error_message": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
											"square_capital_payment_id": "string",
											"payout_id": "string",
											"effective_at": "2026-01-01T00:00:00.000Z",
											"entry_type": "string",
											"gross_cents": 1,
											"payment_cents": 1,
											"principal_cents": 1,
											"interest_cents": 1,
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
											"error_message": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
												"square_capital_payment_id": "string",
												"payout_id": "string",
												"effective_at": "2026-01-01T00:00:00.000Z",
												"entry_type": "string",
												"gross_cents": 1,
												"payment_cents": 1,
												"principal_cents": 1,
												"interest_cents": 1,
												"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
												"error_message": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
										"square_capital_payment_id": "string",
										"payout_id": "string",
										"effective_at": "2026-01-01T00:00:00.000Z",
										"entry_type": "string",
										"gross_cents": 1,
										"payment_cents": 1,
										"principal_cents": 1,
										"interest_cents": 1,
										"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
										"error_message": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
											"square_capital_payment_id": "string",
											"payout_id": "string",
											"effective_at": "2026-01-01T00:00:00.000Z",
											"entry_type": "string",
											"gross_cents": 1,
											"payment_cents": 1,
											"principal_cents": 1,
											"interest_cents": 1,
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
											"error_message": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
											"square_capital_payment_id": "string",
											"payout_id": "string",
											"effective_at": "2026-01-01T00:00:00.000Z",
											"entry_type": "string",
											"gross_cents": 1,
											"payment_cents": 1,
											"principal_cents": 1,
											"interest_cents": 1,
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
											"error_message": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
										"square_capital_payment_id": "string",
										"payout_id": "string",
										"effective_at": "2026-01-01T00:00:00.000Z",
										"entry_type": "string",
										"gross_cents": 1,
										"payment_cents": 1,
										"principal_cents": 1,
										"interest_cents": 1,
										"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
										"error_message": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"square_payout_entry_id": "00000000-0000-0000-0000-000000000000",
											"square_capital_payment_id": "string",
											"payout_id": "string",
											"effective_at": "2026-01-01T00:00:00.000Z",
											"entry_type": "string",
											"gross_cents": 1,
											"payment_cents": 1,
											"principal_cents": 1,
											"interest_cents": 1,
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"reversal_of_post_id": "00000000-0000-0000-0000-000000000000",
											"error_message": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"installment_number": 1,
												"due_date": "2026-01-01",
												"payment_amount_cents": 1,
												"interest_cents": 1,
												"principal_cents": 1,
												"remaining_principal_cents": 1,
												"status": "string",
												"approved_at": "2026-01-01T00:00:00.000Z",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"installment_number": 1,
												"due_date": "2026-01-01",
												"payment_amount_cents": 1,
												"interest_cents": 1,
												"principal_cents": 1,
												"remaining_principal_cents": 1,
												"status": "string",
												"approved_at": "2026-01-01T00:00:00.000Z",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"installment_number": 1,
										"due_date": "2026-01-01",
										"payment_amount_cents": 1,
										"interest_cents": 1,
										"principal_cents": 1,
										"remaining_principal_cents": 1,
										"status": "string",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"installment_number": 1,
											"due_date": "2026-01-01",
											"payment_amount_cents": 1,
											"interest_cents": 1,
											"principal_cents": 1,
											"remaining_principal_cents": 1,
											"status": "string",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"installment_number": 1,
												"due_date": "2026-01-01",
												"payment_amount_cents": 1,
												"interest_cents": 1,
												"principal_cents": 1,
												"remaining_principal_cents": 1,
												"status": "string",
												"approved_at": "2026-01-01T00:00:00.000Z",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"installment_number": 1,
										"due_date": "2026-01-01",
										"payment_amount_cents": 1,
										"interest_cents": 1,
										"principal_cents": 1,
										"remaining_principal_cents": 1,
										"status": "string",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"installment_number": 1,
											"due_date": "2026-01-01",
											"payment_amount_cents": 1,
											"interest_cents": 1,
											"principal_cents": 1,
											"remaining_principal_cents": 1,
											"status": "string",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_id": "00000000-0000-0000-0000-000000000000",
												"installment_number": 1,
												"due_date": "2026-01-01",
												"payment_amount_cents": 1,
												"interest_cents": 1,
												"principal_cents": 1,
												"remaining_principal_cents": 1,
												"status": "string",
												"approved_at": "2026-01-01T00:00:00.000Z",
												"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"installment_number": 1,
										"due_date": "2026-01-01",
										"payment_amount_cents": 1,
										"interest_cents": 1,
										"principal_cents": 1,
										"remaining_principal_cents": 1,
										"status": "string",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"installment_number": 1,
											"due_date": "2026-01-01",
											"payment_amount_cents": 1,
											"interest_cents": 1,
											"principal_cents": 1,
											"remaining_principal_cents": 1,
											"status": "string",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"installment_number": 1,
											"due_date": "2026-01-01",
											"payment_amount_cents": 1,
											"interest_cents": 1,
											"principal_cents": 1,
											"remaining_principal_cents": 1,
											"status": "string",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_id": "00000000-0000-0000-0000-000000000000",
										"installment_number": 1,
										"due_date": "2026-01-01",
										"payment_amount_cents": 1,
										"interest_cents": 1,
										"principal_cents": 1,
										"remaining_principal_cents": 1,
										"status": "string",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_id": "00000000-0000-0000-0000-000000000000",
											"installment_number": 1,
											"due_date": "2026-01-01",
											"payment_amount_cents": 1,
											"interest_cents": 1,
											"principal_cents": 1,
											"remaining_principal_cents": 1,
											"status": "string",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"posted_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_type": "string",
												"name": "string",
												"square_location_id": "string",
												"start_date": "2026-01-01",
												"status": "string",
												"advance_amount_cents": 1,
												"fixed_fee_cents": 1,
												"total_owed_cents": 1,
												"interest_ratio_bps": "string",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_type": "string",
												"name": "string",
												"square_location_id": "string",
												"start_date": "2026-01-01",
												"status": "string",
												"advance_amount_cents": 1,
												"fixed_fee_cents": 1,
												"total_owed_cents": 1,
												"interest_ratio_bps": "string",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_type": "string",
										"name": "string",
										"square_location_id": "string",
										"start_date": "2026-01-01",
										"status": "string",
										"advance_amount_cents": 1,
										"fixed_fee_cents": 1,
										"total_owed_cents": 1,
										"interest_ratio_bps": "string",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_type": "string",
												"name": "string",
												"square_location_id": "string",
												"start_date": "2026-01-01",
												"status": "string",
												"advance_amount_cents": 1,
												"fixed_fee_cents": 1,
												"total_owed_cents": 1,
												"interest_ratio_bps": "string",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_type": "string",
										"name": "string",
										"square_location_id": "string",
										"start_date": "2026-01-01",
										"status": "string",
										"advance_amount_cents": 1,
										"fixed_fee_cents": 1,
										"total_owed_cents": 1,
										"interest_ratio_bps": "string",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"loan_type": "string",
												"name": "string",
												"square_location_id": "string",
												"start_date": "2026-01-01",
												"status": "string",
												"advance_amount_cents": 1,
												"fixed_fee_cents": 1,
												"total_owed_cents": 1,
												"interest_ratio_bps": "string",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_type": "string",
										"name": "string",
										"square_location_id": "string",
										"start_date": "2026-01-01",
										"status": "string",
										"advance_amount_cents": 1,
										"fixed_fee_cents": 1,
										"total_owed_cents": 1,
										"interest_ratio_bps": "string",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"square_location_id": "string",
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"square_location_id": "string",
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"square_location_id": "string",
										"location_id": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"square_location_id": "string",
											"location_id": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"square_location_id": "string",
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"square_location_id": "string",
										"location_id": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"square_location_id": "string",
											"location_id": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"square_location_id": "string",
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"square_location_id": "string",
										"location_id": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"square_location_id": "string",
											"location_id": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payment_id": "string",
												"location_id_square": "string",
												"order_id": "string",
												"status": "string",
												"source_type": "string",
												"external_source": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payment": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"applicationDetails": {
														"applicationId": "string",
														"squareProduct": "string"
													},
													"approvedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"buyerEmailAddress": "string",
													"cardDetails": {
														"authResultCode": "string",
														"avsStatus": "string",
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"payment_account_reference": "string",
															"prepaidType": "string"
														},
														"cardPaymentTimeline": {
															"authorizedAt": "string",
															"capturedAt": "string"
														},
														"cvvStatus": "string",
														"entryMethod": "string",
														"statementDescription": "string",
														"status": "string"
													},
													"createdAt": "string",
													"customerId": "string",
													"delayAction": "string",
													"delayDuration": "string",
													"delayedUntil": "string",
													"employeeId": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"receiptNumber": "string",
													"receiptUrl": "string",
													"riskEvaluation": {
														"createdAt": "string",
														"riskLevel": "string"
													},
													"sourceType": "string",
													"status": "string",
													"teamMemberId": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"updatedAt": "string",
													"versionToken": "string"
												},
												"raw_order": {
													"closedAt": "string",
													"createdAt": "string",
													"customerId": "string",
													"id": "string",
													"lineItems": [
														{
															"appliedTaxes": [
																{
																	"appliedMoney": {
																		"amount": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		},
																		"currency": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		}
																	},
																	"taxUid": "string",
																	"uid": "string"
																}
															],
															"basePriceMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"grossSalesMoney": {
																"amount": "string",
																"currency": "string"
															},
															"itemType": "string",
															"name": "string",
															"quantity": "string",
															"totalDiscountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalServiceChargeMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalTaxMoney": {
																"amount": "string",
																"currency": "string"
															},
															"total_card_surcharge_money": {
																"amount": 1,
																"currency": "string"
															},
															"uid": "string",
															"variationName": "string",
															"variationTotalPriceMoney": {
																"amount": "string",
																"currency": "string"
															}
														}
													],
													"locationId": "string",
													"netAmountDueMoney": {
														"amount": "string",
														"currency": "string"
													},
													"netAmounts": {
														"card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"discountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"serviceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"taxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"tipMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														}
													},
													"source": {
														"name": "string"
													},
													"state": "string",
													"taxes": [
														{
															"appliedMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"name": "string",
															"percentage": "string",
															"scope": "string",
															"type": "string",
															"uid": "string"
														}
													],
													"tenders": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"cardDetails": {
																"card": {
																	"bin": "string",
																	"cardBrand": "string",
																	"cardType": "string",
																	"expMonth": "string",
																	"expYear": "string",
																	"fingerprint": "string",
																	"last4": "string",
																	"prepaidType": "string"
																},
																"entryMethod": "string",
																"status": "string"
															},
															"createdAt": "string",
															"id": "string",
															"locationId": "string",
															"paymentId": "string",
															"transactionId": "string",
															"type": "string"
														}
													],
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payment_id": "string",
												"location_id_square": "string",
												"order_id": "string",
												"status": "string",
												"source_type": "string",
												"external_source": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payment": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"applicationDetails": {
														"applicationId": "string",
														"squareProduct": "string"
													},
													"approvedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"buyerEmailAddress": "string",
													"cardDetails": {
														"authResultCode": "string",
														"avsStatus": "string",
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"payment_account_reference": "string",
															"prepaidType": "string"
														},
														"cardPaymentTimeline": {
															"authorizedAt": "string",
															"capturedAt": "string"
														},
														"cvvStatus": "string",
														"entryMethod": "string",
														"statementDescription": "string",
														"status": "string"
													},
													"createdAt": "string",
													"customerId": "string",
													"delayAction": "string",
													"delayDuration": "string",
													"delayedUntil": "string",
													"employeeId": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"receiptNumber": "string",
													"receiptUrl": "string",
													"riskEvaluation": {
														"createdAt": "string",
														"riskLevel": "string"
													},
													"sourceType": "string",
													"status": "string",
													"teamMemberId": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"updatedAt": "string",
													"versionToken": "string"
												},
												"raw_order": {
													"closedAt": "string",
													"createdAt": "string",
													"customerId": "string",
													"id": "string",
													"lineItems": [
														{
															"appliedTaxes": [
																{
																	"appliedMoney": {
																		"amount": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		},
																		"currency": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		}
																	},
																	"taxUid": "string",
																	"uid": "string"
																}
															],
															"basePriceMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"grossSalesMoney": {
																"amount": "string",
																"currency": "string"
															},
															"itemType": "string",
															"name": "string",
															"quantity": "string",
															"totalDiscountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalServiceChargeMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalTaxMoney": {
																"amount": "string",
																"currency": "string"
															},
															"total_card_surcharge_money": {
																"amount": 1,
																"currency": "string"
															},
															"uid": "string",
															"variationName": "string",
															"variationTotalPriceMoney": {
																"amount": "string",
																"currency": "string"
															}
														}
													],
													"locationId": "string",
													"netAmountDueMoney": {
														"amount": "string",
														"currency": "string"
													},
													"netAmounts": {
														"card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"discountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"serviceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"taxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"tipMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														}
													},
													"source": {
														"name": "string"
													},
													"state": "string",
													"taxes": [
														{
															"appliedMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"name": "string",
															"percentage": "string",
															"scope": "string",
															"type": "string",
															"uid": "string"
														}
													],
													"tenders": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"cardDetails": {
																"card": {
																	"bin": "string",
																	"cardBrand": "string",
																	"cardType": "string",
																	"expMonth": "string",
																	"expYear": "string",
																	"fingerprint": "string",
																	"last4": "string",
																	"prepaidType": "string"
																},
																"entryMethod": "string",
																"status": "string"
															},
															"createdAt": "string",
															"id": "string",
															"locationId": "string",
															"paymentId": "string",
															"transactionId": "string",
															"type": "string"
														}
													],
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payment_id": "string",
										"location_id_square": "string",
										"order_id": "string",
										"status": "string",
										"source_type": "string",
										"external_source": "string",
										"amount_cents": 1,
										"currency": "string",
										"tax_cents": 1,
										"tip_cents": 1,
										"fee_cents": 1,
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_payment": {
											"amountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"applicationDetails": {
												"applicationId": "string",
												"squareProduct": "string"
											},
											"approvedMoney": {
												"amount": "string",
												"currency": "string"
											},
											"buyerEmailAddress": "string",
											"cardDetails": {
												"authResultCode": "string",
												"avsStatus": "string",
												"card": {
													"bin": "string",
													"cardBrand": "string",
													"cardType": "string",
													"expMonth": "string",
													"expYear": "string",
													"fingerprint": "string",
													"last4": "string",
													"payment_account_reference": "string",
													"prepaidType": "string"
												},
												"cardPaymentTimeline": {
													"authorizedAt": "string",
													"capturedAt": "string"
												},
												"cvvStatus": "string",
												"entryMethod": "string",
												"statementDescription": "string",
												"status": "string"
											},
											"createdAt": "string",
											"customerId": "string",
											"delayAction": "string",
											"delayDuration": "string",
											"delayedUntil": "string",
											"employeeId": "string",
											"id": "string",
											"locationId": "string",
											"orderId": "string",
											"processingFee": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"effectiveAt": "string",
													"type": "string"
												}
											],
											"receiptNumber": "string",
											"receiptUrl": "string",
											"riskEvaluation": {
												"createdAt": "string",
												"riskLevel": "string"
											},
											"sourceType": "string",
											"status": "string",
											"teamMemberId": "string",
											"totalMoney": {
												"amount": "string",
												"currency": "string"
											},
											"updatedAt": "string",
											"versionToken": "string"
										},
										"raw_order": {
											"closedAt": "string",
											"createdAt": "string",
											"customerId": "string",
											"id": "string",
											"lineItems": [
												{
													"appliedTaxes": [
														{
															"appliedMoney": {
																"amount": {
																	"id": "string",
																	"name": "string",
																	"status": "string"
																},
																"currency": {
																	"id": "string",
																	"name": "string",
																	"status": "string"
																}
															},
															"taxUid": "string",
															"uid": "string"
														}
													],
													"basePriceMoney": {
														"amount": "string",
														"currency": "string"
													},
													"catalogObjectId": "string",
													"catalogVersion": "string",
													"grossSalesMoney": {
														"amount": "string",
														"currency": "string"
													},
													"itemType": "string",
													"name": "string",
													"quantity": "string",
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"uid": "string",
													"variationName": "string",
													"variationTotalPriceMoney": {
														"amount": "string",
														"currency": "string"
													}
												}
											],
											"locationId": "string",
											"netAmountDueMoney": {
												"amount": "string",
												"currency": "string"
											},
											"netAmounts": {
												"card_surcharge_money": {
													"amount": 1,
													"currency": "string"
												},
												"discountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"serviceChargeMoney": {
													"amount": "string",
													"currency": "string"
												},
												"taxMoney": {
													"amount": "string",
													"currency": "string"
												},
												"tipMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												}
											},
											"source": {
												"name": "string"
											},
											"state": "string",
											"taxes": [
												{
													"appliedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"catalogObjectId": "string",
													"catalogVersion": "string",
													"name": "string",
													"percentage": "string",
													"scope": "string",
													"type": "string",
													"uid": "string"
												}
											],
											"tenders": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"cardDetails": {
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"prepaidType": "string"
														},
														"entryMethod": "string",
														"status": "string"
													},
													"createdAt": "string",
													"id": "string",
													"locationId": "string",
													"paymentId": "string",
													"transactionId": "string",
													"type": "string"
												}
											],
											"totalDiscountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalServiceChargeMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalTaxMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalTipMoney": {
												"amount": "string",
												"currency": "string"
											},
											"total_card_surcharge_money": {
												"amount": 1,
												"currency": "string"
											},
											"updatedAt": "string",
											"version": 1
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payment_id": "string",
											"location_id_square": "string",
											"order_id": "string",
											"status": "string",
											"source_type": "string",
											"external_source": "string",
											"amount_cents": 1,
											"currency": "string",
											"tax_cents": 1,
											"tip_cents": 1,
											"fee_cents": 1,
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_payment": {
												"amountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"applicationDetails": {
													"applicationId": "string",
													"squareProduct": "string"
												},
												"approvedMoney": {
													"amount": "string",
													"currency": "string"
												},
												"buyerEmailAddress": "string",
												"cardDetails": {
													"authResultCode": "string",
													"avsStatus": "string",
													"card": {
														"bin": "string",
														"cardBrand": "string",
														"cardType": "string",
														"expMonth": "string",
														"expYear": "string",
														"fingerprint": "string",
														"last4": "string",
														"payment_account_reference": "string",
														"prepaidType": "string"
													},
													"cardPaymentTimeline": {
														"authorizedAt": "string",
														"capturedAt": "string"
													},
													"cvvStatus": "string",
													"entryMethod": "string",
													"statementDescription": "string",
													"status": "string"
												},
												"createdAt": "string",
												"customerId": "string",
												"delayAction": "string",
												"delayDuration": "string",
												"delayedUntil": "string",
												"employeeId": "string",
												"id": "string",
												"locationId": "string",
												"orderId": "string",
												"processingFee": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"effectiveAt": "string",
														"type": "string"
													}
												],
												"receiptNumber": "string",
												"receiptUrl": "string",
												"riskEvaluation": {
													"createdAt": "string",
													"riskLevel": "string"
												},
												"sourceType": "string",
												"status": "string",
												"teamMemberId": "string",
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"updatedAt": "string",
												"versionToken": "string"
											},
											"raw_order": {
												"closedAt": "string",
												"createdAt": "string",
												"customerId": "string",
												"id": "string",
												"lineItems": [
													{
														"appliedTaxes": [
															{
																"appliedMoney": {
																	"amount": {
																		"id": "string",
																		"name": "string",
																		"status": "string"
																	},
																	"currency": {
																		"id": "string",
																		"name": "string",
																		"status": "string"
																	}
																},
																"taxUid": "string",
																"uid": "string"
															}
														],
														"basePriceMoney": {
															"amount": "string",
															"currency": "string"
														},
														"catalogObjectId": "string",
														"catalogVersion": "string",
														"grossSalesMoney": {
															"amount": "string",
															"currency": "string"
														},
														"itemType": "string",
														"name": "string",
														"quantity": "string",
														"totalDiscountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalServiceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalTaxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"total_card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"uid": "string",
														"variationName": "string",
														"variationTotalPriceMoney": {
															"amount": "string",
															"currency": "string"
														}
													}
												],
												"locationId": "string",
												"netAmountDueMoney": {
													"amount": "string",
													"currency": "string"
												},
												"netAmounts": {
													"card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"discountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"serviceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"taxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"tipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													}
												},
												"source": {
													"name": "string"
												},
												"state": "string",
												"taxes": [
													{
														"appliedMoney": {
															"amount": "string",
															"currency": "string"
														},
														"catalogObjectId": "string",
														"catalogVersion": "string",
														"name": "string",
														"percentage": "string",
														"scope": "string",
														"type": "string",
														"uid": "string"
													}
												],
												"tenders": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"cardDetails": {
															"card": {
																"bin": "string",
																"cardBrand": "string",
																"cardType": "string",
																"expMonth": "string",
																"expYear": "string",
																"fingerprint": "string",
																"last4": "string",
																"prepaidType": "string"
															},
															"entryMethod": "string",
															"status": "string"
														},
														"createdAt": "string",
														"id": "string",
														"locationId": "string",
														"paymentId": "string",
														"transactionId": "string",
														"type": "string"
													}
												],
												"totalDiscountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalServiceChargeMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalTaxMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalTipMoney": {
													"amount": "string",
													"currency": "string"
												},
												"total_card_surcharge_money": {
													"amount": 1,
													"currency": "string"
												},
												"updatedAt": "string",
												"version": 1
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payment_id": "string",
												"location_id_square": "string",
												"order_id": "string",
												"status": "string",
												"source_type": "string",
												"external_source": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payment": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"applicationDetails": {
														"applicationId": "string",
														"squareProduct": "string"
													},
													"approvedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"buyerEmailAddress": "string",
													"cardDetails": {
														"authResultCode": "string",
														"avsStatus": "string",
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"payment_account_reference": "string",
															"prepaidType": "string"
														},
														"cardPaymentTimeline": {
															"authorizedAt": "string",
															"capturedAt": "string"
														},
														"cvvStatus": "string",
														"entryMethod": "string",
														"statementDescription": "string",
														"status": "string"
													},
													"createdAt": "string",
													"customerId": "string",
													"delayAction": "string",
													"delayDuration": "string",
													"delayedUntil": "string",
													"employeeId": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"receiptNumber": "string",
													"receiptUrl": "string",
													"riskEvaluation": {
														"createdAt": "string",
														"riskLevel": "string"
													},
													"sourceType": "string",
													"status": "string",
													"teamMemberId": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"updatedAt": "string",
													"versionToken": "string"
												},
												"raw_order": {
													"closedAt": "string",
													"createdAt": "string",
													"customerId": "string",
													"id": "string",
													"lineItems": [
														{
															"appliedTaxes": [
																{
																	"appliedMoney": {
																		"amount": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		},
																		"currency": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		}
																	},
																	"taxUid": "string",
																	"uid": "string"
																}
															],
															"basePriceMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"grossSalesMoney": {
																"amount": "string",
																"currency": "string"
															},
															"itemType": "string",
															"name": "string",
															"quantity": "string",
															"totalDiscountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalServiceChargeMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalTaxMoney": {
																"amount": "string",
																"currency": "string"
															},
															"total_card_surcharge_money": {
																"amount": 1,
																"currency": "string"
															},
															"uid": "string",
															"variationName": "string",
															"variationTotalPriceMoney": {
																"amount": "string",
																"currency": "string"
															}
														}
													],
													"locationId": "string",
													"netAmountDueMoney": {
														"amount": "string",
														"currency": "string"
													},
													"netAmounts": {
														"card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"discountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"serviceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"taxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"tipMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														}
													},
													"source": {
														"name": "string"
													},
													"state": "string",
													"taxes": [
														{
															"appliedMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"name": "string",
															"percentage": "string",
															"scope": "string",
															"type": "string",
															"uid": "string"
														}
													],
													"tenders": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"cardDetails": {
																"card": {
																	"bin": "string",
																	"cardBrand": "string",
																	"cardType": "string",
																	"expMonth": "string",
																	"expYear": "string",
																	"fingerprint": "string",
																	"last4": "string",
																	"prepaidType": "string"
																},
																"entryMethod": "string",
																"status": "string"
															},
															"createdAt": "string",
															"id": "string",
															"locationId": "string",
															"paymentId": "string",
															"transactionId": "string",
															"type": "string"
														}
													],
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payment_id": "string",
										"location_id_square": "string",
										"order_id": "string",
										"status": "string",
										"source_type": "string",
										"external_source": "string",
										"amount_cents": 1,
										"currency": "string",
										"tax_cents": 1,
										"tip_cents": 1,
										"fee_cents": 1,
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_payment": {
											"amountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"applicationDetails": {
												"applicationId": "string",
												"squareProduct": "string"
											},
											"approvedMoney": {
												"amount": "string",
												"currency": "string"
											},
											"buyerEmailAddress": "string",
											"cardDetails": {
												"authResultCode": "string",
												"avsStatus": "string",
												"card": {
													"bin": "string",
													"cardBrand": "string",
													"cardType": "string",
													"expMonth": "string",
													"expYear": "string",
													"fingerprint": "string",
													"last4": "string",
													"payment_account_reference": "string",
													"prepaidType": "string"
												},
												"cardPaymentTimeline": {
													"authorizedAt": "string",
													"capturedAt": "string"
												},
												"cvvStatus": "string",
												"entryMethod": "string",
												"statementDescription": "string",
												"status": "string"
											},
											"createdAt": "string",
											"customerId": "string",
											"delayAction": "string",
											"delayDuration": "string",
											"delayedUntil": "string",
											"employeeId": "string",
											"id": "string",
											"locationId": "string",
											"orderId": "string",
											"processingFee": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"effectiveAt": "string",
													"type": "string"
												}
											],
											"receiptNumber": "string",
											"receiptUrl": "string",
											"riskEvaluation": {
												"createdAt": "string",
												"riskLevel": "string"
											},
											"sourceType": "string",
											"status": "string",
											"teamMemberId": "string",
											"totalMoney": {
												"amount": "string",
												"currency": "string"
											},
											"updatedAt": "string",
											"versionToken": "string"
										},
										"raw_order": {
											"closedAt": "string",
											"createdAt": "string",
											"customerId": "string",
											"id": "string",
											"lineItems": [
												{
													"appliedTaxes": [
														{
															"appliedMoney": {
																"amount": {
																	"id": "string",
																	"name": "string",
																	"status": "string"
																},
																"currency": {
																	"id": "string",
																	"name": "string",
																	"status": "string"
																}
															},
															"taxUid": "string",
															"uid": "string"
														}
													],
													"basePriceMoney": {
														"amount": "string",
														"currency": "string"
													},
													"catalogObjectId": "string",
													"catalogVersion": "string",
													"grossSalesMoney": {
														"amount": "string",
														"currency": "string"
													},
													"itemType": "string",
													"name": "string",
													"quantity": "string",
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"uid": "string",
													"variationName": "string",
													"variationTotalPriceMoney": {
														"amount": "string",
														"currency": "string"
													}
												}
											],
											"locationId": "string",
											"netAmountDueMoney": {
												"amount": "string",
												"currency": "string"
											},
											"netAmounts": {
												"card_surcharge_money": {
													"amount": 1,
													"currency": "string"
												},
												"discountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"serviceChargeMoney": {
													"amount": "string",
													"currency": "string"
												},
												"taxMoney": {
													"amount": "string",
													"currency": "string"
												},
												"tipMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												}
											},
											"source": {
												"name": "string"
											},
											"state": "string",
											"taxes": [
												{
													"appliedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"catalogObjectId": "string",
													"catalogVersion": "string",
													"name": "string",
													"percentage": "string",
													"scope": "string",
													"type": "string",
													"uid": "string"
												}
											],
											"tenders": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"cardDetails": {
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"prepaidType": "string"
														},
														"entryMethod": "string",
														"status": "string"
													},
													"createdAt": "string",
													"id": "string",
													"locationId": "string",
													"paymentId": "string",
													"transactionId": "string",
													"type": "string"
												}
											],
											"totalDiscountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalServiceChargeMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalTaxMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalTipMoney": {
												"amount": "string",
												"currency": "string"
											},
											"total_card_surcharge_money": {
												"amount": 1,
												"currency": "string"
											},
											"updatedAt": "string",
											"version": 1
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payment_id": "string",
											"location_id_square": "string",
											"order_id": "string",
											"status": "string",
											"source_type": "string",
											"external_source": "string",
											"amount_cents": 1,
											"currency": "string",
											"tax_cents": 1,
											"tip_cents": 1,
											"fee_cents": 1,
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_payment": {
												"amountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"applicationDetails": {
													"applicationId": "string",
													"squareProduct": "string"
												},
												"approvedMoney": {
													"amount": "string",
													"currency": "string"
												},
												"buyerEmailAddress": "string",
												"cardDetails": {
													"authResultCode": "string",
													"avsStatus": "string",
													"card": {
														"bin": "string",
														"cardBrand": "string",
														"cardType": "string",
														"expMonth": "string",
														"expYear": "string",
														"fingerprint": "string",
														"last4": "string",
														"payment_account_reference": "string",
														"prepaidType": "string"
													},
													"cardPaymentTimeline": {
														"authorizedAt": "string",
														"capturedAt": "string"
													},
													"cvvStatus": "string",
													"entryMethod": "string",
													"statementDescription": "string",
													"status": "string"
												},
												"createdAt": "string",
												"customerId": "string",
												"delayAction": "string",
												"delayDuration": "string",
												"delayedUntil": "string",
												"employeeId": "string",
												"id": "string",
												"locationId": "string",
												"orderId": "string",
												"processingFee": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"effectiveAt": "string",
														"type": "string"
													}
												],
												"receiptNumber": "string",
												"receiptUrl": "string",
												"riskEvaluation": {
													"createdAt": "string",
													"riskLevel": "string"
												},
												"sourceType": "string",
												"status": "string",
												"teamMemberId": "string",
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"updatedAt": "string",
												"versionToken": "string"
											},
											"raw_order": {
												"closedAt": "string",
												"createdAt": "string",
												"customerId": "string",
												"id": "string",
												"lineItems": [
													{
														"appliedTaxes": [
															{
																"appliedMoney": {
																	"amount": {
																		"id": "string",
																		"name": "string",
																		"status": "string"
																	},
																	"currency": {
																		"id": "string",
																		"name": "string",
																		"status": "string"
																	}
																},
																"taxUid": "string",
																"uid": "string"
															}
														],
														"basePriceMoney": {
															"amount": "string",
															"currency": "string"
														},
														"catalogObjectId": "string",
														"catalogVersion": "string",
														"grossSalesMoney": {
															"amount": "string",
															"currency": "string"
														},
														"itemType": "string",
														"name": "string",
														"quantity": "string",
														"totalDiscountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalServiceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalTaxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"total_card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"uid": "string",
														"variationName": "string",
														"variationTotalPriceMoney": {
															"amount": "string",
															"currency": "string"
														}
													}
												],
												"locationId": "string",
												"netAmountDueMoney": {
													"amount": "string",
													"currency": "string"
												},
												"netAmounts": {
													"card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"discountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"serviceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"taxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"tipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													}
												},
												"source": {
													"name": "string"
												},
												"state": "string",
												"taxes": [
													{
														"appliedMoney": {
															"amount": "string",
															"currency": "string"
														},
														"catalogObjectId": "string",
														"catalogVersion": "string",
														"name": "string",
														"percentage": "string",
														"scope": "string",
														"type": "string",
														"uid": "string"
													}
												],
												"tenders": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"cardDetails": {
															"card": {
																"bin": "string",
																"cardBrand": "string",
																"cardType": "string",
																"expMonth": "string",
																"expYear": "string",
																"fingerprint": "string",
																"last4": "string",
																"prepaidType": "string"
															},
															"entryMethod": "string",
															"status": "string"
														},
														"createdAt": "string",
														"id": "string",
														"locationId": "string",
														"paymentId": "string",
														"transactionId": "string",
														"type": "string"
													}
												],
												"totalDiscountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalServiceChargeMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalTaxMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalTipMoney": {
													"amount": "string",
													"currency": "string"
												},
												"total_card_surcharge_money": {
													"amount": 1,
													"currency": "string"
												},
												"updatedAt": "string",
												"version": 1
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payment_id": "string",
												"location_id_square": "string",
												"order_id": "string",
												"status": "string",
												"source_type": "string",
												"external_source": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payment": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"applicationDetails": {
														"applicationId": "string",
														"squareProduct": "string"
													},
													"approvedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"buyerEmailAddress": "string",
													"cardDetails": {
														"authResultCode": "string",
														"avsStatus": "string",
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"payment_account_reference": "string",
															"prepaidType": "string"
														},
														"cardPaymentTimeline": {
															"authorizedAt": "string",
															"capturedAt": "string"
														},
														"cvvStatus": "string",
														"entryMethod": "string",
														"statementDescription": "string",
														"status": "string"
													},
													"createdAt": "string",
													"customerId": "string",
													"delayAction": "string",
													"delayDuration": "string",
													"delayedUntil": "string",
													"employeeId": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"receiptNumber": "string",
													"receiptUrl": "string",
													"riskEvaluation": {
														"createdAt": "string",
														"riskLevel": "string"
													},
													"sourceType": "string",
													"status": "string",
													"teamMemberId": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"updatedAt": "string",
													"versionToken": "string"
												},
												"raw_order": {
													"closedAt": "string",
													"createdAt": "string",
													"customerId": "string",
													"id": "string",
													"lineItems": [
														{
															"appliedTaxes": [
																{
																	"appliedMoney": {
																		"amount": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		},
																		"currency": {
																			"id": "string",
																			"name": "string",
																			"status": "string"
																		}
																	},
																	"taxUid": "string",
																	"uid": "string"
																}
															],
															"basePriceMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"grossSalesMoney": {
																"amount": "string",
																"currency": "string"
															},
															"itemType": "string",
															"name": "string",
															"quantity": "string",
															"totalDiscountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalServiceChargeMoney": {
																"amount": "string",
																"currency": "string"
															},
															"totalTaxMoney": {
																"amount": "string",
																"currency": "string"
															},
															"total_card_surcharge_money": {
																"amount": 1,
																"currency": "string"
															},
															"uid": "string",
															"variationName": "string",
															"variationTotalPriceMoney": {
																"amount": "string",
																"currency": "string"
															}
														}
													],
													"locationId": "string",
													"netAmountDueMoney": {
														"amount": "string",
														"currency": "string"
													},
													"netAmounts": {
														"card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"discountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"serviceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"taxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"tipMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														}
													},
													"source": {
														"name": "string"
													},
													"state": "string",
													"taxes": [
														{
															"appliedMoney": {
																"amount": "string",
																"currency": "string"
															},
															"catalogObjectId": "string",
															"catalogVersion": "string",
															"name": "string",
															"percentage": "string",
															"scope": "string",
															"type": "string",
															"uid": "string"
														}
													],
													"tenders": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"cardDetails": {
																"card": {
																	"bin": "string",
																	"cardBrand": "string",
																	"cardType": "string",
																	"expMonth": "string",
																	"expYear": "string",
																	"fingerprint": "string",
																	"last4": "string",
																	"prepaidType": "string"
																},
																"entryMethod": "string",
																"status": "string"
															},
															"createdAt": "string",
															"id": "string",
															"locationId": "string",
															"paymentId": "string",
															"transactionId": "string",
															"type": "string"
														}
													],
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payment_id": "string",
										"location_id_square": "string",
										"order_id": "string",
										"status": "string",
										"source_type": "string",
										"external_source": "string",
										"amount_cents": 1,
										"currency": "string",
										"tax_cents": 1,
										"tip_cents": 1,
										"fee_cents": 1,
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_payment": {
											"amountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"applicationDetails": {
												"applicationId": "string",
												"squareProduct": "string"
											},
											"approvedMoney": {
												"amount": "string",
												"currency": "string"
											},
											"buyerEmailAddress": "string",
											"cardDetails": {
												"authResultCode": "string",
												"avsStatus": "string",
												"card": {
													"bin": "string",
													"cardBrand": "string",
													"cardType": "string",
													"expMonth": "string",
													"expYear": "string",
													"fingerprint": "string",
													"last4": "string",
													"payment_account_reference": "string",
													"prepaidType": "string"
												},
												"cardPaymentTimeline": {
													"authorizedAt": "string",
													"capturedAt": "string"
												},
												"cvvStatus": "string",
												"entryMethod": "string",
												"statementDescription": "string",
												"status": "string"
											},
											"createdAt": "string",
											"customerId": "string",
											"delayAction": "string",
											"delayDuration": "string",
											"delayedUntil": "string",
											"employeeId": "string",
											"id": "string",
											"locationId": "string",
											"orderId": "string",
											"processingFee": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"effectiveAt": "string",
													"type": "string"
												}
											],
											"receiptNumber": "string",
											"receiptUrl": "string",
											"riskEvaluation": {
												"createdAt": "string",
												"riskLevel": "string"
											},
											"sourceType": "string",
											"status": "string",
											"teamMemberId": "string",
											"totalMoney": {
												"amount": "string",
												"currency": "string"
											},
											"updatedAt": "string",
											"versionToken": "string"
										},
										"raw_order": {
											"closedAt": "string",
											"createdAt": "string",
											"customerId": "string",
											"id": "string",
											"lineItems": [
												{
													"appliedTaxes": [
														{
															"appliedMoney": {
																"amount": {
																	"id": "string",
																	"name": "string",
																	"status": "string"
																},
																"currency": {
																	"id": "string",
																	"name": "string",
																	"status": "string"
																}
															},
															"taxUid": "string",
															"uid": "string"
														}
													],
													"basePriceMoney": {
														"amount": "string",
														"currency": "string"
													},
													"catalogObjectId": "string",
													"catalogVersion": "string",
													"grossSalesMoney": {
														"amount": "string",
														"currency": "string"
													},
													"itemType": "string",
													"name": "string",
													"quantity": "string",
													"totalDiscountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalServiceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalTaxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"total_card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"uid": "string",
													"variationName": "string",
													"variationTotalPriceMoney": {
														"amount": "string",
														"currency": "string"
													}
												}
											],
											"locationId": "string",
											"netAmountDueMoney": {
												"amount": "string",
												"currency": "string"
											},
											"netAmounts": {
												"card_surcharge_money": {
													"amount": 1,
													"currency": "string"
												},
												"discountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"serviceChargeMoney": {
													"amount": "string",
													"currency": "string"
												},
												"taxMoney": {
													"amount": "string",
													"currency": "string"
												},
												"tipMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												}
											},
											"source": {
												"name": "string"
											},
											"state": "string",
											"taxes": [
												{
													"appliedMoney": {
														"amount": "string",
														"currency": "string"
													},
													"catalogObjectId": "string",
													"catalogVersion": "string",
													"name": "string",
													"percentage": "string",
													"scope": "string",
													"type": "string",
													"uid": "string"
												}
											],
											"tenders": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"cardDetails": {
														"card": {
															"bin": "string",
															"cardBrand": "string",
															"cardType": "string",
															"expMonth": "string",
															"expYear": "string",
															"fingerprint": "string",
															"last4": "string",
															"prepaidType": "string"
														},
														"entryMethod": "string",
														"status": "string"
													},
													"createdAt": "string",
													"id": "string",
													"locationId": "string",
													"paymentId": "string",
													"transactionId": "string",
													"type": "string"
												}
											],
											"totalDiscountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalServiceChargeMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalTaxMoney": {
												"amount": "string",
												"currency": "string"
											},
											"totalTipMoney": {
												"amount": "string",
												"currency": "string"
											},
											"total_card_surcharge_money": {
												"amount": 1,
												"currency": "string"
											},
											"updatedAt": "string",
											"version": 1
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payment_id": "string",
											"location_id_square": "string",
											"order_id": "string",
											"status": "string",
											"source_type": "string",
											"external_source": "string",
											"amount_cents": 1,
											"currency": "string",
											"tax_cents": 1,
											"tip_cents": 1,
											"fee_cents": 1,
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_payment": {
												"amountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"applicationDetails": {
													"applicationId": "string",
													"squareProduct": "string"
												},
												"approvedMoney": {
													"amount": "string",
													"currency": "string"
												},
												"buyerEmailAddress": "string",
												"cardDetails": {
													"authResultCode": "string",
													"avsStatus": "string",
													"card": {
														"bin": "string",
														"cardBrand": "string",
														"cardType": "string",
														"expMonth": "string",
														"expYear": "string",
														"fingerprint": "string",
														"last4": "string",
														"payment_account_reference": "string",
														"prepaidType": "string"
													},
													"cardPaymentTimeline": {
														"authorizedAt": "string",
														"capturedAt": "string"
													},
													"cvvStatus": "string",
													"entryMethod": "string",
													"statementDescription": "string",
													"status": "string"
												},
												"createdAt": "string",
												"customerId": "string",
												"delayAction": "string",
												"delayDuration": "string",
												"delayedUntil": "string",
												"employeeId": "string",
												"id": "string",
												"locationId": "string",
												"orderId": "string",
												"processingFee": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"effectiveAt": "string",
														"type": "string"
													}
												],
												"receiptNumber": "string",
												"receiptUrl": "string",
												"riskEvaluation": {
													"createdAt": "string",
													"riskLevel": "string"
												},
												"sourceType": "string",
												"status": "string",
												"teamMemberId": "string",
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"updatedAt": "string",
												"versionToken": "string"
											},
											"raw_order": {
												"closedAt": "string",
												"createdAt": "string",
												"customerId": "string",
												"id": "string",
												"lineItems": [
													{
														"appliedTaxes": [
															{
																"appliedMoney": {
																	"amount": {
																		"id": "string",
																		"name": "string",
																		"status": "string"
																	},
																	"currency": {
																		"id": "string",
																		"name": "string",
																		"status": "string"
																	}
																},
																"taxUid": "string",
																"uid": "string"
															}
														],
														"basePriceMoney": {
															"amount": "string",
															"currency": "string"
														},
														"catalogObjectId": "string",
														"catalogVersion": "string",
														"grossSalesMoney": {
															"amount": "string",
															"currency": "string"
														},
														"itemType": "string",
														"name": "string",
														"quantity": "string",
														"totalDiscountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalServiceChargeMoney": {
															"amount": "string",
															"currency": "string"
														},
														"totalTaxMoney": {
															"amount": "string",
															"currency": "string"
														},
														"total_card_surcharge_money": {
															"amount": 1,
															"currency": "string"
														},
														"uid": "string",
														"variationName": "string",
														"variationTotalPriceMoney": {
															"amount": "string",
															"currency": "string"
														}
													}
												],
												"locationId": "string",
												"netAmountDueMoney": {
													"amount": "string",
													"currency": "string"
												},
												"netAmounts": {
													"card_surcharge_money": {
														"amount": 1,
														"currency": "string"
													},
													"discountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"serviceChargeMoney": {
														"amount": "string",
														"currency": "string"
													},
													"taxMoney": {
														"amount": "string",
														"currency": "string"
													},
													"tipMoney": {
														"amount": "string",
														"currency": "string"
													},
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													}
												},
												"source": {
													"name": "string"
												},
												"state": "string",
												"taxes": [
													{
														"appliedMoney": {
															"amount": "string",
															"currency": "string"
														},
														"catalogObjectId": "string",
														"catalogVersion": "string",
														"name": "string",
														"percentage": "string",
														"scope": "string",
														"type": "string",
														"uid": "string"
													}
												],
												"tenders": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"cardDetails": {
															"card": {
																"bin": "string",
																"cardBrand": "string",
																"cardType": "string",
																"expMonth": "string",
																"expYear": "string",
																"fingerprint": "string",
																"last4": "string",
																"prepaidType": "string"
															},
															"entryMethod": "string",
															"status": "string"
														},
														"createdAt": "string",
														"id": "string",
														"locationId": "string",
														"paymentId": "string",
														"transactionId": "string",
														"type": "string"
													}
												],
												"totalDiscountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalServiceChargeMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalTaxMoney": {
													"amount": "string",
													"currency": "string"
												},
												"totalTipMoney": {
													"amount": "string",
													"currency": "string"
												},
												"total_card_surcharge_money": {
													"amount": 1,
													"currency": "string"
												},
												"updatedAt": "string",
												"version": 1
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_entry_id": "string",
												"payout_id": "string",
												"type": "string",
												"payment_id": "string",
												"refund_id": "string",
												"gross_cents": 1,
												"fee_cents": 1,
												"net_cents": 1,
												"effective_at": "2026-01-01T00:00:00.000Z",
												"raw_entry": {
													"effectiveAt": "string",
													"feeAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"grossAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"id": "string",
													"netAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"payoutId": "string",
													"type": "string",
													"typeSquareCapitalPaymentDetails": {
														"paymentId": "string"
													}
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_entry_id": "string",
												"payout_id": "string",
												"type": "string",
												"payment_id": "string",
												"refund_id": "string",
												"gross_cents": 1,
												"fee_cents": 1,
												"net_cents": 1,
												"effective_at": "2026-01-01T00:00:00.000Z",
												"raw_entry": {
													"effectiveAt": "string",
													"feeAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"grossAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"id": "string",
													"netAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"payoutId": "string",
													"type": "string",
													"typeSquareCapitalPaymentDetails": {
														"paymentId": "string"
													}
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_entry_id": "string",
										"payout_id": "string",
										"type": "string",
										"payment_id": "string",
										"refund_id": "string",
										"gross_cents": 1,
										"fee_cents": 1,
										"net_cents": 1,
										"effective_at": "2026-01-01T00:00:00.000Z",
										"raw_entry": {
											"effectiveAt": "string",
											"feeAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"grossAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"id": "string",
											"netAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"payoutId": "string",
											"type": "string",
											"typeSquareCapitalPaymentDetails": {
												"paymentId": "string"
											}
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_entry_id": "string",
											"payout_id": "string",
											"type": "string",
											"payment_id": "string",
											"refund_id": "string",
											"gross_cents": 1,
											"fee_cents": 1,
											"net_cents": 1,
											"effective_at": "2026-01-01T00:00:00.000Z",
											"raw_entry": {
												"effectiveAt": "string",
												"feeAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"grossAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"id": "string",
												"netAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"payoutId": "string",
												"type": "string",
												"typeSquareCapitalPaymentDetails": {
													"paymentId": "string"
												}
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_entry_id": "string",
												"payout_id": "string",
												"type": "string",
												"payment_id": "string",
												"refund_id": "string",
												"gross_cents": 1,
												"fee_cents": 1,
												"net_cents": 1,
												"effective_at": "2026-01-01T00:00:00.000Z",
												"raw_entry": {
													"effectiveAt": "string",
													"feeAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"grossAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"id": "string",
													"netAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"payoutId": "string",
													"type": "string",
													"typeSquareCapitalPaymentDetails": {
														"paymentId": "string"
													}
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_entry_id": "string",
										"payout_id": "string",
										"type": "string",
										"payment_id": "string",
										"refund_id": "string",
										"gross_cents": 1,
										"fee_cents": 1,
										"net_cents": 1,
										"effective_at": "2026-01-01T00:00:00.000Z",
										"raw_entry": {
											"effectiveAt": "string",
											"feeAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"grossAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"id": "string",
											"netAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"payoutId": "string",
											"type": "string",
											"typeSquareCapitalPaymentDetails": {
												"paymentId": "string"
											}
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_entry_id": "string",
											"payout_id": "string",
											"type": "string",
											"payment_id": "string",
											"refund_id": "string",
											"gross_cents": 1,
											"fee_cents": 1,
											"net_cents": 1,
											"effective_at": "2026-01-01T00:00:00.000Z",
											"raw_entry": {
												"effectiveAt": "string",
												"feeAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"grossAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"id": "string",
												"netAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"payoutId": "string",
												"type": "string",
												"typeSquareCapitalPaymentDetails": {
													"paymentId": "string"
												}
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_entry_id": "string",
												"payout_id": "string",
												"type": "string",
												"payment_id": "string",
												"refund_id": "string",
												"gross_cents": 1,
												"fee_cents": 1,
												"net_cents": 1,
												"effective_at": "2026-01-01T00:00:00.000Z",
												"raw_entry": {
													"effectiveAt": "string",
													"feeAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"grossAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"id": "string",
													"netAmountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"payoutId": "string",
													"type": "string",
													"typeSquareCapitalPaymentDetails": {
														"paymentId": "string"
													}
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_entry_id": "string",
										"payout_id": "string",
										"type": "string",
										"payment_id": "string",
										"refund_id": "string",
										"gross_cents": 1,
										"fee_cents": 1,
										"net_cents": 1,
										"effective_at": "2026-01-01T00:00:00.000Z",
										"raw_entry": {
											"effectiveAt": "string",
											"feeAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"grossAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"id": "string",
											"netAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"payoutId": "string",
											"type": "string",
											"typeSquareCapitalPaymentDetails": {
												"paymentId": "string"
											}
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_entry_id": "string",
											"payout_id": "string",
											"type": "string",
											"payment_id": "string",
											"refund_id": "string",
											"gross_cents": 1,
											"fee_cents": 1,
											"net_cents": 1,
											"effective_at": "2026-01-01T00:00:00.000Z",
											"raw_entry": {
												"effectiveAt": "string",
												"feeAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"grossAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"id": "string",
												"netAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"payoutId": "string",
												"type": "string",
												"typeSquareCapitalPaymentDetails": {
													"paymentId": "string"
												}
											}
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"location_id_square": "string",
												"status": "string",
												"type": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_type": "string",
												"destination_id": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payout": {
													"amountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"arrivalDate": "string",
													"createdAt": "string",
													"destination": {
														"id": "string",
														"type": "string"
													},
													"endToEndId": "string",
													"id": "string",
													"locationId": "string",
													"status": "string",
													"type": "string",
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"location_id_square": "string",
												"status": "string",
												"type": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_type": "string",
												"destination_id": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payout": {
													"amountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"arrivalDate": "string",
													"createdAt": "string",
													"destination": {
														"id": "string",
														"type": "string"
													},
													"endToEndId": "string",
													"id": "string",
													"locationId": "string",
													"status": "string",
													"type": "string",
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"location_id_square": "string",
										"status": "string",
										"type": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_type": "string",
										"destination_id": "string",
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_payout": {
											"amountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"arrivalDate": "string",
											"createdAt": "string",
											"destination": {
												"id": "string",
												"type": "string"
											},
											"endToEndId": "string",
											"id": "string",
											"locationId": "string",
											"status": "string",
											"type": "string",
											"updatedAt": "string",
											"version": 1
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"location_id_square": "string",
											"status": "string",
											"type": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_type": "string",
											"destination_id": "string",
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_payout": {
												"amountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"arrivalDate": "string",
												"createdAt": "string",
												"destination": {
													"id": "string",
													"type": "string"
												},
												"endToEndId": "string",
												"id": "string",
												"locationId": "string",
												"status": "string",
												"type": "string",
												"updatedAt": "string",
												"version": 1
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"location_id_square": "string",
												"status": "string",
												"type": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_type": "string",
												"destination_id": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payout": {
													"amountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"arrivalDate": "string",
													"createdAt": "string",
													"destination": {
														"id": "string",
														"type": "string"
													},
													"endToEndId": "string",
													"id": "string",
													"locationId": "string",
													"status": "string",
													"type": "string",
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"location_id_square": "string",
										"status": "string",
										"type": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_type": "string",
										"destination_id": "string",
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_payout": {
											"amountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"arrivalDate": "string",
											"createdAt": "string",
											"destination": {
												"id": "string",
												"type": "string"
											},
											"endToEndId": "string",
											"id": "string",
											"locationId": "string",
											"status": "string",
											"type": "string",
											"updatedAt": "string",
											"version": 1
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"location_id_square": "string",
											"status": "string",
											"type": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_type": "string",
											"destination_id": "string",
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_payout": {
												"amountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"arrivalDate": "string",
												"createdAt": "string",
												"destination": {
													"id": "string",
													"type": "string"
												},
												"endToEndId": "string",
												"id": "string",
												"locationId": "string",
												"status": "string",
												"type": "string",
												"updatedAt": "string",
												"version": 1
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"location_id_square": "string",
												"status": "string",
												"type": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_type": "string",
												"destination_id": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_payout": {
													"amountMoney": {
														"amount": "string",
														"currency_code": "string"
													},
													"arrivalDate": "string",
													"createdAt": "string",
													"destination": {
														"id": "string",
														"type": "string"
													},
													"endToEndId": "string",
													"id": "string",
													"locationId": "string",
													"status": "string",
													"type": "string",
													"updatedAt": "string",
													"version": 1
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"location_id_square": "string",
										"status": "string",
										"type": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_type": "string",
										"destination_id": "string",
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_payout": {
											"amountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"arrivalDate": "string",
											"createdAt": "string",
											"destination": {
												"id": "string",
												"type": "string"
											},
											"endToEndId": "string",
											"id": "string",
											"locationId": "string",
											"status": "string",
											"type": "string",
											"updatedAt": "string",
											"version": 1
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"location_id_square": "string",
											"status": "string",
											"type": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_type": "string",
											"destination_id": "string",
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_payout": {
												"amountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"arrivalDate": "string",
												"createdAt": "string",
												"destination": {
													"id": "string",
													"type": "string"
												},
												"endToEndId": "string",
												"id": "string",
												"locationId": "string",
												"status": "string",
												"type": "string",
												"updatedAt": "string",
												"version": 1
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"refund_id": "string",
												"payment_id": "string",
												"order_id": "string",
												"location_id_square": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"reason": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_refund": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"createdAt": "string",
													"destinationType": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"paymentId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"reason": "string",
													"status": "string",
													"updatedAt": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"refund_id": "string",
												"payment_id": "string",
												"order_id": "string",
												"location_id_square": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"reason": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_refund": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"createdAt": "string",
													"destinationType": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"paymentId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"reason": "string",
													"status": "string",
													"updatedAt": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"refund_id": "string",
										"payment_id": "string",
										"order_id": "string",
										"location_id_square": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"tax_cents": 1,
										"tip_cents": 1,
										"fee_cents": 1,
										"reason": "string",
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_refund": {
											"amountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"createdAt": "string",
											"destinationType": "string",
											"id": "string",
											"locationId": "string",
											"orderId": "string",
											"paymentId": "string",
											"processingFee": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"effectiveAt": "string",
													"type": "string"
												}
											],
											"reason": "string",
											"status": "string",
											"updatedAt": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"refund_id": "string",
											"payment_id": "string",
											"order_id": "string",
											"location_id_square": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"tax_cents": 1,
											"tip_cents": 1,
											"fee_cents": 1,
											"reason": "string",
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_refund": {
												"amountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"createdAt": "string",
												"destinationType": "string",
												"id": "string",
												"locationId": "string",
												"orderId": "string",
												"paymentId": "string",
												"processingFee": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"effectiveAt": "string",
														"type": "string"
													}
												],
												"reason": "string",
												"status": "string",
												"updatedAt": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"refund_id": "string",
												"payment_id": "string",
												"order_id": "string",
												"location_id_square": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"reason": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_refund": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"createdAt": "string",
													"destinationType": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"paymentId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"reason": "string",
													"status": "string",
													"updatedAt": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"refund_id": "string",
										"payment_id": "string",
										"order_id": "string",
										"location_id_square": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"tax_cents": 1,
										"tip_cents": 1,
										"fee_cents": 1,
										"reason": "string",
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_refund": {
											"amountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"createdAt": "string",
											"destinationType": "string",
											"id": "string",
											"locationId": "string",
											"orderId": "string",
											"paymentId": "string",
											"processingFee": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"effectiveAt": "string",
													"type": "string"
												}
											],
											"reason": "string",
											"status": "string",
											"updatedAt": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"refund_id": "string",
											"payment_id": "string",
											"order_id": "string",
											"location_id_square": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"tax_cents": 1,
											"tip_cents": 1,
											"fee_cents": 1,
											"reason": "string",
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_refund": {
												"amountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"createdAt": "string",
												"destinationType": "string",
												"id": "string",
												"locationId": "string",
												"orderId": "string",
												"paymentId": "string",
												"processingFee": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"effectiveAt": "string",
														"type": "string"
													}
												],
												"reason": "string",
												"status": "string",
												"updatedAt": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"refund_id": "string",
												"payment_id": "string",
												"order_id": "string",
												"location_id_square": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"tax_cents": 1,
												"tip_cents": 1,
												"fee_cents": 1,
												"reason": "string",
												"created_at_square": "2026-01-01T00:00:00.000Z",
												"updated_at_square": "2026-01-01T00:00:00.000Z",
												"raw_refund": {
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"createdAt": "string",
													"destinationType": "string",
													"id": "string",
													"locationId": "string",
													"orderId": "string",
													"paymentId": "string",
													"processingFee": [
														{
															"amountMoney": {
																"amount": "string",
																"currency": "string"
															},
															"effectiveAt": "string",
															"type": "string"
														}
													],
													"reason": "string",
													"status": "string",
													"updatedAt": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"refund_id": "string",
										"payment_id": "string",
										"order_id": "string",
										"location_id_square": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"tax_cents": 1,
										"tip_cents": 1,
										"fee_cents": 1,
										"reason": "string",
										"created_at_square": "2026-01-01T00:00:00.000Z",
										"updated_at_square": "2026-01-01T00:00:00.000Z",
										"raw_refund": {
											"amountMoney": {
												"amount": "string",
												"currency": "string"
											},
											"createdAt": "string",
											"destinationType": "string",
											"id": "string",
											"locationId": "string",
											"orderId": "string",
											"paymentId": "string",
											"processingFee": [
												{
													"amountMoney": {
														"amount": "string",
														"currency": "string"
													},
													"effectiveAt": "string",
													"type": "string"
												}
											],
											"reason": "string",
											"status": "string",
											"updatedAt": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"refund_id": "string",
											"payment_id": "string",
											"order_id": "string",
											"location_id_square": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"tax_cents": 1,
											"tip_cents": 1,
											"fee_cents": 1,
											"reason": "string",
											"created_at_square": "2026-01-01T00:00:00.000Z",
											"updated_at_square": "2026-01-01T00:00:00.000Z",
											"raw_refund": {
												"amountMoney": {
													"amount": "string",
													"currency": "string"
												},
												"createdAt": "string",
												"destinationType": "string",
												"id": "string",
												"locationId": "string",
												"orderId": "string",
												"paymentId": "string",
												"processingFee": [
													{
														"amountMoney": {
															"amount": "string",
															"currency": "string"
														},
														"effectiveAt": "string",
														"type": "string"
													}
												],
												"reason": "string",
												"status": "string",
												"updatedAt": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"source_key": "string",
												"source_label": "string",
												"sales_channel_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"ignore": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"source_key": "string",
												"source_label": "string",
												"sales_channel_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"ignore": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"source_key": "string",
										"source_label": "string",
										"sales_channel_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"ignore": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"source_key": "string",
											"source_label": "string",
											"sales_channel_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"ignore": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"source_key": "string",
												"source_label": "string",
												"sales_channel_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"ignore": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"source_key": "string",
										"source_label": "string",
										"sales_channel_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"ignore": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"source_key": "string",
											"source_label": "string",
											"sales_channel_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"ignore": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"source_key": "string",
												"source_label": "string",
												"sales_channel_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"ignore": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"source_key": "string",
										"source_label": "string",
										"sales_channel_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"ignore": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"source_key": "string",
											"source_label": "string",
											"sales_channel_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"ignore": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"merchant_id": "string",
												"payload": {
													"created_at": "string",
													"data": {
														"id": "string",
														"object": {
															"payout": {
																"amount_money": {
																	"amount": 1,
																	"currency_code": "string"
																},
																"arrival_date": "string",
																"created_at": "string",
																"destination": {
																	"id": "string",
																	"type": "string"
																},
																"end_to_end_id": "string",
																"id": "string",
																"location_id": "string",
																"status": "string",
																"type": "string",
																"updated_at": "string",
																"version": 1
															}
														},
														"type": "string"
													},
													"event_id": "string",
													"location_id": "string",
													"merchant_id": "string",
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"merchant_id": "string",
												"payload": {
													"created_at": "string",
													"data": {
														"id": "string",
														"object": {
															"payout": {
																"amount_money": {
																	"amount": 1,
																	"currency_code": "string"
																},
																"arrival_date": "string",
																"created_at": "string",
																"destination": {
																	"id": "string",
																	"type": "string"
																},
																"end_to_end_id": "string",
																"id": "string",
																"location_id": "string",
																"status": "string",
																"type": "string",
																"updated_at": "string",
																"version": 1
															}
														},
														"type": "string"
													},
													"event_id": "string",
													"location_id": "string",
													"merchant_id": "string",
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"merchant_id": "string",
										"payload": {
											"created_at": "string",
											"data": {
												"id": "string",
												"object": {
													"payout": {
														"amount_money": {
															"amount": 1,
															"currency_code": "string"
														},
														"arrival_date": "string",
														"created_at": "string",
														"destination": {
															"id": "string",
															"type": "string"
														},
														"end_to_end_id": "string",
														"id": "string",
														"location_id": "string",
														"status": "string",
														"type": "string",
														"updated_at": "string",
														"version": 1
													}
												},
												"type": "string"
											},
											"event_id": "string",
											"location_id": "string",
											"merchant_id": "string",
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"merchant_id": "string",
											"payload": {
												"created_at": "string",
												"data": {
													"id": "string",
													"object": {
														"payout": {
															"amount_money": {
																"amount": 1,
																"currency_code": "string"
															},
															"arrival_date": "string",
															"created_at": "string",
															"destination": {
																"id": "string",
																"type": "string"
															},
															"end_to_end_id": "string",
															"id": "string",
															"location_id": "string",
															"status": "string",
															"type": "string",
															"updated_at": "string",
															"version": 1
														}
													},
													"type": "string"
												},
												"event_id": "string",
												"location_id": "string",
												"merchant_id": "string",
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"merchant_id": "string",
												"payload": {
													"created_at": "string",
													"data": {
														"id": "string",
														"object": {
															"payout": {
																"amount_money": {
																	"amount": 1,
																	"currency_code": "string"
																},
																"arrival_date": "string",
																"created_at": "string",
																"destination": {
																	"id": "string",
																	"type": "string"
																},
																"end_to_end_id": "string",
																"id": "string",
																"location_id": "string",
																"status": "string",
																"type": "string",
																"updated_at": "string",
																"version": 1
															}
														},
														"type": "string"
													},
													"event_id": "string",
													"location_id": "string",
													"merchant_id": "string",
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"merchant_id": "string",
										"payload": {
											"created_at": "string",
											"data": {
												"id": "string",
												"object": {
													"payout": {
														"amount_money": {
															"amount": 1,
															"currency_code": "string"
														},
														"arrival_date": "string",
														"created_at": "string",
														"destination": {
															"id": "string",
															"type": "string"
														},
														"end_to_end_id": "string",
														"id": "string",
														"location_id": "string",
														"status": "string",
														"type": "string",
														"updated_at": "string",
														"version": 1
													}
												},
												"type": "string"
											},
											"event_id": "string",
											"location_id": "string",
											"merchant_id": "string",
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"merchant_id": "string",
											"payload": {
												"created_at": "string",
												"data": {
													"id": "string",
													"object": {
														"payout": {
															"amount_money": {
																"amount": 1,
																"currency_code": "string"
															},
															"arrival_date": "string",
															"created_at": "string",
															"destination": {
																"id": "string",
																"type": "string"
															},
															"end_to_end_id": "string",
															"id": "string",
															"location_id": "string",
															"status": "string",
															"type": "string",
															"updated_at": "string",
															"version": 1
														}
													},
													"type": "string"
												},
												"event_id": "string",
												"location_id": "string",
												"merchant_id": "string",
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"merchant_id": "string",
												"payload": {
													"created_at": "string",
													"data": {
														"id": "string",
														"object": {
															"payout": {
																"amount_money": {
																	"amount": 1,
																	"currency_code": "string"
																},
																"arrival_date": "string",
																"created_at": "string",
																"destination": {
																	"id": "string",
																	"type": "string"
																},
																"end_to_end_id": "string",
																"id": "string",
																"location_id": "string",
																"status": "string",
																"type": "string",
																"updated_at": "string",
																"version": 1
															}
														},
														"type": "string"
													},
													"event_id": "string",
													"location_id": "string",
													"merchant_id": "string",
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"merchant_id": "string",
										"payload": {
											"created_at": "string",
											"data": {
												"id": "string",
												"object": {
													"payout": {
														"amount_money": {
															"amount": 1,
															"currency_code": "string"
														},
														"arrival_date": "string",
														"created_at": "string",
														"destination": {
															"id": "string",
															"type": "string"
														},
														"end_to_end_id": "string",
														"id": "string",
														"location_id": "string",
														"status": "string",
														"type": "string",
														"updated_at": "string",
														"version": 1
													}
												},
												"type": "string"
											},
											"event_id": "string",
											"location_id": "string",
											"merchant_id": "string",
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"merchant_id": "string",
											"payload": {
												"created_at": "string",
												"data": {
													"id": "string",
													"object": {
														"payout": {
															"amount_money": {
																"amount": 1,
																"currency_code": "string"
															},
															"arrival_date": "string",
															"created_at": "string",
															"destination": {
																"id": "string",
																"type": "string"
															},
															"end_to_end_id": "string",
															"id": "string",
															"location_id": "string",
															"status": "string",
															"type": "string",
															"updated_at": "string",
															"version": 1
														}
													},
													"type": "string"
												},
												"event_id": "string",
												"location_id": "string",
												"merchant_id": "string",
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"charge_id": "string",
												"status": "string",
												"payment_method_type": "string",
												"amount_cents": 1,
												"currency": "string",
												"fee_cents": 1,
												"created_at_stripe": "2026-01-01T00:00:00.000Z",
												"updated_at_stripe": "2026-01-01T00:00:00.000Z",
												"raw_charge": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"charge_id": "string",
												"status": "string",
												"payment_method_type": "string",
												"amount_cents": 1,
												"currency": "string",
												"fee_cents": 1,
												"created_at_stripe": "2026-01-01T00:00:00.000Z",
												"updated_at_stripe": "2026-01-01T00:00:00.000Z",
												"raw_charge": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"charge_id": "string",
										"status": "string",
										"payment_method_type": "string",
										"amount_cents": 1,
										"currency": "string",
										"fee_cents": 1,
										"created_at_stripe": "2026-01-01T00:00:00.000Z",
										"updated_at_stripe": "2026-01-01T00:00:00.000Z",
										"raw_charge": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"charge_id": "string",
											"status": "string",
											"payment_method_type": "string",
											"amount_cents": 1,
											"currency": "string",
											"fee_cents": 1,
											"created_at_stripe": "2026-01-01T00:00:00.000Z",
											"updated_at_stripe": "2026-01-01T00:00:00.000Z",
											"raw_charge": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"charge_id": "string",
												"status": "string",
												"payment_method_type": "string",
												"amount_cents": 1,
												"currency": "string",
												"fee_cents": 1,
												"created_at_stripe": "2026-01-01T00:00:00.000Z",
												"updated_at_stripe": "2026-01-01T00:00:00.000Z",
												"raw_charge": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"charge_id": "string",
										"status": "string",
										"payment_method_type": "string",
										"amount_cents": 1,
										"currency": "string",
										"fee_cents": 1,
										"created_at_stripe": "2026-01-01T00:00:00.000Z",
										"updated_at_stripe": "2026-01-01T00:00:00.000Z",
										"raw_charge": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"charge_id": "string",
											"status": "string",
											"payment_method_type": "string",
											"amount_cents": 1,
											"currency": "string",
											"fee_cents": 1,
											"created_at_stripe": "2026-01-01T00:00:00.000Z",
											"updated_at_stripe": "2026-01-01T00:00:00.000Z",
											"raw_charge": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"charge_id": "string",
												"status": "string",
												"payment_method_type": "string",
												"amount_cents": 1,
												"currency": "string",
												"fee_cents": 1,
												"created_at_stripe": "2026-01-01T00:00:00.000Z",
												"updated_at_stripe": "2026-01-01T00:00:00.000Z",
												"raw_charge": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"charge_id": "string",
										"status": "string",
										"payment_method_type": "string",
										"amount_cents": 1,
										"currency": "string",
										"fee_cents": 1,
										"created_at_stripe": "2026-01-01T00:00:00.000Z",
										"updated_at_stripe": "2026-01-01T00:00:00.000Z",
										"raw_charge": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"charge_id": "string",
											"status": "string",
											"payment_method_type": "string",
											"amount_cents": 1,
											"currency": "string",
											"fee_cents": 1,
											"created_at_stripe": "2026-01-01T00:00:00.000Z",
											"updated_at_stripe": "2026-01-01T00:00:00.000Z",
											"raw_charge": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"charge_id": "string",
											"status": "string",
											"payment_method_type": "string",
											"amount_cents": 1,
											"currency": "string",
											"fee_cents": 1,
											"created_at_stripe": "2026-01-01T00:00:00.000Z",
											"updated_at_stripe": "2026-01-01T00:00:00.000Z",
											"raw_charge": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"charge_id": "string",
										"status": "string",
										"payment_method_type": "string",
										"amount_cents": 1,
										"currency": "string",
										"fee_cents": 1,
										"created_at_stripe": "2026-01-01T00:00:00.000Z",
										"updated_at_stripe": "2026-01-01T00:00:00.000Z",
										"raw_charge": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"charge_id": "string",
											"status": "string",
											"payment_method_type": "string",
											"amount_cents": 1,
											"currency": "string",
											"fee_cents": 1,
											"created_at_stripe": "2026-01-01T00:00:00.000Z",
											"updated_at_stripe": "2026-01-01T00:00:00.000Z",
											"raw_charge": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_id": "string",
												"raw_payout": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_id": "string",
												"raw_payout": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_id": "string",
										"raw_payout": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_id": "string",
											"raw_payout": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_id": "string",
												"raw_payout": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_id": "string",
										"raw_payout": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_id": "string",
											"raw_payout": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payout_id": "string",
												"status": "string",
												"amount_cents": 1,
												"currency": "string",
												"arrival_date": "2026-01-01",
												"destination_id": "string",
												"raw_payout": {
													"id": "string",
													"object": "string",
													"status": "string",
													"type": "string"
												},
												"import_status": "string",
												"import_error": "string",
												"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_id": "string",
										"raw_payout": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_id": "string",
											"raw_payout": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_id": "string",
											"raw_payout": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_id": "string",
										"status": "string",
										"amount_cents": 1,
										"currency": "string",
										"arrival_date": "2026-01-01",
										"destination_id": "string",
										"raw_payout": {
											"id": "string",
											"object": "string",
											"status": "string",
											"type": "string"
										},
										"import_status": "string",
										"import_error": "string",
										"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_id": "string",
											"status": "string",
											"amount_cents": 1,
											"currency": "string",
											"arrival_date": "2026-01-01",
											"destination_id": "string",
											"raw_payout": {
												"id": "string",
												"object": "string",
												"status": "string",
												"type": "string"
											},
											"import_status": "string",
											"import_error": "string",
											"imported_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"account_id": "string",
												"payload": {
													"account": "string",
													"api_version": "string",
													"context": "string",
													"created": 1,
													"data": {
														"object": {
															"account_holder": {
																"customer": "string",
																"type": "string"
															},
															"account_numbers": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"category": "string",
															"created": 1,
															"display_name": "string",
															"id": "string",
															"institution_name": "string",
															"last4": "string",
															"livemode": true,
															"object": "string",
															"ownership": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"ownership_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"permissions": ["string"],
															"status": "string",
															"subcategory": "string",
															"subscriptions": ["string"],
															"supported_payment_method_types": ["string"],
															"transaction_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															}
														}
													},
													"id": "string",
													"livemode": true,
													"object": "string",
													"pending_webhooks": 1,
													"request": {
														"id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"idempotency_key": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													},
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"account_id": "string",
												"payload": {
													"account": "string",
													"api_version": "string",
													"context": "string",
													"created": 1,
													"data": {
														"object": {
															"account_holder": {
																"customer": "string",
																"type": "string"
															},
															"account_numbers": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"category": "string",
															"created": 1,
															"display_name": "string",
															"id": "string",
															"institution_name": "string",
															"last4": "string",
															"livemode": true,
															"object": "string",
															"ownership": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"ownership_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"permissions": ["string"],
															"status": "string",
															"subcategory": "string",
															"subscriptions": ["string"],
															"supported_payment_method_types": ["string"],
															"transaction_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															}
														}
													},
													"id": "string",
													"livemode": true,
													"object": "string",
													"pending_webhooks": 1,
													"request": {
														"id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"idempotency_key": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													},
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"account_id": "string",
										"payload": {
											"account": "string",
											"api_version": "string",
											"context": "string",
											"created": 1,
											"data": {
												"object": {
													"account_holder": {
														"customer": "string",
														"type": "string"
													},
													"account_numbers": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"category": "string",
													"created": 1,
													"display_name": "string",
													"id": "string",
													"institution_name": "string",
													"last4": "string",
													"livemode": true,
													"object": "string",
													"ownership": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"ownership_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"permissions": ["string"],
													"status": "string",
													"subcategory": "string",
													"subscriptions": ["string"],
													"supported_payment_method_types": ["string"],
													"transaction_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												}
											},
											"id": "string",
											"livemode": true,
											"object": "string",
											"pending_webhooks": 1,
											"request": {
												"id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"idempotency_key": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"account_id": "string",
											"payload": {
												"account": "string",
												"api_version": "string",
												"context": "string",
												"created": 1,
												"data": {
													"object": {
														"account_holder": {
															"customer": "string",
															"type": "string"
														},
														"account_numbers": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"category": "string",
														"created": 1,
														"display_name": "string",
														"id": "string",
														"institution_name": "string",
														"last4": "string",
														"livemode": true,
														"object": "string",
														"ownership": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"ownership_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"permissions": ["string"],
														"status": "string",
														"subcategory": "string",
														"subscriptions": ["string"],
														"supported_payment_method_types": ["string"],
														"transaction_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													}
												},
												"id": "string",
												"livemode": true,
												"object": "string",
												"pending_webhooks": 1,
												"request": {
													"id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"idempotency_key": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"account_id": "string",
												"payload": {
													"account": "string",
													"api_version": "string",
													"context": "string",
													"created": 1,
													"data": {
														"object": {
															"account_holder": {
																"customer": "string",
																"type": "string"
															},
															"account_numbers": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"category": "string",
															"created": 1,
															"display_name": "string",
															"id": "string",
															"institution_name": "string",
															"last4": "string",
															"livemode": true,
															"object": "string",
															"ownership": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"ownership_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"permissions": ["string"],
															"status": "string",
															"subcategory": "string",
															"subscriptions": ["string"],
															"supported_payment_method_types": ["string"],
															"transaction_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															}
														}
													},
													"id": "string",
													"livemode": true,
													"object": "string",
													"pending_webhooks": 1,
													"request": {
														"id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"idempotency_key": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													},
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"account_id": "string",
										"payload": {
											"account": "string",
											"api_version": "string",
											"context": "string",
											"created": 1,
											"data": {
												"object": {
													"account_holder": {
														"customer": "string",
														"type": "string"
													},
													"account_numbers": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"category": "string",
													"created": 1,
													"display_name": "string",
													"id": "string",
													"institution_name": "string",
													"last4": "string",
													"livemode": true,
													"object": "string",
													"ownership": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"ownership_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"permissions": ["string"],
													"status": "string",
													"subcategory": "string",
													"subscriptions": ["string"],
													"supported_payment_method_types": ["string"],
													"transaction_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												}
											},
											"id": "string",
											"livemode": true,
											"object": "string",
											"pending_webhooks": 1,
											"request": {
												"id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"idempotency_key": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"account_id": "string",
											"payload": {
												"account": "string",
												"api_version": "string",
												"context": "string",
												"created": 1,
												"data": {
													"object": {
														"account_holder": {
															"customer": "string",
															"type": "string"
														},
														"account_numbers": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"category": "string",
														"created": 1,
														"display_name": "string",
														"id": "string",
														"institution_name": "string",
														"last4": "string",
														"livemode": true,
														"object": "string",
														"ownership": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"ownership_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"permissions": ["string"],
														"status": "string",
														"subcategory": "string",
														"subscriptions": ["string"],
														"supported_payment_method_types": ["string"],
														"transaction_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													}
												},
												"id": "string",
												"livemode": true,
												"object": "string",
												"pending_webhooks": 1,
												"request": {
													"id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"idempotency_key": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"event_id": "string",
												"event_type": "string",
												"account_id": "string",
												"payload": {
													"account": "string",
													"api_version": "string",
													"context": "string",
													"created": 1,
													"data": {
														"object": {
															"account_holder": {
																"customer": "string",
																"type": "string"
															},
															"account_numbers": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"balance_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"category": "string",
															"created": 1,
															"display_name": "string",
															"id": "string",
															"institution_name": "string",
															"last4": "string",
															"livemode": true,
															"object": "string",
															"ownership": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"ownership_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"permissions": ["string"],
															"status": "string",
															"subcategory": "string",
															"subscriptions": ["string"],
															"supported_payment_method_types": ["string"],
															"transaction_refresh": {
																"id": "string",
																"name": "string",
																"status": "string"
															}
														}
													},
													"id": "string",
													"livemode": true,
													"object": "string",
													"pending_webhooks": 1,
													"request": {
														"id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"idempotency_key": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													},
													"type": "string"
												},
												"signature_valid": true,
												"received_at": "2026-01-01T00:00:00.000Z",
												"processed_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error_message": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"account_id": "string",
										"payload": {
											"account": "string",
											"api_version": "string",
											"context": "string",
											"created": 1,
											"data": {
												"object": {
													"account_holder": {
														"customer": "string",
														"type": "string"
													},
													"account_numbers": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"category": "string",
													"created": 1,
													"display_name": "string",
													"id": "string",
													"institution_name": "string",
													"last4": "string",
													"livemode": true,
													"object": "string",
													"ownership": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"ownership_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"permissions": ["string"],
													"status": "string",
													"subcategory": "string",
													"subscriptions": ["string"],
													"supported_payment_method_types": ["string"],
													"transaction_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												}
											},
											"id": "string",
											"livemode": true,
											"object": "string",
											"pending_webhooks": 1,
											"request": {
												"id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"idempotency_key": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"account_id": "string",
											"payload": {
												"account": "string",
												"api_version": "string",
												"context": "string",
												"created": 1,
												"data": {
													"object": {
														"account_holder": {
															"customer": "string",
															"type": "string"
														},
														"account_numbers": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"category": "string",
														"created": 1,
														"display_name": "string",
														"id": "string",
														"institution_name": "string",
														"last4": "string",
														"livemode": true,
														"object": "string",
														"ownership": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"ownership_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"permissions": ["string"],
														"status": "string",
														"subcategory": "string",
														"subscriptions": ["string"],
														"supported_payment_method_types": ["string"],
														"transaction_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													}
												},
												"id": "string",
												"livemode": true,
												"object": "string",
												"pending_webhooks": 1,
												"request": {
													"id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"idempotency_key": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"account_id": "string",
											"payload": {
												"account": "string",
												"api_version": "string",
												"context": "string",
												"created": 1,
												"data": {
													"object": {
														"account_holder": {
															"customer": "string",
															"type": "string"
														},
														"account_numbers": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"category": "string",
														"created": 1,
														"display_name": "string",
														"id": "string",
														"institution_name": "string",
														"last4": "string",
														"livemode": true,
														"object": "string",
														"ownership": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"ownership_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"permissions": ["string"],
														"status": "string",
														"subcategory": "string",
														"subscriptions": ["string"],
														"supported_payment_method_types": ["string"],
														"transaction_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													}
												},
												"id": "string",
												"livemode": true,
												"object": "string",
												"pending_webhooks": 1,
												"request": {
													"id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"idempotency_key": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"event_id": "string",
										"event_type": "string",
										"account_id": "string",
										"payload": {
											"account": "string",
											"api_version": "string",
											"context": "string",
											"created": 1,
											"data": {
												"object": {
													"account_holder": {
														"customer": "string",
														"type": "string"
													},
													"account_numbers": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"balance_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"category": "string",
													"created": 1,
													"display_name": "string",
													"id": "string",
													"institution_name": "string",
													"last4": "string",
													"livemode": true,
													"object": "string",
													"ownership": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"ownership_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"permissions": ["string"],
													"status": "string",
													"subcategory": "string",
													"subscriptions": ["string"],
													"supported_payment_method_types": ["string"],
													"transaction_refresh": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												}
											},
											"id": "string",
											"livemode": true,
											"object": "string",
											"pending_webhooks": 1,
											"request": {
												"id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"idempotency_key": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"type": "string"
										},
										"signature_valid": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"processed_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error_message": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"event_id": "string",
											"event_type": "string",
											"account_id": "string",
											"payload": {
												"account": "string",
												"api_version": "string",
												"context": "string",
												"created": 1,
												"data": {
													"object": {
														"account_holder": {
															"customer": "string",
															"type": "string"
														},
														"account_numbers": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"balance_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"category": "string",
														"created": 1,
														"display_name": "string",
														"id": "string",
														"institution_name": "string",
														"last4": "string",
														"livemode": true,
														"object": "string",
														"ownership": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"ownership_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"permissions": ["string"],
														"status": "string",
														"subcategory": "string",
														"subscriptions": ["string"],
														"supported_payment_method_types": ["string"],
														"transaction_refresh": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													}
												},
												"id": "string",
												"livemode": true,
												"object": "string",
												"pending_webhooks": 1,
												"request": {
													"id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"idempotency_key": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"type": "string"
											},
											"signature_valid": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"processed_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error_message": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"method": "string",
												"extracted_text": "string",
												"extracted_json": {
													"text_length": 1
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"method": "string",
												"extracted_text": "string",
												"extracted_json": {
													"text_length": 1
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"method": "string",
										"extracted_text": "string",
										"extracted_json": {
											"text_length": 1
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"method": "string",
											"extracted_text": "string",
											"extracted_json": {
												"text_length": 1
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"method": "string",
												"extracted_text": "string",
												"extracted_json": {
													"text_length": 1
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"method": "string",
										"extracted_text": "string",
										"extracted_json": {
											"text_length": 1
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"method": "string",
											"extracted_text": "string",
											"extracted_json": {
												"text_length": 1
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"method": "string",
												"extracted_text": "string",
												"extracted_json": {
													"text_length": 1
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"method": "string",
										"extracted_text": "string",
										"extracted_json": {
											"text_length": 1
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"method": "string",
											"extracted_text": "string",
											"extracted_json": {
												"text_length": 1
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"uploaded_by": "00000000-0000-0000-0000-000000000000",
												"storage_bucket": "string",
												"storage_path": "string",
												"original_filename": "string",
												"mime_type": "string",
												"size_bytes": 1,
												"sha256": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"uploaded_by": "00000000-0000-0000-0000-000000000000",
												"storage_bucket": "string",
												"storage_path": "string",
												"original_filename": "string",
												"mime_type": "string",
												"size_bytes": 1,
												"sha256": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"uploaded_by": "00000000-0000-0000-0000-000000000000",
										"storage_bucket": "string",
										"storage_path": "string",
										"original_filename": "string",
										"mime_type": "string",
										"size_bytes": 1,
										"sha256": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"uploaded_by": "00000000-0000-0000-0000-000000000000",
												"storage_bucket": "string",
												"storage_path": "string",
												"original_filename": "string",
												"mime_type": "string",
												"size_bytes": 1,
												"sha256": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"uploaded_by": "00000000-0000-0000-0000-000000000000",
										"storage_bucket": "string",
										"storage_path": "string",
										"original_filename": "string",
										"mime_type": "string",
										"size_bytes": 1,
										"sha256": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"uploaded_by": "00000000-0000-0000-0000-000000000000",
												"storage_bucket": "string",
												"storage_path": "string",
												"original_filename": "string",
												"mime_type": "string",
												"size_bytes": 1,
												"sha256": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"uploaded_by": "00000000-0000-0000-0000-000000000000",
										"storage_bucket": "string",
										"storage_path": "string",
										"original_filename": "string",
										"mime_type": "string",
										"size_bytes": 1,
										"sha256": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"model_name": "string",
												"prompt_version": "string",
												"draft_json": {
													"charge_account_id": "string",
													"currency": "string",
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string",
													"notes": "string",
													"overall_confidence": 1,
													"splits": [
														{
															"amount": 1,
															"confidence": 1,
															"evidence": ["string"],
															"expense_account_id": "string",
															"location_id": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"memo": "string"
														}
													],
													"total_amount": 1,
													"transaction_date": "string",
													"vendor": {
														"confidence": 1,
														"evidence": ["string"],
														"id": "string",
														"name": "string"
													}
												},
												"validation_errors": ["string"],
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"model_name": "string",
												"prompt_version": "string",
												"draft_json": {
													"charge_account_id": "string",
													"currency": "string",
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string",
													"notes": "string",
													"overall_confidence": 1,
													"splits": [
														{
															"amount": 1,
															"confidence": 1,
															"evidence": ["string"],
															"expense_account_id": "string",
															"location_id": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"memo": "string"
														}
													],
													"total_amount": 1,
													"transaction_date": "string",
													"vendor": {
														"confidence": 1,
														"evidence": ["string"],
														"id": "string",
														"name": "string"
													}
												},
												"validation_errors": ["string"],
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"model_name": "string",
										"prompt_version": "string",
										"draft_json": {
											"charge_account_id": "string",
											"currency": "string",
											"expense_account_id": "string",
											"location_id": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"memo": "string",
											"notes": "string",
											"overall_confidence": 1,
											"splits": [
												{
													"amount": 1,
													"confidence": 1,
													"evidence": ["string"],
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string"
												}
											],
											"total_amount": 1,
											"transaction_date": "string",
											"vendor": {
												"confidence": 1,
												"evidence": ["string"],
												"id": "string",
												"name": "string"
											}
										},
										"validation_errors": ["string"],
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"model_name": "string",
											"prompt_version": "string",
											"draft_json": {
												"charge_account_id": "string",
												"currency": "string",
												"expense_account_id": "string",
												"location_id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"memo": "string",
												"notes": "string",
												"overall_confidence": 1,
												"splits": [
													{
														"amount": 1,
														"confidence": 1,
														"evidence": ["string"],
														"expense_account_id": "string",
														"location_id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"memo": "string"
													}
												],
												"total_amount": 1,
												"transaction_date": "string",
												"vendor": {
													"confidence": 1,
													"evidence": ["string"],
													"id": "string",
													"name": "string"
												}
											},
											"validation_errors": ["string"],
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"model_name": "string",
												"prompt_version": "string",
												"draft_json": {
													"charge_account_id": "string",
													"currency": "string",
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string",
													"notes": "string",
													"overall_confidence": 1,
													"splits": [
														{
															"amount": 1,
															"confidence": 1,
															"evidence": ["string"],
															"expense_account_id": "string",
															"location_id": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"memo": "string"
														}
													],
													"total_amount": 1,
													"transaction_date": "string",
													"vendor": {
														"confidence": 1,
														"evidence": ["string"],
														"id": "string",
														"name": "string"
													}
												},
												"validation_errors": ["string"],
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"model_name": "string",
										"prompt_version": "string",
										"draft_json": {
											"charge_account_id": "string",
											"currency": "string",
											"expense_account_id": "string",
											"location_id": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"memo": "string",
											"notes": "string",
											"overall_confidence": 1,
											"splits": [
												{
													"amount": 1,
													"confidence": 1,
													"evidence": ["string"],
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string"
												}
											],
											"total_amount": 1,
											"transaction_date": "string",
											"vendor": {
												"confidence": 1,
												"evidence": ["string"],
												"id": "string",
												"name": "string"
											}
										},
										"validation_errors": ["string"],
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"model_name": "string",
											"prompt_version": "string",
											"draft_json": {
												"charge_account_id": "string",
												"currency": "string",
												"expense_account_id": "string",
												"location_id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"memo": "string",
												"notes": "string",
												"overall_confidence": 1,
												"splits": [
													{
														"amount": 1,
														"confidence": 1,
														"evidence": ["string"],
														"expense_account_id": "string",
														"location_id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"memo": "string"
													}
												],
												"total_amount": 1,
												"transaction_date": "string",
												"vendor": {
													"confidence": 1,
													"evidence": ["string"],
													"id": "string",
													"name": "string"
												}
											},
											"validation_errors": ["string"],
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"expense_document_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"model_name": "string",
												"prompt_version": "string",
												"draft_json": {
													"charge_account_id": "string",
													"currency": "string",
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string",
													"notes": "string",
													"overall_confidence": 1,
													"splits": [
														{
															"amount": 1,
															"confidence": 1,
															"evidence": ["string"],
															"expense_account_id": "string",
															"location_id": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"memo": "string"
														}
													],
													"total_amount": 1,
													"transaction_date": "string",
													"vendor": {
														"confidence": 1,
														"evidence": ["string"],
														"id": "string",
														"name": "string"
													}
												},
												"validation_errors": ["string"],
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"model_name": "string",
										"prompt_version": "string",
										"draft_json": {
											"charge_account_id": "string",
											"currency": "string",
											"expense_account_id": "string",
											"location_id": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"memo": "string",
											"notes": "string",
											"overall_confidence": 1,
											"splits": [
												{
													"amount": 1,
													"confidence": 1,
													"evidence": ["string"],
													"expense_account_id": "string",
													"location_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"memo": "string"
												}
											],
											"total_amount": 1,
											"transaction_date": "string",
											"vendor": {
												"confidence": 1,
												"evidence": ["string"],
												"id": "string",
												"name": "string"
											}
										},
										"validation_errors": ["string"],
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"model_name": "string",
											"prompt_version": "string",
											"draft_json": {
												"charge_account_id": "string",
												"currency": "string",
												"expense_account_id": "string",
												"location_id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"memo": "string",
												"notes": "string",
												"overall_confidence": 1,
												"splits": [
													{
														"amount": 1,
														"confidence": 1,
														"evidence": ["string"],
														"expense_account_id": "string",
														"location_id": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"memo": "string"
													}
												],
												"total_amount": 1,
												"transaction_date": "string",
												"vendor": {
													"confidence": 1,
													"evidence": ["string"],
													"id": "string",
													"name": "string"
												}
											},
											"validation_errors": ["string"],
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"priority": "string",
												"match_vendor_id": "00000000-0000-0000-0000-000000000000",
												"match_contains_text": "string",
												"match_min_amount": 1,
												"match_max_amount": 1,
												"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"output_location_id": 1,
												"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"priority": "string",
												"match_vendor_id": "00000000-0000-0000-0000-000000000000",
												"match_contains_text": "string",
												"match_min_amount": 1,
												"match_max_amount": 1,
												"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"output_location_id": 1,
												"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"priority": "string",
										"match_vendor_id": "00000000-0000-0000-0000-000000000000",
										"match_contains_text": "string",
										"match_min_amount": 1,
										"match_max_amount": 1,
										"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"output_location_id": 1,
										"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"priority": "string",
											"match_vendor_id": "00000000-0000-0000-0000-000000000000",
											"match_contains_text": "string",
											"match_min_amount": 1,
											"match_max_amount": 1,
											"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"output_location_id": 1,
											"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"priority": "string",
												"match_vendor_id": "00000000-0000-0000-0000-000000000000",
												"match_contains_text": "string",
												"match_min_amount": 1,
												"match_max_amount": 1,
												"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"output_location_id": 1,
												"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"priority": "string",
										"match_vendor_id": "00000000-0000-0000-0000-000000000000",
										"match_contains_text": "string",
										"match_min_amount": 1,
										"match_max_amount": 1,
										"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"output_location_id": 1,
										"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"priority": "string",
											"match_vendor_id": "00000000-0000-0000-0000-000000000000",
											"match_contains_text": "string",
											"match_min_amount": 1,
											"match_max_amount": 1,
											"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"output_location_id": 1,
											"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"priority": "string",
												"match_vendor_id": "00000000-0000-0000-0000-000000000000",
												"match_contains_text": "string",
												"match_min_amount": 1,
												"match_max_amount": 1,
												"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"output_location_id": 1,
												"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
												"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"priority": "string",
										"match_vendor_id": "00000000-0000-0000-0000-000000000000",
										"match_contains_text": "string",
										"match_min_amount": 1,
										"match_max_amount": 1,
										"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"output_location_id": 1,
										"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"priority": "string",
											"match_vendor_id": "00000000-0000-0000-0000-000000000000",
											"match_contains_text": "string",
											"match_min_amount": 1,
											"match_max_amount": 1,
											"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"output_location_id": 1,
											"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"priority": "string",
											"match_vendor_id": "00000000-0000-0000-0000-000000000000",
											"match_contains_text": "string",
											"match_min_amount": 1,
											"match_max_amount": 1,
											"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"output_location_id": 1,
											"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"priority": "string",
										"match_vendor_id": "00000000-0000-0000-0000-000000000000",
										"match_contains_text": "string",
										"match_min_amount": 1,
										"match_max_amount": 1,
										"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"output_location_id": 1,
										"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
										"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"priority": "string",
											"match_vendor_id": "00000000-0000-0000-0000-000000000000",
											"match_contains_text": "string",
											"match_min_amount": 1,
											"match_max_amount": 1,
											"match_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"output_location_id": 1,
											"output_expense_account_id": "00000000-0000-0000-0000-000000000000",
											"output_charge_account_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": "string",
												"token_cipher_algo": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": "string",
												"token_cipher_algo": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": "string",
										"token_cipher_algo": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": "string",
											"token_cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": "string",
												"token_cipher_algo": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": "string",
										"token_cipher_algo": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": "string",
											"token_cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": "string",
												"token_cipher_algo": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": "string",
										"token_cipher_algo": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": "string",
											"token_cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"cutoff_date": "2026-01-01T00:00:00.000Z",
												"next_page_token": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": [
													{
														"fileId": "string",
														"message": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"cutoff_date": "2026-01-01T00:00:00.000Z",
												"next_page_token": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": [
													{
														"fileId": "string",
														"message": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"monitor_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"cutoff_date": "2026-01-01T00:00:00.000Z",
										"next_page_token": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"started_at": "2026-01-01T00:00:00.000Z",
										"finished_at": "2026-01-01T00:00:00.000Z",
										"scanned_count": "string",
										"imported_count": "string",
										"skipped_count": "string",
										"error_count": "string",
										"errors": [
											{
												"fileId": "string",
												"message": "string"
											}
										]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"monitor_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"cutoff_date": "2026-01-01T00:00:00.000Z",
											"next_page_token": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"started_at": "2026-01-01T00:00:00.000Z",
											"finished_at": "2026-01-01T00:00:00.000Z",
											"scanned_count": "string",
											"imported_count": "string",
											"skipped_count": "string",
											"error_count": "string",
											"errors": [
												{
													"fileId": "string",
													"message": "string"
												}
											]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"cutoff_date": "2026-01-01T00:00:00.000Z",
												"next_page_token": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": [
													{
														"fileId": "string",
														"message": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"monitor_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"cutoff_date": "2026-01-01T00:00:00.000Z",
										"next_page_token": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"started_at": "2026-01-01T00:00:00.000Z",
										"finished_at": "2026-01-01T00:00:00.000Z",
										"scanned_count": "string",
										"imported_count": "string",
										"skipped_count": "string",
										"error_count": "string",
										"errors": [
											{
												"fileId": "string",
												"message": "string"
											}
										]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"monitor_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"cutoff_date": "2026-01-01T00:00:00.000Z",
											"next_page_token": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"started_at": "2026-01-01T00:00:00.000Z",
											"finished_at": "2026-01-01T00:00:00.000Z",
											"scanned_count": "string",
											"imported_count": "string",
											"skipped_count": "string",
											"error_count": "string",
											"errors": [
												{
													"fileId": "string",
													"message": "string"
												}
											]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"cutoff_date": "2026-01-01T00:00:00.000Z",
												"next_page_token": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": [
													{
														"fileId": "string",
														"message": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"monitor_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"cutoff_date": "2026-01-01T00:00:00.000Z",
										"next_page_token": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"started_at": "2026-01-01T00:00:00.000Z",
										"finished_at": "2026-01-01T00:00:00.000Z",
										"scanned_count": "string",
										"imported_count": "string",
										"skipped_count": "string",
										"error_count": "string",
										"errors": [
											{
												"fileId": "string",
												"message": "string"
											}
										]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"monitor_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"cutoff_date": "2026-01-01T00:00:00.000Z",
											"next_page_token": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"started_at": "2026-01-01T00:00:00.000Z",
											"finished_at": "2026-01-01T00:00:00.000Z",
											"scanned_count": "string",
											"imported_count": "string",
											"skipped_count": "string",
											"error_count": "string",
											"errors": [
												{
													"fileId": "string",
													"message": "string"
												}
											]
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"folder_id": "string",
												"folder_name": "string",
												"enabled": true,
												"allowed_mime_types": "string",
												"processed_folder_id": "string",
												"processed_folder_name": "string",
												"last_page_token": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"folder_id": "string",
												"folder_name": "string",
												"enabled": true,
												"allowed_mime_types": "string",
												"processed_folder_id": "string",
												"processed_folder_name": "string",
												"last_page_token": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"connection_id": "00000000-0000-0000-0000-000000000000",
										"folder_id": "string",
										"folder_name": "string",
										"enabled": true,
										"allowed_mime_types": "string",
										"processed_folder_id": "string",
										"processed_folder_name": "string",
										"last_page_token": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"connection_id": "00000000-0000-0000-0000-000000000000",
											"folder_id": "string",
											"folder_name": "string",
											"enabled": true,
											"allowed_mime_types": "string",
											"processed_folder_id": "string",
											"processed_folder_name": "string",
											"last_page_token": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"folder_id": "string",
												"folder_name": "string",
												"enabled": true,
												"allowed_mime_types": "string",
												"processed_folder_id": "string",
												"processed_folder_name": "string",
												"last_page_token": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"connection_id": "00000000-0000-0000-0000-000000000000",
										"folder_id": "string",
										"folder_name": "string",
										"enabled": true,
										"allowed_mime_types": "string",
										"processed_folder_id": "string",
										"processed_folder_name": "string",
										"last_page_token": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"connection_id": "00000000-0000-0000-0000-000000000000",
											"folder_id": "string",
											"folder_name": "string",
											"enabled": true,
											"allowed_mime_types": "string",
											"processed_folder_id": "string",
											"processed_folder_name": "string",
											"last_page_token": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"folder_id": "string",
												"folder_name": "string",
												"enabled": true,
												"allowed_mime_types": "string",
												"processed_folder_id": "string",
												"processed_folder_name": "string",
												"last_page_token": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"connection_id": "00000000-0000-0000-0000-000000000000",
										"folder_id": "string",
										"folder_name": "string",
										"enabled": true,
										"allowed_mime_types": "string",
										"processed_folder_id": "string",
										"processed_folder_name": "string",
										"last_page_token": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"connection_id": "00000000-0000-0000-0000-000000000000",
											"folder_id": "string",
											"folder_name": "string",
											"enabled": true,
											"allowed_mime_types": "string",
											"processed_folder_id": "string",
											"processed_folder_name": "string",
											"last_page_token": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"sync_type": "string",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"sync_type": "string",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"monitor_id": "00000000-0000-0000-0000-000000000000",
										"sync_type": "string",
										"started_at": "2026-01-01T00:00:00.000Z",
										"finished_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"scanned_count": "string",
										"imported_count": "string",
										"skipped_count": "string",
										"error_count": "string",
										"errors": ["string"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"monitor_id": "00000000-0000-0000-0000-000000000000",
											"sync_type": "string",
											"started_at": "2026-01-01T00:00:00.000Z",
											"finished_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"scanned_count": "string",
											"imported_count": "string",
											"skipped_count": "string",
											"error_count": "string",
											"errors": ["string"]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"sync_type": "string",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"monitor_id": "00000000-0000-0000-0000-000000000000",
										"sync_type": "string",
										"started_at": "2026-01-01T00:00:00.000Z",
										"finished_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"scanned_count": "string",
										"imported_count": "string",
										"skipped_count": "string",
										"error_count": "string",
										"errors": ["string"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"monitor_id": "00000000-0000-0000-0000-000000000000",
											"sync_type": "string",
											"started_at": "2026-01-01T00:00:00.000Z",
											"finished_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"scanned_count": "string",
											"imported_count": "string",
											"skipped_count": "string",
											"error_count": "string",
											"errors": ["string"]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"monitor_id": "00000000-0000-0000-0000-000000000000",
												"sync_type": "string",
												"started_at": "2026-01-01T00:00:00.000Z",
												"finished_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"scanned_count": "string",
												"imported_count": "string",
												"skipped_count": "string",
												"error_count": "string",
												"errors": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"monitor_id": "00000000-0000-0000-0000-000000000000",
										"sync_type": "string",
										"started_at": "2026-01-01T00:00:00.000Z",
										"finished_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"scanned_count": "string",
										"imported_count": "string",
										"skipped_count": "string",
										"error_count": "string",
										"errors": ["string"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"monitor_id": "00000000-0000-0000-0000-000000000000",
											"sync_type": "string",
											"started_at": "2026-01-01T00:00:00.000Z",
											"finished_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"scanned_count": "string",
											"imported_count": "string",
											"skipped_count": "string",
											"error_count": "string",
											"errors": ["string"]
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"week_start_date": "2026-01-01",
												"week_end_date": "2026-01-01",
												"employee_summary": [
													{
														"Catering": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Mesa": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Scottsdale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Tempe": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Wholesale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"hours": 1,
														"name": "string",
														"overtime": 1,
														"tips": 1
													}
												],
												"tips_summary": [
													{
														"location": "string",
														"sales": "string",
														"tips": "string"
													}
												],
												"raw_timecards": [
													{
														"actual": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"adj_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adj_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adjusted": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"approved_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"approved_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"costs": [
															{
																"category": "string",
																"cost": 1,
																"duration": 1,
																"factor": 1,
																"label": "string",
																"rule_code": "string",
																"rule_code_order": 1,
																"type": "string"
															}
														],
														"duration": 1,
														"events": [
															{
																"bio_type": "string",
																"bio_value": "string",
																"event_time": "string",
																"event_time_utc": "string",
																"event_type": "string",
																"id": "string",
																"source": "string"
															}
														],
														"flagged": true,
														"id": "string",
														"is_adjusted": true,
														"last_event_time": "string",
														"location": {
															"avatar_url": "string",
															"currency": "string",
															"id": "string",
															"name": "string"
														},
														"manager_notes": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"marked_as": "string",
														"marked_at": "string",
														"marked_by": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"overtime": 1,
														"overtime_mins": 1,
														"payrolled": true,
														"schedule": {
															"avatar_url": "string",
															"id": "string",
															"locale": "string",
															"location_id": "string",
															"name": "string"
														},
														"shift": {
															"address_label": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"address_type": 1,
															"duration": 1,
															"duration_paid": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"end_at": "string",
															"end_at_utc": "string",
															"id": "string",
															"lat": 1,
															"lng": 1,
															"owner_id": "string",
															"paid_break": 1,
															"paid_mins": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"position_id": "string",
															"position_title": "string",
															"rate": 1,
															"scheduled": true,
															"sections": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"skill_set_id": 1,
															"start_at": "string",
															"start_at_utc": "string",
															"timeline": "string",
															"timezone": "string",
															"unpaid_break": 1
														},
														"status": "string",
														"timeline": "string",
														"total_cost": 1,
														"updated_at": "string",
														"warnings": ["string"],
														"worker": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"worker_notes": "string"
													}
												],
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"week_start_date": "2026-01-01",
												"week_end_date": "2026-01-01",
												"employee_summary": [
													{
														"Catering": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Mesa": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Scottsdale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Tempe": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Wholesale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"hours": 1,
														"name": "string",
														"overtime": 1,
														"tips": 1
													}
												],
												"tips_summary": [
													{
														"location": "string",
														"sales": "string",
														"tips": "string"
													}
												],
												"raw_timecards": [
													{
														"actual": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"adj_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adj_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adjusted": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"approved_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"approved_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"costs": [
															{
																"category": "string",
																"cost": 1,
																"duration": 1,
																"factor": 1,
																"label": "string",
																"rule_code": "string",
																"rule_code_order": 1,
																"type": "string"
															}
														],
														"duration": 1,
														"events": [
															{
																"bio_type": "string",
																"bio_value": "string",
																"event_time": "string",
																"event_time_utc": "string",
																"event_type": "string",
																"id": "string",
																"source": "string"
															}
														],
														"flagged": true,
														"id": "string",
														"is_adjusted": true,
														"last_event_time": "string",
														"location": {
															"avatar_url": "string",
															"currency": "string",
															"id": "string",
															"name": "string"
														},
														"manager_notes": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"marked_as": "string",
														"marked_at": "string",
														"marked_by": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"overtime": 1,
														"overtime_mins": 1,
														"payrolled": true,
														"schedule": {
															"avatar_url": "string",
															"id": "string",
															"locale": "string",
															"location_id": "string",
															"name": "string"
														},
														"shift": {
															"address_label": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"address_type": 1,
															"duration": 1,
															"duration_paid": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"end_at": "string",
															"end_at_utc": "string",
															"id": "string",
															"lat": 1,
															"lng": 1,
															"owner_id": "string",
															"paid_break": 1,
															"paid_mins": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"position_id": "string",
															"position_title": "string",
															"rate": 1,
															"scheduled": true,
															"sections": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"skill_set_id": 1,
															"start_at": "string",
															"start_at_utc": "string",
															"timeline": "string",
															"timezone": "string",
															"unpaid_break": 1
														},
														"status": "string",
														"timeline": "string",
														"total_cost": 1,
														"updated_at": "string",
														"warnings": ["string"],
														"worker": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"worker_notes": "string"
													}
												],
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"week_start_date": "2026-01-01",
										"week_end_date": "2026-01-01",
										"employee_summary": [
											{
												"Catering": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Mesa": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Scottsdale": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Tempe": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Wholesale": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"hours": 1,
												"name": "string",
												"overtime": 1,
												"tips": 1
											}
										],
										"tips_summary": [
											{
												"location": "string",
												"sales": "string",
												"tips": "string"
											}
										],
										"raw_timecards": [
											{
												"actual": {
													"delta_ci": 1,
													"delta_co": 1,
													"duration": 1,
													"duration_paid": 1,
													"end_time": "string",
													"paid_break": 1,
													"start_time": "string",
													"unpaid_break": 1
												},
												"adj_at": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"adj_by": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"adjusted": {
													"delta_ci": 1,
													"delta_co": 1,
													"duration": 1,
													"duration_paid": 1,
													"end_time": "string",
													"paid_break": 1,
													"start_time": "string",
													"unpaid_break": 1
												},
												"approved_at": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"approved_by": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"costs": [
													{
														"category": "string",
														"cost": 1,
														"duration": 1,
														"factor": 1,
														"label": "string",
														"rule_code": "string",
														"rule_code_order": 1,
														"type": "string"
													}
												],
												"duration": 1,
												"events": [
													{
														"bio_type": "string",
														"bio_value": "string",
														"event_time": "string",
														"event_time_utc": "string",
														"event_type": "string",
														"id": "string",
														"source": "string"
													}
												],
												"flagged": true,
												"id": "string",
												"is_adjusted": true,
												"last_event_time": "string",
												"location": {
													"avatar_url": "string",
													"currency": "string",
													"id": "string",
													"name": "string"
												},
												"manager_notes": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"marked_as": "string",
												"marked_at": "string",
												"marked_by": {
													"avatar_url": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"id": "string",
													"name": "string"
												},
												"overtime": 1,
												"overtime_mins": 1,
												"payrolled": true,
												"schedule": {
													"avatar_url": "string",
													"id": "string",
													"locale": "string",
													"location_id": "string",
													"name": "string"
												},
												"shift": {
													"address_label": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"address_type": 1,
													"duration": 1,
													"duration_paid": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"end_at": "string",
													"end_at_utc": "string",
													"id": "string",
													"lat": 1,
													"lng": 1,
													"owner_id": "string",
													"paid_break": 1,
													"paid_mins": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"position_id": "string",
													"position_title": "string",
													"rate": 1,
													"scheduled": true,
													"sections": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"skill_set_id": 1,
													"start_at": "string",
													"start_at_utc": "string",
													"timeline": "string",
													"timezone": "string",
													"unpaid_break": 1
												},
												"status": "string",
												"timeline": "string",
												"total_cost": 1,
												"updated_at": "string",
												"warnings": ["string"],
												"worker": {
													"avatar_url": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"id": "string",
													"name": "string"
												},
												"worker_notes": "string"
											}
										],
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"week_start_date": "2026-01-01",
											"week_end_date": "2026-01-01",
											"employee_summary": [
												{
													"Catering": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Mesa": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Scottsdale": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Tempe": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Wholesale": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"hours": 1,
													"name": "string",
													"overtime": 1,
													"tips": 1
												}
											],
											"tips_summary": [
												{
													"location": "string",
													"sales": "string",
													"tips": "string"
												}
											],
											"raw_timecards": [
												{
													"actual": {
														"delta_ci": 1,
														"delta_co": 1,
														"duration": 1,
														"duration_paid": 1,
														"end_time": "string",
														"paid_break": 1,
														"start_time": "string",
														"unpaid_break": 1
													},
													"adj_at": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"adj_by": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"adjusted": {
														"delta_ci": 1,
														"delta_co": 1,
														"duration": 1,
														"duration_paid": 1,
														"end_time": "string",
														"paid_break": 1,
														"start_time": "string",
														"unpaid_break": 1
													},
													"approved_at": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"approved_by": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"costs": [
														{
															"category": "string",
															"cost": 1,
															"duration": 1,
															"factor": 1,
															"label": "string",
															"rule_code": "string",
															"rule_code_order": 1,
															"type": "string"
														}
													],
													"duration": 1,
													"events": [
														{
															"bio_type": "string",
															"bio_value": "string",
															"event_time": "string",
															"event_time_utc": "string",
															"event_type": "string",
															"id": "string",
															"source": "string"
														}
													],
													"flagged": true,
													"id": "string",
													"is_adjusted": true,
													"last_event_time": "string",
													"location": {
														"avatar_url": "string",
														"currency": "string",
														"id": "string",
														"name": "string"
													},
													"manager_notes": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"marked_as": "string",
													"marked_at": "string",
													"marked_by": {
														"avatar_url": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"id": "string",
														"name": "string"
													},
													"overtime": 1,
													"overtime_mins": 1,
													"payrolled": true,
													"schedule": {
														"avatar_url": "string",
														"id": "string",
														"locale": "string",
														"location_id": "string",
														"name": "string"
													},
													"shift": {
														"address_label": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"address_type": 1,
														"duration": 1,
														"duration_paid": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"end_at": "string",
														"end_at_utc": "string",
														"id": "string",
														"lat": 1,
														"lng": 1,
														"owner_id": "string",
														"paid_break": 1,
														"paid_mins": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"position_id": "string",
														"position_title": "string",
														"rate": 1,
														"scheduled": true,
														"sections": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"skill_set_id": 1,
														"start_at": "string",
														"start_at_utc": "string",
														"timeline": "string",
														"timezone": "string",
														"unpaid_break": 1
													},
													"status": "string",
													"timeline": "string",
													"total_cost": 1,
													"updated_at": "string",
													"warnings": ["string"],
													"worker": {
														"avatar_url": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"id": "string",
														"name": "string"
													},
													"worker_notes": "string"
												}
											],
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"week_start_date": "2026-01-01",
												"week_end_date": "2026-01-01",
												"employee_summary": [
													{
														"Catering": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Mesa": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Scottsdale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Tempe": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Wholesale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"hours": 1,
														"name": "string",
														"overtime": 1,
														"tips": 1
													}
												],
												"tips_summary": [
													{
														"location": "string",
														"sales": "string",
														"tips": "string"
													}
												],
												"raw_timecards": [
													{
														"actual": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"adj_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adj_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adjusted": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"approved_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"approved_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"costs": [
															{
																"category": "string",
																"cost": 1,
																"duration": 1,
																"factor": 1,
																"label": "string",
																"rule_code": "string",
																"rule_code_order": 1,
																"type": "string"
															}
														],
														"duration": 1,
														"events": [
															{
																"bio_type": "string",
																"bio_value": "string",
																"event_time": "string",
																"event_time_utc": "string",
																"event_type": "string",
																"id": "string",
																"source": "string"
															}
														],
														"flagged": true,
														"id": "string",
														"is_adjusted": true,
														"last_event_time": "string",
														"location": {
															"avatar_url": "string",
															"currency": "string",
															"id": "string",
															"name": "string"
														},
														"manager_notes": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"marked_as": "string",
														"marked_at": "string",
														"marked_by": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"overtime": 1,
														"overtime_mins": 1,
														"payrolled": true,
														"schedule": {
															"avatar_url": "string",
															"id": "string",
															"locale": "string",
															"location_id": "string",
															"name": "string"
														},
														"shift": {
															"address_label": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"address_type": 1,
															"duration": 1,
															"duration_paid": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"end_at": "string",
															"end_at_utc": "string",
															"id": "string",
															"lat": 1,
															"lng": 1,
															"owner_id": "string",
															"paid_break": 1,
															"paid_mins": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"position_id": "string",
															"position_title": "string",
															"rate": 1,
															"scheduled": true,
															"sections": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"skill_set_id": 1,
															"start_at": "string",
															"start_at_utc": "string",
															"timeline": "string",
															"timezone": "string",
															"unpaid_break": 1
														},
														"status": "string",
														"timeline": "string",
														"total_cost": 1,
														"updated_at": "string",
														"warnings": ["string"],
														"worker": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"worker_notes": "string"
													}
												],
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"week_start_date": "2026-01-01",
										"week_end_date": "2026-01-01",
										"employee_summary": [
											{
												"Catering": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Mesa": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Scottsdale": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Tempe": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Wholesale": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"hours": 1,
												"name": "string",
												"overtime": 1,
												"tips": 1
											}
										],
										"tips_summary": [
											{
												"location": "string",
												"sales": "string",
												"tips": "string"
											}
										],
										"raw_timecards": [
											{
												"actual": {
													"delta_ci": 1,
													"delta_co": 1,
													"duration": 1,
													"duration_paid": 1,
													"end_time": "string",
													"paid_break": 1,
													"start_time": "string",
													"unpaid_break": 1
												},
												"adj_at": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"adj_by": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"adjusted": {
													"delta_ci": 1,
													"delta_co": 1,
													"duration": 1,
													"duration_paid": 1,
													"end_time": "string",
													"paid_break": 1,
													"start_time": "string",
													"unpaid_break": 1
												},
												"approved_at": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"approved_by": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"costs": [
													{
														"category": "string",
														"cost": 1,
														"duration": 1,
														"factor": 1,
														"label": "string",
														"rule_code": "string",
														"rule_code_order": 1,
														"type": "string"
													}
												],
												"duration": 1,
												"events": [
													{
														"bio_type": "string",
														"bio_value": "string",
														"event_time": "string",
														"event_time_utc": "string",
														"event_type": "string",
														"id": "string",
														"source": "string"
													}
												],
												"flagged": true,
												"id": "string",
												"is_adjusted": true,
												"last_event_time": "string",
												"location": {
													"avatar_url": "string",
													"currency": "string",
													"id": "string",
													"name": "string"
												},
												"manager_notes": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"marked_as": "string",
												"marked_at": "string",
												"marked_by": {
													"avatar_url": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"id": "string",
													"name": "string"
												},
												"overtime": 1,
												"overtime_mins": 1,
												"payrolled": true,
												"schedule": {
													"avatar_url": "string",
													"id": "string",
													"locale": "string",
													"location_id": "string",
													"name": "string"
												},
												"shift": {
													"address_label": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"address_type": 1,
													"duration": 1,
													"duration_paid": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"end_at": "string",
													"end_at_utc": "string",
													"id": "string",
													"lat": 1,
													"lng": 1,
													"owner_id": "string",
													"paid_break": 1,
													"paid_mins": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"position_id": "string",
													"position_title": "string",
													"rate": 1,
													"scheduled": true,
													"sections": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"skill_set_id": 1,
													"start_at": "string",
													"start_at_utc": "string",
													"timeline": "string",
													"timezone": "string",
													"unpaid_break": 1
												},
												"status": "string",
												"timeline": "string",
												"total_cost": 1,
												"updated_at": "string",
												"warnings": ["string"],
												"worker": {
													"avatar_url": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"id": "string",
													"name": "string"
												},
												"worker_notes": "string"
											}
										],
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"week_start_date": "2026-01-01",
											"week_end_date": "2026-01-01",
											"employee_summary": [
												{
													"Catering": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Mesa": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Scottsdale": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Tempe": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Wholesale": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"hours": 1,
													"name": "string",
													"overtime": 1,
													"tips": 1
												}
											],
											"tips_summary": [
												{
													"location": "string",
													"sales": "string",
													"tips": "string"
												}
											],
											"raw_timecards": [
												{
													"actual": {
														"delta_ci": 1,
														"delta_co": 1,
														"duration": 1,
														"duration_paid": 1,
														"end_time": "string",
														"paid_break": 1,
														"start_time": "string",
														"unpaid_break": 1
													},
													"adj_at": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"adj_by": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"adjusted": {
														"delta_ci": 1,
														"delta_co": 1,
														"duration": 1,
														"duration_paid": 1,
														"end_time": "string",
														"paid_break": 1,
														"start_time": "string",
														"unpaid_break": 1
													},
													"approved_at": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"approved_by": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"costs": [
														{
															"category": "string",
															"cost": 1,
															"duration": 1,
															"factor": 1,
															"label": "string",
															"rule_code": "string",
															"rule_code_order": 1,
															"type": "string"
														}
													],
													"duration": 1,
													"events": [
														{
															"bio_type": "string",
															"bio_value": "string",
															"event_time": "string",
															"event_time_utc": "string",
															"event_type": "string",
															"id": "string",
															"source": "string"
														}
													],
													"flagged": true,
													"id": "string",
													"is_adjusted": true,
													"last_event_time": "string",
													"location": {
														"avatar_url": "string",
														"currency": "string",
														"id": "string",
														"name": "string"
													},
													"manager_notes": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"marked_as": "string",
													"marked_at": "string",
													"marked_by": {
														"avatar_url": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"id": "string",
														"name": "string"
													},
													"overtime": 1,
													"overtime_mins": 1,
													"payrolled": true,
													"schedule": {
														"avatar_url": "string",
														"id": "string",
														"locale": "string",
														"location_id": "string",
														"name": "string"
													},
													"shift": {
														"address_label": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"address_type": 1,
														"duration": 1,
														"duration_paid": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"end_at": "string",
														"end_at_utc": "string",
														"id": "string",
														"lat": 1,
														"lng": 1,
														"owner_id": "string",
														"paid_break": 1,
														"paid_mins": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"position_id": "string",
														"position_title": "string",
														"rate": 1,
														"scheduled": true,
														"sections": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"skill_set_id": 1,
														"start_at": "string",
														"start_at_utc": "string",
														"timeline": "string",
														"timezone": "string",
														"unpaid_break": 1
													},
													"status": "string",
													"timeline": "string",
													"total_cost": 1,
													"updated_at": "string",
													"warnings": ["string"],
													"worker": {
														"avatar_url": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"id": "string",
														"name": "string"
													},
													"worker_notes": "string"
												}
											],
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"week_start_date": "2026-01-01",
												"week_end_date": "2026-01-01",
												"employee_summary": [
													{
														"Catering": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Mesa": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Scottsdale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Tempe": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"Wholesale": {
															"hours": 1,
															"location": "string",
															"overtime": 1,
															"tips": 1
														},
														"hours": 1,
														"name": "string",
														"overtime": 1,
														"tips": 1
													}
												],
												"tips_summary": [
													{
														"location": "string",
														"sales": "string",
														"tips": "string"
													}
												],
												"raw_timecards": [
													{
														"actual": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"adj_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adj_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"adjusted": {
															"delta_ci": 1,
															"delta_co": 1,
															"duration": 1,
															"duration_paid": 1,
															"end_time": "string",
															"paid_break": 1,
															"start_time": "string",
															"unpaid_break": 1
														},
														"approved_at": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"approved_by": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"costs": [
															{
																"category": "string",
																"cost": 1,
																"duration": 1,
																"factor": 1,
																"label": "string",
																"rule_code": "string",
																"rule_code_order": 1,
																"type": "string"
															}
														],
														"duration": 1,
														"events": [
															{
																"bio_type": "string",
																"bio_value": "string",
																"event_time": "string",
																"event_time_utc": "string",
																"event_type": "string",
																"id": "string",
																"source": "string"
															}
														],
														"flagged": true,
														"id": "string",
														"is_adjusted": true,
														"last_event_time": "string",
														"location": {
															"avatar_url": "string",
															"currency": "string",
															"id": "string",
															"name": "string"
														},
														"manager_notes": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"marked_as": "string",
														"marked_at": "string",
														"marked_by": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"overtime": 1,
														"overtime_mins": 1,
														"payrolled": true,
														"schedule": {
															"avatar_url": "string",
															"id": "string",
															"locale": "string",
															"location_id": "string",
															"name": "string"
														},
														"shift": {
															"address_label": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"address_type": 1,
															"duration": 1,
															"duration_paid": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"end_at": "string",
															"end_at_utc": "string",
															"id": "string",
															"lat": 1,
															"lng": 1,
															"owner_id": "string",
															"paid_break": 1,
															"paid_mins": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"position_id": "string",
															"position_title": "string",
															"rate": 1,
															"scheduled": true,
															"sections": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"skill_set_id": 1,
															"start_at": "string",
															"start_at_utc": "string",
															"timeline": "string",
															"timezone": "string",
															"unpaid_break": 1
														},
														"status": "string",
														"timeline": "string",
														"total_cost": 1,
														"updated_at": "string",
														"warnings": ["string"],
														"worker": {
															"avatar_url": {
																"id": "string",
																"name": "string",
																"status": "string"
															},
															"id": "string",
															"name": "string"
														},
														"worker_notes": "string"
													}
												],
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"week_start_date": "2026-01-01",
										"week_end_date": "2026-01-01",
										"employee_summary": [
											{
												"Catering": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Mesa": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Scottsdale": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Tempe": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"Wholesale": {
													"hours": 1,
													"location": "string",
													"overtime": 1,
													"tips": 1
												},
												"hours": 1,
												"name": "string",
												"overtime": 1,
												"tips": 1
											}
										],
										"tips_summary": [
											{
												"location": "string",
												"sales": "string",
												"tips": "string"
											}
										],
										"raw_timecards": [
											{
												"actual": {
													"delta_ci": 1,
													"delta_co": 1,
													"duration": 1,
													"duration_paid": 1,
													"end_time": "string",
													"paid_break": 1,
													"start_time": "string",
													"unpaid_break": 1
												},
												"adj_at": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"adj_by": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"adjusted": {
													"delta_ci": 1,
													"delta_co": 1,
													"duration": 1,
													"duration_paid": 1,
													"end_time": "string",
													"paid_break": 1,
													"start_time": "string",
													"unpaid_break": 1
												},
												"approved_at": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"approved_by": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"costs": [
													{
														"category": "string",
														"cost": 1,
														"duration": 1,
														"factor": 1,
														"label": "string",
														"rule_code": "string",
														"rule_code_order": 1,
														"type": "string"
													}
												],
												"duration": 1,
												"events": [
													{
														"bio_type": "string",
														"bio_value": "string",
														"event_time": "string",
														"event_time_utc": "string",
														"event_type": "string",
														"id": "string",
														"source": "string"
													}
												],
												"flagged": true,
												"id": "string",
												"is_adjusted": true,
												"last_event_time": "string",
												"location": {
													"avatar_url": "string",
													"currency": "string",
													"id": "string",
													"name": "string"
												},
												"manager_notes": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"marked_as": "string",
												"marked_at": "string",
												"marked_by": {
													"avatar_url": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"id": "string",
													"name": "string"
												},
												"overtime": 1,
												"overtime_mins": 1,
												"payrolled": true,
												"schedule": {
													"avatar_url": "string",
													"id": "string",
													"locale": "string",
													"location_id": "string",
													"name": "string"
												},
												"shift": {
													"address_label": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"address_type": 1,
													"duration": 1,
													"duration_paid": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"end_at": "string",
													"end_at_utc": "string",
													"id": "string",
													"lat": 1,
													"lng": 1,
													"owner_id": "string",
													"paid_break": 1,
													"paid_mins": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"position_id": "string",
													"position_title": "string",
													"rate": 1,
													"scheduled": true,
													"sections": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"skill_set_id": 1,
													"start_at": "string",
													"start_at_utc": "string",
													"timeline": "string",
													"timezone": "string",
													"unpaid_break": 1
												},
												"status": "string",
												"timeline": "string",
												"total_cost": 1,
												"updated_at": "string",
												"warnings": ["string"],
												"worker": {
													"avatar_url": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"id": "string",
													"name": "string"
												},
												"worker_notes": "string"
											}
										],
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"week_start_date": "2026-01-01",
											"week_end_date": "2026-01-01",
											"employee_summary": [
												{
													"Catering": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Mesa": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Scottsdale": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Tempe": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"Wholesale": {
														"hours": 1,
														"location": "string",
														"overtime": 1,
														"tips": 1
													},
													"hours": 1,
													"name": "string",
													"overtime": 1,
													"tips": 1
												}
											],
											"tips_summary": [
												{
													"location": "string",
													"sales": "string",
													"tips": "string"
												}
											],
											"raw_timecards": [
												{
													"actual": {
														"delta_ci": 1,
														"delta_co": 1,
														"duration": 1,
														"duration_paid": 1,
														"end_time": "string",
														"paid_break": 1,
														"start_time": "string",
														"unpaid_break": 1
													},
													"adj_at": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"adj_by": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"adjusted": {
														"delta_ci": 1,
														"delta_co": 1,
														"duration": 1,
														"duration_paid": 1,
														"end_time": "string",
														"paid_break": 1,
														"start_time": "string",
														"unpaid_break": 1
													},
													"approved_at": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"approved_by": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"costs": [
														{
															"category": "string",
															"cost": 1,
															"duration": 1,
															"factor": 1,
															"label": "string",
															"rule_code": "string",
															"rule_code_order": 1,
															"type": "string"
														}
													],
													"duration": 1,
													"events": [
														{
															"bio_type": "string",
															"bio_value": "string",
															"event_time": "string",
															"event_time_utc": "string",
															"event_type": "string",
															"id": "string",
															"source": "string"
														}
													],
													"flagged": true,
													"id": "string",
													"is_adjusted": true,
													"last_event_time": "string",
													"location": {
														"avatar_url": "string",
														"currency": "string",
														"id": "string",
														"name": "string"
													},
													"manager_notes": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"marked_as": "string",
													"marked_at": "string",
													"marked_by": {
														"avatar_url": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"id": "string",
														"name": "string"
													},
													"overtime": 1,
													"overtime_mins": 1,
													"payrolled": true,
													"schedule": {
														"avatar_url": "string",
														"id": "string",
														"locale": "string",
														"location_id": "string",
														"name": "string"
													},
													"shift": {
														"address_label": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"address_type": 1,
														"duration": 1,
														"duration_paid": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"end_at": "string",
														"end_at_utc": "string",
														"id": "string",
														"lat": 1,
														"lng": 1,
														"owner_id": "string",
														"paid_break": 1,
														"paid_mins": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"position_id": "string",
														"position_title": "string",
														"rate": 1,
														"scheduled": true,
														"sections": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"skill_set_id": 1,
														"start_at": "string",
														"start_at_utc": "string",
														"timeline": "string",
														"timezone": "string",
														"unpaid_break": 1
													},
													"status": "string",
													"timeline": "string",
													"total_cost": 1,
													"updated_at": "string",
													"warnings": ["string"],
													"worker": {
														"avatar_url": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"id": "string",
														"name": "string"
													},
													"worker_notes": "string"
												}
											],
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"component_key": "string",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"entry_side": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"component_key": "string",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"entry_side": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"component_key": "string",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"entry_side": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"component_key": "string",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"entry_side": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"component_key": "string",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"entry_side": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"component_key": "string",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"entry_side": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"component_key": "string",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"entry_side": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"component_key": "string",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"entry_side": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"component_key": "string",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"entry_side": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"component_key": "string",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"entry_side": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"component_key": "string",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"entry_side": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"component_key": "string",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"entry_side": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"component_key": "string",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"entry_side": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"effective_from": "2026-01-01",
												"rate": 1,
												"wage_base": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"effective_from": "2026-01-01",
												"rate": 1,
												"wage_base": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"effective_from": "2026-01-01",
										"rate": 1,
										"wage_base": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"effective_from": "2026-01-01",
											"rate": 1,
											"wage_base": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"effective_from": "2026-01-01",
												"rate": 1,
												"wage_base": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"effective_from": "2026-01-01",
										"rate": 1,
										"wage_base": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"effective_from": "2026-01-01",
											"rate": 1,
											"wage_base": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"effective_from": "2026-01-01",
												"rate": 1,
												"wage_base": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"effective_from": "2026-01-01",
										"rate": 1,
										"wage_base": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"effective_from": "2026-01-01",
											"rate": 1,
											"wage_base": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"is_active": true,
												"pay_type": "string",
												"base_rate": 1,
												"salary_frequency": "string",
												"overtime_eligible": true,
												"receives_tips": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"is_active": true,
												"pay_type": "string",
												"base_rate": 1,
												"salary_frequency": "string",
												"overtime_eligible": true,
												"receives_tips": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"is_active": true,
										"pay_type": "string",
										"base_rate": 1,
										"salary_frequency": "string",
										"overtime_eligible": true,
										"receives_tips": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"pay_type": "string",
											"base_rate": 1,
											"salary_frequency": "string",
											"overtime_eligible": true,
											"receives_tips": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"is_active": true,
												"pay_type": "string",
												"base_rate": 1,
												"salary_frequency": "string",
												"overtime_eligible": true,
												"receives_tips": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"is_active": true,
										"pay_type": "string",
										"base_rate": 1,
										"salary_frequency": "string",
										"overtime_eligible": true,
										"receives_tips": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"pay_type": "string",
											"base_rate": 1,
											"salary_frequency": "string",
											"overtime_eligible": true,
											"receives_tips": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"is_active": true,
												"pay_type": "string",
												"base_rate": 1,
												"salary_frequency": "string",
												"overtime_eligible": true,
												"receives_tips": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"is_active": true,
										"pay_type": "string",
										"base_rate": 1,
										"salary_frequency": "string",
										"overtime_eligible": true,
										"receives_tips": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"pay_type": "string",
											"base_rate": 1,
											"salary_frequency": "string",
											"overtime_eligible": true,
											"receives_tips": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"role_id": "00000000-0000-0000-0000-000000000000",
												"hourly_rate": 1,
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"role_id": "00000000-0000-0000-0000-000000000000",
												"hourly_rate": 1,
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"role_id": "00000000-0000-0000-0000-000000000000",
										"hourly_rate": 1,
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"role_id": "00000000-0000-0000-0000-000000000000",
											"hourly_rate": 1,
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"role_id": "00000000-0000-0000-0000-000000000000",
												"hourly_rate": 1,
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"role_id": "00000000-0000-0000-0000-000000000000",
										"hourly_rate": 1,
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"role_id": "00000000-0000-0000-0000-000000000000",
											"hourly_rate": 1,
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"role_id": "00000000-0000-0000-0000-000000000000",
												"hourly_rate": 1,
												"effective_from": "2026-01-01",
												"effective_to": "2026-01-01",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"role_id": "00000000-0000-0000-0000-000000000000",
										"hourly_rate": 1,
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"role_id": "00000000-0000-0000-0000-000000000000",
											"hourly_rate": 1,
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"role_id": "00000000-0000-0000-0000-000000000000",
											"hourly_rate": 1,
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"role_id": "00000000-0000-0000-0000-000000000000",
										"hourly_rate": 1,
										"effective_from": "2026-01-01",
										"effective_to": "2026-01-01",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"compensation_profile_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"role_id": "00000000-0000-0000-0000-000000000000",
											"hourly_rate": 1,
											"effective_from": "2026-01-01",
											"effective_to": "2026-01-01",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"as_of_date": "2026-01-01",
												"balance_hours": 1,
												"source": "string",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"as_of_date": "2026-01-01",
												"balance_hours": 1,
												"source": "string",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"as_of_date": "2026-01-01",
										"balance_hours": 1,
										"source": "string",
										"note": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"as_of_date": "2026-01-01",
											"balance_hours": 1,
											"source": "string",
											"note": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"as_of_date": "2026-01-01",
												"balance_hours": 1,
												"source": "string",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"as_of_date": "2026-01-01",
										"balance_hours": 1,
										"source": "string",
										"note": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"as_of_date": "2026-01-01",
											"balance_hours": 1,
											"source": "string",
											"note": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"leave_policy_id": "00000000-0000-0000-0000-000000000000",
												"as_of_date": "2026-01-01",
												"balance_hours": 1,
												"source": "string",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"leave_policy_id": "00000000-0000-0000-0000-000000000000",
										"as_of_date": "2026-01-01",
										"balance_hours": 1,
										"source": "string",
										"note": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"leave_policy_id": "00000000-0000-0000-0000-000000000000",
											"as_of_date": "2026-01-01",
											"balance_hours": 1,
											"source": "string",
											"note": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_paid": true,
												"accrual_method": "string",
												"accrual_rate": 1,
												"max_balance_hours": 1,
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_paid": true,
												"accrual_method": "string",
												"accrual_rate": 1,
												"max_balance_hours": 1,
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_paid": true,
										"accrual_method": "string",
										"accrual_rate": 1,
										"max_balance_hours": 1,
										"location_id": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_paid": true,
											"accrual_method": "string",
											"accrual_rate": 1,
											"max_balance_hours": 1,
											"location_id": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_paid": true,
												"accrual_method": "string",
												"accrual_rate": 1,
												"max_balance_hours": 1,
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_paid": true,
										"accrual_method": "string",
										"accrual_rate": 1,
										"max_balance_hours": 1,
										"location_id": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_paid": true,
											"accrual_method": "string",
											"accrual_rate": 1,
											"max_balance_hours": 1,
											"location_id": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_paid": true,
												"accrual_method": "string",
												"accrual_rate": 1,
												"max_balance_hours": 1,
												"location_id": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_paid": true,
										"accrual_method": "string",
										"accrual_rate": 1,
										"max_balance_hours": 1,
										"location_id": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_paid": true,
											"accrual_method": "string",
											"accrual_rate": 1,
											"max_balance_hours": 1,
											"location_id": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"paystub_number": "string",
												"rendered_html": "string",
												"rendered_pdf_path": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"paystub_number": "string",
												"rendered_html": "string",
												"rendered_pdf_path": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"paystub_number": "string",
										"rendered_html": "string",
										"rendered_pdf_path": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"paystub_number": "string",
											"rendered_html": "string",
											"rendered_pdf_path": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"paystub_number": "string",
												"rendered_html": "string",
												"rendered_pdf_path": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"paystub_number": "string",
										"rendered_html": "string",
										"rendered_pdf_path": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"paystub_number": "string",
											"rendered_html": "string",
											"rendered_pdf_path": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"paystub_number": "string",
												"rendered_html": "string",
												"rendered_pdf_path": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"paystub_number": "string",
										"rendered_html": "string",
										"rendered_pdf_path": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"paystub_number": "string",
											"rendered_html": "string",
											"rendered_pdf_path": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"earning_type": "string",
												"hours": 1,
												"rate": 1,
												"amount": 1,
												"source": "string",
												"meta": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"earning_type": "string",
												"hours": 1,
												"rate": 1,
												"amount": 1,
												"source": "string",
												"meta": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"earning_type": "string",
										"hours": 1,
										"rate": 1,
										"amount": 1,
										"source": "string",
										"meta": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"earning_type": "string",
											"hours": 1,
											"rate": 1,
											"amount": 1,
											"source": "string",
											"meta": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"earning_type": "string",
												"hours": 1,
												"rate": 1,
												"amount": 1,
												"source": "string",
												"meta": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"earning_type": "string",
										"hours": 1,
										"rate": 1,
										"amount": 1,
										"source": "string",
										"meta": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"earning_type": "string",
											"hours": 1,
											"rate": 1,
											"amount": 1,
											"source": "string",
											"meta": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"earning_type": "string",
												"hours": 1,
												"rate": 1,
												"amount": 1,
												"source": "string",
												"meta": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"earning_type": "string",
										"hours": 1,
										"rate": 1,
										"amount": 1,
										"source": "string",
										"meta": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"earning_type": "string",
											"hours": 1,
											"rate": 1,
											"amount": 1,
											"source": "string",
											"meta": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"earning_type": "string",
											"hours": 1,
											"rate": 1,
											"amount": 1,
											"source": "string",
											"meta": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"earning_type": "string",
										"hours": 1,
										"rate": 1,
										"amount": 1,
										"source": "string",
										"meta": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"earning_type": "string",
											"hours": 1,
											"rate": 1,
											"amount": 1,
											"source": "string",
											"meta": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"gross_pay": 1,
												"net_pay": 1,
												"total_taxes_employee": 1,
												"total_taxes_employer": 1,
												"ytd_gross": 1,
												"ytd_net": 1,
												"calculation_details": {
													"base_rate": 1,
													"earnings": {
														"hourly": 1,
														"overtime": 1
													},
													"hours": {
														"hourly": 1,
														"overtime": 1
													},
													"pay_frequency": "string",
													"pay_type": "string",
													"salary_frequency": "string",
													"tax_details": {
														"az": {
															"rate": 1
														},
														"federal": {
															"annual_tax": 1,
															"annual_wages": 1,
															"brackets_half": true,
															"multiple_jobs": true,
															"pay_periods": 1,
															"standard_deduction": 1
														},
														"futa_taxable": 1,
														"ss_taxable": 1
													},
													"taxes": {
														"az": 1,
														"az_ui_employer": 1,
														"federal": 1,
														"futa_employer": 1,
														"medicare_employee": 1,
														"medicare_employer": 1,
														"ss_employee": 1,
														"ss_employer": 1
													},
													"tracked_hours": {
														"overtime": 1,
														"regular": 1,
														"total": 1
													}
												},
												"variance_json": {
													"contributors": [
														{
															"delta": 1,
															"type": "string"
														}
													],
													"delta": {
														"gross": 1,
														"gross_pct": 1,
														"net": 1,
														"net_pct": 1
													},
													"previous": {
														"gross": 1,
														"net": 1,
														"pay_date": "string"
													},
													"previous_run_employee_id": "string",
													"warnings": ["string"]
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"gross_pay": 1,
												"net_pay": 1,
												"total_taxes_employee": 1,
												"total_taxes_employer": 1,
												"ytd_gross": 1,
												"ytd_net": 1,
												"calculation_details": {
													"base_rate": 1,
													"earnings": {
														"hourly": 1,
														"overtime": 1
													},
													"hours": {
														"hourly": 1,
														"overtime": 1
													},
													"pay_frequency": "string",
													"pay_type": "string",
													"salary_frequency": "string",
													"tax_details": {
														"az": {
															"rate": 1
														},
														"federal": {
															"annual_tax": 1,
															"annual_wages": 1,
															"brackets_half": true,
															"multiple_jobs": true,
															"pay_periods": 1,
															"standard_deduction": 1
														},
														"futa_taxable": 1,
														"ss_taxable": 1
													},
													"taxes": {
														"az": 1,
														"az_ui_employer": 1,
														"federal": 1,
														"futa_employer": 1,
														"medicare_employee": 1,
														"medicare_employer": 1,
														"ss_employee": 1,
														"ss_employer": 1
													},
													"tracked_hours": {
														"overtime": 1,
														"regular": 1,
														"total": 1
													}
												},
												"variance_json": {
													"contributors": [
														{
															"delta": 1,
															"type": "string"
														}
													],
													"delta": {
														"gross": 1,
														"gross_pct": 1,
														"net": 1,
														"net_pct": 1
													},
													"previous": {
														"gross": 1,
														"net": 1,
														"pay_date": "string"
													},
													"previous_run_employee_id": "string",
													"warnings": ["string"]
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"gross_pay": 1,
										"net_pay": 1,
										"total_taxes_employee": 1,
										"total_taxes_employer": 1,
										"ytd_gross": 1,
										"ytd_net": 1,
										"calculation_details": {
											"base_rate": 1,
											"earnings": {
												"hourly": 1,
												"overtime": 1
											},
											"hours": {
												"hourly": 1,
												"overtime": 1
											},
											"pay_frequency": "string",
											"pay_type": "string",
											"salary_frequency": "string",
											"tax_details": {
												"az": {
													"rate": 1
												},
												"federal": {
													"annual_tax": 1,
													"annual_wages": 1,
													"brackets_half": true,
													"multiple_jobs": true,
													"pay_periods": 1,
													"standard_deduction": 1
												},
												"futa_taxable": 1,
												"ss_taxable": 1
											},
											"taxes": {
												"az": 1,
												"az_ui_employer": 1,
												"federal": 1,
												"futa_employer": 1,
												"medicare_employee": 1,
												"medicare_employer": 1,
												"ss_employee": 1,
												"ss_employer": 1
											},
											"tracked_hours": {
												"overtime": 1,
												"regular": 1,
												"total": 1
											}
										},
										"variance_json": {
											"contributors": [
												{
													"delta": 1,
													"type": "string"
												}
											],
											"delta": {
												"gross": 1,
												"gross_pct": 1,
												"net": 1,
												"net_pct": 1
											},
											"previous": {
												"gross": 1,
												"net": 1,
												"pay_date": "string"
											},
											"previous_run_employee_id": "string",
											"warnings": ["string"]
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"gross_pay": 1,
											"net_pay": 1,
											"total_taxes_employee": 1,
											"total_taxes_employer": 1,
											"ytd_gross": 1,
											"ytd_net": 1,
											"calculation_details": {
												"base_rate": 1,
												"earnings": {
													"hourly": 1,
													"overtime": 1
												},
												"hours": {
													"hourly": 1,
													"overtime": 1
												},
												"pay_frequency": "string",
												"pay_type": "string",
												"salary_frequency": "string",
												"tax_details": {
													"az": {
														"rate": 1
													},
													"federal": {
														"annual_tax": 1,
														"annual_wages": 1,
														"brackets_half": true,
														"multiple_jobs": true,
														"pay_periods": 1,
														"standard_deduction": 1
													},
													"futa_taxable": 1,
													"ss_taxable": 1
												},
												"taxes": {
													"az": 1,
													"az_ui_employer": 1,
													"federal": 1,
													"futa_employer": 1,
													"medicare_employee": 1,
													"medicare_employer": 1,
													"ss_employee": 1,
													"ss_employer": 1
												},
												"tracked_hours": {
													"overtime": 1,
													"regular": 1,
													"total": 1
												}
											},
											"variance_json": {
												"contributors": [
													{
														"delta": 1,
														"type": "string"
													}
												],
												"delta": {
													"gross": 1,
													"gross_pct": 1,
													"net": 1,
													"net_pct": 1
												},
												"previous": {
													"gross": 1,
													"net": 1,
													"pay_date": "string"
												},
												"previous_run_employee_id": "string",
												"warnings": ["string"]
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"gross_pay": 1,
												"net_pay": 1,
												"total_taxes_employee": 1,
												"total_taxes_employer": 1,
												"ytd_gross": 1,
												"ytd_net": 1,
												"calculation_details": {
													"base_rate": 1,
													"earnings": {
														"hourly": 1,
														"overtime": 1
													},
													"hours": {
														"hourly": 1,
														"overtime": 1
													},
													"pay_frequency": "string",
													"pay_type": "string",
													"salary_frequency": "string",
													"tax_details": {
														"az": {
															"rate": 1
														},
														"federal": {
															"annual_tax": 1,
															"annual_wages": 1,
															"brackets_half": true,
															"multiple_jobs": true,
															"pay_periods": 1,
															"standard_deduction": 1
														},
														"futa_taxable": 1,
														"ss_taxable": 1
													},
													"taxes": {
														"az": 1,
														"az_ui_employer": 1,
														"federal": 1,
														"futa_employer": 1,
														"medicare_employee": 1,
														"medicare_employer": 1,
														"ss_employee": 1,
														"ss_employer": 1
													},
													"tracked_hours": {
														"overtime": 1,
														"regular": 1,
														"total": 1
													}
												},
												"variance_json": {
													"contributors": [
														{
															"delta": 1,
															"type": "string"
														}
													],
													"delta": {
														"gross": 1,
														"gross_pct": 1,
														"net": 1,
														"net_pct": 1
													},
													"previous": {
														"gross": 1,
														"net": 1,
														"pay_date": "string"
													},
													"previous_run_employee_id": "string",
													"warnings": ["string"]
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"gross_pay": 1,
										"net_pay": 1,
										"total_taxes_employee": 1,
										"total_taxes_employer": 1,
										"ytd_gross": 1,
										"ytd_net": 1,
										"calculation_details": {
											"base_rate": 1,
											"earnings": {
												"hourly": 1,
												"overtime": 1
											},
											"hours": {
												"hourly": 1,
												"overtime": 1
											},
											"pay_frequency": "string",
											"pay_type": "string",
											"salary_frequency": "string",
											"tax_details": {
												"az": {
													"rate": 1
												},
												"federal": {
													"annual_tax": 1,
													"annual_wages": 1,
													"brackets_half": true,
													"multiple_jobs": true,
													"pay_periods": 1,
													"standard_deduction": 1
												},
												"futa_taxable": 1,
												"ss_taxable": 1
											},
											"taxes": {
												"az": 1,
												"az_ui_employer": 1,
												"federal": 1,
												"futa_employer": 1,
												"medicare_employee": 1,
												"medicare_employer": 1,
												"ss_employee": 1,
												"ss_employer": 1
											},
											"tracked_hours": {
												"overtime": 1,
												"regular": 1,
												"total": 1
											}
										},
										"variance_json": {
											"contributors": [
												{
													"delta": 1,
													"type": "string"
												}
											],
											"delta": {
												"gross": 1,
												"gross_pct": 1,
												"net": 1,
												"net_pct": 1
											},
											"previous": {
												"gross": 1,
												"net": 1,
												"pay_date": "string"
											},
											"previous_run_employee_id": "string",
											"warnings": ["string"]
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"gross_pay": 1,
											"net_pay": 1,
											"total_taxes_employee": 1,
											"total_taxes_employer": 1,
											"ytd_gross": 1,
											"ytd_net": 1,
											"calculation_details": {
												"base_rate": 1,
												"earnings": {
													"hourly": 1,
													"overtime": 1
												},
												"hours": {
													"hourly": 1,
													"overtime": 1
												},
												"pay_frequency": "string",
												"pay_type": "string",
												"salary_frequency": "string",
												"tax_details": {
													"az": {
														"rate": 1
													},
													"federal": {
														"annual_tax": 1,
														"annual_wages": 1,
														"brackets_half": true,
														"multiple_jobs": true,
														"pay_periods": 1,
														"standard_deduction": 1
													},
													"futa_taxable": 1,
													"ss_taxable": 1
												},
												"taxes": {
													"az": 1,
													"az_ui_employer": 1,
													"federal": 1,
													"futa_employer": 1,
													"medicare_employee": 1,
													"medicare_employer": 1,
													"ss_employee": 1,
													"ss_employer": 1
												},
												"tracked_hours": {
													"overtime": 1,
													"regular": 1,
													"total": 1
												}
											},
											"variance_json": {
												"contributors": [
													{
														"delta": 1,
														"type": "string"
													}
												],
												"delta": {
													"gross": 1,
													"gross_pct": 1,
													"net": 1,
													"net_pct": 1
												},
												"previous": {
													"gross": 1,
													"net": 1,
													"pay_date": "string"
												},
												"previous_run_employee_id": "string",
												"warnings": ["string"]
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"gross_pay": 1,
												"net_pay": 1,
												"total_taxes_employee": 1,
												"total_taxes_employer": 1,
												"ytd_gross": 1,
												"ytd_net": 1,
												"calculation_details": {
													"base_rate": 1,
													"earnings": {
														"hourly": 1,
														"overtime": 1
													},
													"hours": {
														"hourly": 1,
														"overtime": 1
													},
													"pay_frequency": "string",
													"pay_type": "string",
													"salary_frequency": "string",
													"tax_details": {
														"az": {
															"rate": 1
														},
														"federal": {
															"annual_tax": 1,
															"annual_wages": 1,
															"brackets_half": true,
															"multiple_jobs": true,
															"pay_periods": 1,
															"standard_deduction": 1
														},
														"futa_taxable": 1,
														"ss_taxable": 1
													},
													"taxes": {
														"az": 1,
														"az_ui_employer": 1,
														"federal": 1,
														"futa_employer": 1,
														"medicare_employee": 1,
														"medicare_employer": 1,
														"ss_employee": 1,
														"ss_employer": 1
													},
													"tracked_hours": {
														"overtime": 1,
														"regular": 1,
														"total": 1
													}
												},
												"variance_json": {
													"contributors": [
														{
															"delta": 1,
															"type": "string"
														}
													],
													"delta": {
														"gross": 1,
														"gross_pct": 1,
														"net": 1,
														"net_pct": 1
													},
													"previous": {
														"gross": 1,
														"net": 1,
														"pay_date": "string"
													},
													"previous_run_employee_id": "string",
													"warnings": ["string"]
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"gross_pay": 1,
										"net_pay": 1,
										"total_taxes_employee": 1,
										"total_taxes_employer": 1,
										"ytd_gross": 1,
										"ytd_net": 1,
										"calculation_details": {
											"base_rate": 1,
											"earnings": {
												"hourly": 1,
												"overtime": 1
											},
											"hours": {
												"hourly": 1,
												"overtime": 1
											},
											"pay_frequency": "string",
											"pay_type": "string",
											"salary_frequency": "string",
											"tax_details": {
												"az": {
													"rate": 1
												},
												"federal": {
													"annual_tax": 1,
													"annual_wages": 1,
													"brackets_half": true,
													"multiple_jobs": true,
													"pay_periods": 1,
													"standard_deduction": 1
												},
												"futa_taxable": 1,
												"ss_taxable": 1
											},
											"taxes": {
												"az": 1,
												"az_ui_employer": 1,
												"federal": 1,
												"futa_employer": 1,
												"medicare_employee": 1,
												"medicare_employer": 1,
												"ss_employee": 1,
												"ss_employer": 1
											},
											"tracked_hours": {
												"overtime": 1,
												"regular": 1,
												"total": 1
											}
										},
										"variance_json": {
											"contributors": [
												{
													"delta": 1,
													"type": "string"
												}
											],
											"delta": {
												"gross": 1,
												"gross_pct": 1,
												"net": 1,
												"net_pct": 1
											},
											"previous": {
												"gross": 1,
												"net": 1,
												"pay_date": "string"
											},
											"previous_run_employee_id": "string",
											"warnings": ["string"]
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"gross_pay": 1,
											"net_pay": 1,
											"total_taxes_employee": 1,
											"total_taxes_employer": 1,
											"ytd_gross": 1,
											"ytd_net": 1,
											"calculation_details": {
												"base_rate": 1,
												"earnings": {
													"hourly": 1,
													"overtime": 1
												},
												"hours": {
													"hourly": 1,
													"overtime": 1
												},
												"pay_frequency": "string",
												"pay_type": "string",
												"salary_frequency": "string",
												"tax_details": {
													"az": {
														"rate": 1
													},
													"federal": {
														"annual_tax": 1,
														"annual_wages": 1,
														"brackets_half": true,
														"multiple_jobs": true,
														"pay_periods": 1,
														"standard_deduction": 1
													},
													"futa_taxable": 1,
													"ss_taxable": 1
												},
												"taxes": {
													"az": 1,
													"az_ui_employer": 1,
													"federal": 1,
													"futa_employer": 1,
													"medicare_employee": 1,
													"medicare_employer": 1,
													"ss_employee": 1,
													"ss_employer": 1
												},
												"tracked_hours": {
													"overtime": 1,
													"regular": 1,
													"total": 1
												}
											},
											"variance_json": {
												"contributors": [
													{
														"delta": 1,
														"type": "string"
													}
												],
												"delta": {
													"gross": 1,
													"gross_pct": 1,
													"net": 1,
													"net_pct": 1
												},
												"previous": {
													"gross": 1,
													"net": 1,
													"pay_date": "string"
												},
												"previous_run_employee_id": "string",
												"warnings": ["string"]
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"tax_type": "string",
												"amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"tax_type": "string",
												"amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"tax_type": "string",
										"amount": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"tax_type": "string",
											"amount": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"tax_type": "string",
												"amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"tax_type": "string",
										"amount": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"tax_type": "string",
											"amount": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"tax_type": "string",
												"amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"tax_type": "string",
										"amount": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"tax_type": "string",
											"amount": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"hours_worked": 1,
												"allocated_amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"hours_worked": 1,
												"allocated_amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"hours_worked": 1,
										"allocated_amount": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"hours_worked": 1,
											"allocated_amount": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"hours_worked": 1,
												"allocated_amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"hours_worked": 1,
										"allocated_amount": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"hours_worked": 1,
											"allocated_amount": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"hours_worked": 1,
												"allocated_amount": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"hours_worked": 1,
										"allocated_amount": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"hours_worked": 1,
											"allocated_amount": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"tip_pool_amount": 1,
												"source": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"tip_pool_amount": 1,
												"source": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"tip_pool_amount": 1,
										"source": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"tip_pool_amount": 1,
											"source": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"tip_pool_amount": 1,
												"source": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"tip_pool_amount": 1,
										"source": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"tip_pool_amount": 1,
											"source": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"tip_pool_amount": 1,
												"source": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payroll_run_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"tip_pool_amount": 1,
										"source": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payroll_run_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"tip_pool_amount": 1,
											"source": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"period_start": "2026-01-01",
												"period_end": "2026-01-01",
												"pay_date": "2026-01-01",
												"status": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"period_start": "2026-01-01",
												"period_end": "2026-01-01",
												"pay_date": "2026-01-01",
												"status": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"pay_date": "2026-01-01",
										"status": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"period_start": "2026-01-01",
												"period_end": "2026-01-01",
												"pay_date": "2026-01-01",
												"status": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"pay_date": "2026-01-01",
										"status": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"period_start": "2026-01-01",
												"period_end": "2026-01-01",
												"pay_date": "2026-01-01",
												"status": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"pay_date": "2026-01-01",
										"status": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"key": "string",
												"value": {
													"fulfill": {
														"picker_notes": true,
														"short_reason": true
													},
													"receive": {
														"receiver_notes": true
													}
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"key": "string",
												"value": {
													"fulfill": {
														"picker_notes": true,
														"short_reason": true
													},
													"receive": {
														"receiver_notes": true
													}
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"key": "string",
										"value": {
											"fulfill": {
												"picker_notes": true,
												"short_reason": true
											},
											"receive": {
												"receiver_notes": true
											}
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"key": "string",
											"value": {
												"fulfill": {
													"picker_notes": true,
													"short_reason": true
												},
												"receive": {
													"receiver_notes": true
												}
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"key": "string",
												"value": {
													"fulfill": {
														"picker_notes": true,
														"short_reason": true
													},
													"receive": {
														"receiver_notes": true
													}
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"key": "string",
										"value": {
											"fulfill": {
												"picker_notes": true,
												"short_reason": true
											},
											"receive": {
												"receiver_notes": true
											}
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"key": "string",
											"value": {
												"fulfill": {
													"picker_notes": true,
													"short_reason": true
												},
												"receive": {
													"receiver_notes": true
												}
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"key": "string",
												"value": {
													"fulfill": {
														"picker_notes": true,
														"short_reason": true
													},
													"receive": {
														"receiver_notes": true
													}
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"key": "string",
										"value": {
											"fulfill": {
												"picker_notes": true,
												"short_reason": true
											},
											"receive": {
												"receiver_notes": true
											}
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"key": "string",
											"value": {
												"fulfill": {
													"picker_notes": true,
													"short_reason": true
												},
												"receive": {
													"receiver_notes": true
												}
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"visible": true,
												"hub": true,
												"aggregate_orders": true,
												"street1": "string",
												"street2": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone": "string",
												"email": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"visible": true,
												"hub": true,
												"aggregate_orders": true,
												"street1": "string",
												"street2": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone": "string",
												"email": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"visible": true,
										"hub": true,
										"aggregate_orders": true,
										"street1": "string",
										"street2": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone": "string",
										"email": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"visible": true,
											"hub": true,
											"aggregate_orders": true,
											"street1": "string",
											"street2": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone": "string",
											"email": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"visible": true,
												"hub": true,
												"aggregate_orders": true,
												"street1": "string",
												"street2": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone": "string",
												"email": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"visible": true,
										"hub": true,
										"aggregate_orders": true,
										"street1": "string",
										"street2": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone": "string",
										"email": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"visible": true,
											"hub": true,
											"aggregate_orders": true,
											"street1": "string",
											"street2": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone": "string",
											"email": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"visible": true,
												"hub": true,
												"aggregate_orders": true,
												"street1": "string",
												"street2": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone": "string",
												"email": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"visible": true,
										"hub": true,
										"aggregate_orders": true,
										"street1": "string",
										"street2": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone": "string",
										"email": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"visible": true,
											"hub": true,
											"aggregate_orders": true,
											"street1": "string",
											"street2": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone": "string",
											"email": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"route_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"route_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"route_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"route_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"route_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"route_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"route_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"route_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"route_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"route_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"route_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"route_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"route_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"route": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"route": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"route": "string",
										"description": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"route": "string",
											"description": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"route": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"route": "string",
										"description": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"route": "string",
											"description": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"route": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"route": "string",
										"description": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"route": "string",
											"description": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"product": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": 1,
												"token_cipher_algo": "string",
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"product": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": 1,
												"token_cipher_algo": "string",
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"product": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": 1,
										"token_cipher_algo": "string",
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"product": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": 1,
											"token_cipher_algo": "string",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"product": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": 1,
												"token_cipher_algo": "string",
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"product": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": 1,
										"token_cipher_algo": "string",
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"product": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": 1,
											"token_cipher_algo": "string",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"product": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": 1,
												"token_cipher_algo": "string",
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"product": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": 1,
										"token_cipher_algo": "string",
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"product": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": 1,
											"token_cipher_algo": "string",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "string",
												"account_name": "string",
												"account_type": "string",
												"raw": {
													"accountName": "string",
													"name": "string",
													"type": "string",
													"verificationState": "string",
													"vettedState": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "string",
												"account_name": "string",
												"account_type": "string",
												"raw": {
													"accountName": "string",
													"name": "string",
													"type": "string",
													"verificationState": "string",
													"vettedState": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"connection_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "string",
										"account_name": "string",
										"account_type": "string",
										"raw": {
											"accountName": "string",
											"name": "string",
											"type": "string",
											"verificationState": "string",
											"vettedState": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"connection_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "string",
											"account_name": "string",
											"account_type": "string",
											"raw": {
												"accountName": "string",
												"name": "string",
												"type": "string",
												"verificationState": "string",
												"vettedState": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "string",
												"account_name": "string",
												"account_type": "string",
												"raw": {
													"accountName": "string",
													"name": "string",
													"type": "string",
													"verificationState": "string",
													"vettedState": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"connection_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "string",
										"account_name": "string",
										"account_type": "string",
										"raw": {
											"accountName": "string",
											"name": "string",
											"type": "string",
											"verificationState": "string",
											"vettedState": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"connection_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "string",
											"account_name": "string",
											"account_type": "string",
											"raw": {
												"accountName": "string",
												"name": "string",
												"type": "string",
												"verificationState": "string",
												"vettedState": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"connection_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "string",
												"account_name": "string",
												"account_type": "string",
												"raw": {
													"accountName": "string",
													"name": "string",
													"type": "string",
													"verificationState": "string",
													"vettedState": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"connection_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "string",
										"account_name": "string",
										"account_type": "string",
										"raw": {
											"accountName": "string",
											"name": "string",
											"type": "string",
											"verificationState": "string",
											"vettedState": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"connection_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "string",
											"account_name": "string",
											"account_type": "string",
											"raw": {
												"accountName": "string",
												"name": "string",
												"type": "string",
												"verificationState": "string",
												"vettedState": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"location_name": "string",
												"store_code": "string",
												"primary_phone": "string",
												"address": {
													"addressLines": ["string"],
													"administrativeArea": "string",
													"languageCode": "string",
													"locality": "string",
													"postalCode": "string",
													"regionCode": "string"
												},
												"time_zone": "string",
												"verification_state": "string",
												"suspension_reason": "string",
												"regular_hours": {
													"periods": [
														{
															"closeDay": "string",
															"closeTime": {
																"hours": 1,
																"minutes": 1
															},
															"openDay": "string",
															"openTime": {
																"hours": 1
															}
														}
													]
												},
												"special_hours": {
													"specialHourPeriods": [
														{
															"closed": true,
															"endDate": {
																"day": 1,
																"month": 1,
																"year": 1
															},
															"startDate": {
																"day": 1,
																"month": 1,
																"year": 1
															}
														}
													]
												},
												"metadata": {
													"canDelete": true,
													"canHaveFoodMenus": true,
													"canModifyServiceList": true,
													"hasVoiceOfMerchant": true,
													"mapsUri": "string",
													"newReviewUri": "string",
													"placeId": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"location_name": "string",
												"store_code": "string",
												"primary_phone": "string",
												"address": {
													"addressLines": ["string"],
													"administrativeArea": "string",
													"languageCode": "string",
													"locality": "string",
													"postalCode": "string",
													"regionCode": "string"
												},
												"time_zone": "string",
												"verification_state": "string",
												"suspension_reason": "string",
												"regular_hours": {
													"periods": [
														{
															"closeDay": "string",
															"closeTime": {
																"hours": 1,
																"minutes": 1
															},
															"openDay": "string",
															"openTime": {
																"hours": 1
															}
														}
													]
												},
												"special_hours": {
													"specialHourPeriods": [
														{
															"closed": true,
															"endDate": {
																"day": 1,
																"month": 1,
																"year": 1
															},
															"startDate": {
																"day": 1,
																"month": 1,
																"year": 1
															}
														}
													]
												},
												"metadata": {
													"canDelete": true,
													"canHaveFoodMenus": true,
													"canModifyServiceList": true,
													"hasVoiceOfMerchant": true,
													"mapsUri": "string",
													"newReviewUri": "string",
													"placeId": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"location_name": "string",
										"store_code": "string",
										"primary_phone": "string",
										"address": {
											"addressLines": ["string"],
											"administrativeArea": "string",
											"languageCode": "string",
											"locality": "string",
											"postalCode": "string",
											"regionCode": "string"
										},
										"time_zone": "string",
										"verification_state": "string",
										"suspension_reason": "string",
										"regular_hours": {
											"periods": [
												{
													"closeDay": "string",
													"closeTime": {
														"hours": 1,
														"minutes": 1
													},
													"openDay": "string",
													"openTime": {
														"hours": 1
													}
												}
											]
										},
										"special_hours": {
											"specialHourPeriods": [
												{
													"closed": true,
													"endDate": {
														"day": 1,
														"month": 1,
														"year": 1
													},
													"startDate": {
														"day": 1,
														"month": 1,
														"year": 1
													}
												}
											]
										},
										"metadata": {
											"canDelete": true,
											"canHaveFoodMenus": true,
											"canModifyServiceList": true,
											"hasVoiceOfMerchant": true,
											"mapsUri": "string",
											"newReviewUri": "string",
											"placeId": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"location_name": "string",
											"store_code": "string",
											"primary_phone": "string",
											"address": {
												"addressLines": ["string"],
												"administrativeArea": "string",
												"languageCode": "string",
												"locality": "string",
												"postalCode": "string",
												"regionCode": "string"
											},
											"time_zone": "string",
											"verification_state": "string",
											"suspension_reason": "string",
											"regular_hours": {
												"periods": [
													{
														"closeDay": "string",
														"closeTime": {
															"hours": 1,
															"minutes": 1
														},
														"openDay": "string",
														"openTime": {
															"hours": 1
														}
													}
												]
											},
											"special_hours": {
												"specialHourPeriods": [
													{
														"closed": true,
														"endDate": {
															"day": 1,
															"month": 1,
															"year": 1
														},
														"startDate": {
															"day": 1,
															"month": 1,
															"year": 1
														}
													}
												]
											},
											"metadata": {
												"canDelete": true,
												"canHaveFoodMenus": true,
												"canModifyServiceList": true,
												"hasVoiceOfMerchant": true,
												"mapsUri": "string",
												"newReviewUri": "string",
												"placeId": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"location_name": "string",
												"store_code": "string",
												"primary_phone": "string",
												"address": {
													"addressLines": ["string"],
													"administrativeArea": "string",
													"languageCode": "string",
													"locality": "string",
													"postalCode": "string",
													"regionCode": "string"
												},
												"time_zone": "string",
												"verification_state": "string",
												"suspension_reason": "string",
												"regular_hours": {
													"periods": [
														{
															"closeDay": "string",
															"closeTime": {
																"hours": 1,
																"minutes": 1
															},
															"openDay": "string",
															"openTime": {
																"hours": 1
															}
														}
													]
												},
												"special_hours": {
													"specialHourPeriods": [
														{
															"closed": true,
															"endDate": {
																"day": 1,
																"month": 1,
																"year": 1
															},
															"startDate": {
																"day": 1,
																"month": 1,
																"year": 1
															}
														}
													]
												},
												"metadata": {
													"canDelete": true,
													"canHaveFoodMenus": true,
													"canModifyServiceList": true,
													"hasVoiceOfMerchant": true,
													"mapsUri": "string",
													"newReviewUri": "string",
													"placeId": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"location_name": "string",
										"store_code": "string",
										"primary_phone": "string",
										"address": {
											"addressLines": ["string"],
											"administrativeArea": "string",
											"languageCode": "string",
											"locality": "string",
											"postalCode": "string",
											"regionCode": "string"
										},
										"time_zone": "string",
										"verification_state": "string",
										"suspension_reason": "string",
										"regular_hours": {
											"periods": [
												{
													"closeDay": "string",
													"closeTime": {
														"hours": 1,
														"minutes": 1
													},
													"openDay": "string",
													"openTime": {
														"hours": 1
													}
												}
											]
										},
										"special_hours": {
											"specialHourPeriods": [
												{
													"closed": true,
													"endDate": {
														"day": 1,
														"month": 1,
														"year": 1
													},
													"startDate": {
														"day": 1,
														"month": 1,
														"year": 1
													}
												}
											]
										},
										"metadata": {
											"canDelete": true,
											"canHaveFoodMenus": true,
											"canModifyServiceList": true,
											"hasVoiceOfMerchant": true,
											"mapsUri": "string",
											"newReviewUri": "string",
											"placeId": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"location_name": "string",
											"store_code": "string",
											"primary_phone": "string",
											"address": {
												"addressLines": ["string"],
												"administrativeArea": "string",
												"languageCode": "string",
												"locality": "string",
												"postalCode": "string",
												"regionCode": "string"
											},
											"time_zone": "string",
											"verification_state": "string",
											"suspension_reason": "string",
											"regular_hours": {
												"periods": [
													{
														"closeDay": "string",
														"closeTime": {
															"hours": 1,
															"minutes": 1
														},
														"openDay": "string",
														"openTime": {
															"hours": 1
														}
													}
												]
											},
											"special_hours": {
												"specialHourPeriods": [
													{
														"closed": true,
														"endDate": {
															"day": 1,
															"month": 1,
															"year": 1
														},
														"startDate": {
															"day": 1,
															"month": 1,
															"year": 1
														}
													}
												]
											},
											"metadata": {
												"canDelete": true,
												"canHaveFoodMenus": true,
												"canModifyServiceList": true,
												"hasVoiceOfMerchant": true,
												"mapsUri": "string",
												"newReviewUri": "string",
												"placeId": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"account_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "string",
												"location_name": "string",
												"store_code": "string",
												"primary_phone": "string",
												"address": {
													"addressLines": ["string"],
													"administrativeArea": "string",
													"languageCode": "string",
													"locality": "string",
													"postalCode": "string",
													"regionCode": "string"
												},
												"time_zone": "string",
												"verification_state": "string",
												"suspension_reason": "string",
												"regular_hours": {
													"periods": [
														{
															"closeDay": "string",
															"closeTime": {
																"hours": 1,
																"minutes": 1
															},
															"openDay": "string",
															"openTime": {
																"hours": 1
															}
														}
													]
												},
												"special_hours": {
													"specialHourPeriods": [
														{
															"closed": true,
															"endDate": {
																"day": 1,
																"month": 1,
																"year": 1
															},
															"startDate": {
																"day": 1,
																"month": 1,
																"year": 1
															}
														}
													]
												},
												"metadata": {
													"canDelete": true,
													"canHaveFoodMenus": true,
													"canModifyServiceList": true,
													"hasVoiceOfMerchant": true,
													"mapsUri": "string",
													"newReviewUri": "string",
													"placeId": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"location_name": "string",
										"store_code": "string",
										"primary_phone": "string",
										"address": {
											"addressLines": ["string"],
											"administrativeArea": "string",
											"languageCode": "string",
											"locality": "string",
											"postalCode": "string",
											"regionCode": "string"
										},
										"time_zone": "string",
										"verification_state": "string",
										"suspension_reason": "string",
										"regular_hours": {
											"periods": [
												{
													"closeDay": "string",
													"closeTime": {
														"hours": 1,
														"minutes": 1
													},
													"openDay": "string",
													"openTime": {
														"hours": 1
													}
												}
											]
										},
										"special_hours": {
											"specialHourPeriods": [
												{
													"closed": true,
													"endDate": {
														"day": 1,
														"month": 1,
														"year": 1
													},
													"startDate": {
														"day": 1,
														"month": 1,
														"year": 1
													}
												}
											]
										},
										"metadata": {
											"canDelete": true,
											"canHaveFoodMenus": true,
											"canModifyServiceList": true,
											"hasVoiceOfMerchant": true,
											"mapsUri": "string",
											"newReviewUri": "string",
											"placeId": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"location_name": "string",
											"store_code": "string",
											"primary_phone": "string",
											"address": {
												"addressLines": ["string"],
												"administrativeArea": "string",
												"languageCode": "string",
												"locality": "string",
												"postalCode": "string",
												"regionCode": "string"
											},
											"time_zone": "string",
											"verification_state": "string",
											"suspension_reason": "string",
											"regular_hours": {
												"periods": [
													{
														"closeDay": "string",
														"closeTime": {
															"hours": 1,
															"minutes": 1
														},
														"openDay": "string",
														"openTime": {
															"hours": 1
														}
													}
												]
											},
											"special_hours": {
												"specialHourPeriods": [
													{
														"closed": true,
														"endDate": {
															"day": 1,
															"month": 1,
															"year": 1
														},
														"startDate": {
															"day": 1,
															"month": 1,
															"year": 1
														}
													}
												]
											},
											"metadata": {
												"canDelete": true,
												"canHaveFoodMenus": true,
												"canModifyServiceList": true,
												"hasVoiceOfMerchant": true,
												"mapsUri": "string",
												"newReviewUri": "string",
												"placeId": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"wazi_location_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"wazi_location_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"wazi_location_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"wazi_location_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"wazi_location_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"wazi_location_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"wazi_location_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"wazi_location_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"wazi_location_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"wazi_location_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"wazi_location_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"wazi_location_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"wazi_location_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"review_id": "string",
												"rating": 1,
												"comment": "string",
												"reviewer_name": "string",
												"reviewer_profile_photo_url": "string",
												"reviewer_is_anonymous": true,
												"created_time": "2026-01-01T00:00:00.000Z",
												"updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply": "string",
												"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply_author": "string",
												"reply_status": "string",
												"raw": {
													"comment": "string",
													"createTime": "string",
													"name": "string",
													"reviewId": "string",
													"reviewReply": {
														"comment": "string",
														"reviewReplyState": "string",
														"updateTime": "string"
													},
													"reviewer": {
														"displayName": "string",
														"profilePhotoUrl": "string"
													},
													"starRating": "string",
													"updateTime": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"review_id": "string",
												"rating": 1,
												"comment": "string",
												"reviewer_name": "string",
												"reviewer_profile_photo_url": "string",
												"reviewer_is_anonymous": true,
												"created_time": "2026-01-01T00:00:00.000Z",
												"updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply": "string",
												"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply_author": "string",
												"reply_status": "string",
												"raw": {
													"comment": "string",
													"createTime": "string",
													"name": "string",
													"reviewId": "string",
													"reviewReply": {
														"comment": "string",
														"reviewReplyState": "string",
														"updateTime": "string"
													},
													"reviewer": {
														"displayName": "string",
														"profilePhotoUrl": "string"
													},
													"starRating": "string",
													"updateTime": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"review_id": "string",
										"rating": 1,
										"comment": "string",
										"reviewer_name": "string",
										"reviewer_profile_photo_url": "string",
										"reviewer_is_anonymous": true,
										"created_time": "2026-01-01T00:00:00.000Z",
										"updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply": "string",
										"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply_author": "string",
										"reply_status": "string",
										"raw": {
											"comment": "string",
											"createTime": "string",
											"name": "string",
											"reviewId": "string",
											"reviewReply": {
												"comment": "string",
												"reviewReplyState": "string",
												"updateTime": "string"
											},
											"reviewer": {
												"displayName": "string",
												"profilePhotoUrl": "string"
											},
											"starRating": "string",
											"updateTime": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"review_id": "string",
												"rating": 1,
												"comment": "string",
												"reviewer_name": "string",
												"reviewer_profile_photo_url": "string",
												"reviewer_is_anonymous": true,
												"created_time": "2026-01-01T00:00:00.000Z",
												"updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply": "string",
												"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply_author": "string",
												"reply_status": "string",
												"raw": {
													"comment": "string",
													"createTime": "string",
													"name": "string",
													"reviewId": "string",
													"reviewReply": {
														"comment": "string",
														"reviewReplyState": "string",
														"updateTime": "string"
													},
													"reviewer": {
														"displayName": "string",
														"profilePhotoUrl": "string"
													},
													"starRating": "string",
													"updateTime": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"review_id": "string",
										"rating": 1,
										"comment": "string",
										"reviewer_name": "string",
										"reviewer_profile_photo_url": "string",
										"reviewer_is_anonymous": true,
										"created_time": "2026-01-01T00:00:00.000Z",
										"updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply": "string",
										"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply_author": "string",
										"reply_status": "string",
										"raw": {
											"comment": "string",
											"createTime": "string",
											"name": "string",
											"reviewId": "string",
											"reviewReply": {
												"comment": "string",
												"reviewReplyState": "string",
												"updateTime": "string"
											},
											"reviewer": {
												"displayName": "string",
												"profilePhotoUrl": "string"
											},
											"starRating": "string",
											"updateTime": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"review_id": "string",
												"rating": 1,
												"comment": "string",
												"reviewer_name": "string",
												"reviewer_profile_photo_url": "string",
												"reviewer_is_anonymous": true,
												"created_time": "2026-01-01T00:00:00.000Z",
												"updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply": "string",
												"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply_author": "string",
												"reply_status": "string",
												"raw": {
													"comment": "string",
													"createTime": "string",
													"name": "string",
													"reviewId": "string",
													"reviewReply": {
														"comment": "string",
														"reviewReplyState": "string",
														"updateTime": "string"
													},
													"reviewer": {
														"displayName": "string",
														"profilePhotoUrl": "string"
													},
													"starRating": "string",
													"updateTime": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"review_id": "string",
										"rating": 1,
										"comment": "string",
										"reviewer_name": "string",
										"reviewer_profile_photo_url": "string",
										"reviewer_is_anonymous": true,
										"created_time": "2026-01-01T00:00:00.000Z",
										"updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply": "string",
										"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply_author": "string",
										"reply_status": "string",
										"raw": {
											"comment": "string",
											"createTime": "string",
											"name": "string",
											"reviewId": "string",
											"reviewReply": {
												"comment": "string",
												"reviewReplyState": "string",
												"updateTime": "string"
											},
											"reviewer": {
												"displayName": "string",
												"profilePhotoUrl": "string"
											},
											"starRating": "string",
											"updateTime": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"draft": "string",
												"model": "string",
												"prompt_version": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"generated_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"draft": "string",
												"model": "string",
												"prompt_version": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"generated_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"draft": "string",
										"model": "string",
										"prompt_version": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"generated_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"draft": "string",
											"model": "string",
											"prompt_version": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"generated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"draft": "string",
												"model": "string",
												"prompt_version": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"generated_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"draft": "string",
										"model": "string",
										"prompt_version": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"generated_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"draft": "string",
											"model": "string",
											"prompt_version": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"generated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"draft": "string",
												"model": "string",
												"prompt_version": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"generated_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"draft": "string",
										"model": "string",
										"prompt_version": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"generated_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"draft": "string",
											"model": "string",
											"prompt_version": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"generated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"draft": "string",
											"model": "string",
											"prompt_version": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"generated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"draft": "string",
										"model": "string",
										"prompt_version": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"generated_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"draft": "string",
											"model": "string",
											"prompt_version": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"generated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"reply_text": "string",
												"posted_by": "00000000-0000-0000-0000-000000000000",
												"posted_at": "2026-01-01T00:00:00.000Z",
												"source": "string",
												"quality_checklist": {
													"brand_voice_alignment": true,
													"clear_next_step": true,
													"compensation_policy_respected": true,
													"empathy_acknowledged": true,
													"personal_ownership_tone": true
												},
												"raw": {
													"comment": "string",
													"updateTime": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"reply_text": "string",
												"posted_by": "00000000-0000-0000-0000-000000000000",
												"posted_at": "2026-01-01T00:00:00.000Z",
												"source": "string",
												"quality_checklist": {
													"brand_voice_alignment": true,
													"clear_next_step": true,
													"compensation_policy_respected": true,
													"empathy_acknowledged": true,
													"personal_ownership_tone": true
												},
												"raw": {
													"comment": "string",
													"updateTime": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"reply_text": "string",
										"posted_by": "00000000-0000-0000-0000-000000000000",
										"posted_at": "2026-01-01T00:00:00.000Z",
										"source": "string",
										"quality_checklist": {
											"brand_voice_alignment": true,
											"clear_next_step": true,
											"compensation_policy_respected": true,
											"empathy_acknowledged": true,
											"personal_ownership_tone": true
										},
										"raw": {
											"comment": "string",
											"updateTime": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"reply_text": "string",
											"posted_by": "00000000-0000-0000-0000-000000000000",
											"posted_at": "2026-01-01T00:00:00.000Z",
											"source": "string",
											"quality_checklist": {
												"brand_voice_alignment": true,
												"clear_next_step": true,
												"compensation_policy_respected": true,
												"empathy_acknowledged": true,
												"personal_ownership_tone": true
											},
											"raw": {
												"comment": "string",
												"updateTime": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"reply_text": "string",
												"posted_by": "00000000-0000-0000-0000-000000000000",
												"posted_at": "2026-01-01T00:00:00.000Z",
												"source": "string",
												"quality_checklist": {
													"brand_voice_alignment": true,
													"clear_next_step": true,
													"compensation_policy_respected": true,
													"empathy_acknowledged": true,
													"personal_ownership_tone": true
												},
												"raw": {
													"comment": "string",
													"updateTime": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"reply_text": "string",
										"posted_by": "00000000-0000-0000-0000-000000000000",
										"posted_at": "2026-01-01T00:00:00.000Z",
										"source": "string",
										"quality_checklist": {
											"brand_voice_alignment": true,
											"clear_next_step": true,
											"compensation_policy_respected": true,
											"empathy_acknowledged": true,
											"personal_ownership_tone": true
										},
										"raw": {
											"comment": "string",
											"updateTime": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"reply_text": "string",
											"posted_by": "00000000-0000-0000-0000-000000000000",
											"posted_at": "2026-01-01T00:00:00.000Z",
											"source": "string",
											"quality_checklist": {
												"brand_voice_alignment": true,
												"clear_next_step": true,
												"compensation_policy_respected": true,
												"empathy_acknowledged": true,
												"personal_ownership_tone": true
											},
											"raw": {
												"comment": "string",
												"updateTime": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_review_id": "00000000-0000-0000-0000-000000000000",
												"reply_text": "string",
												"posted_by": "00000000-0000-0000-0000-000000000000",
												"posted_at": "2026-01-01T00:00:00.000Z",
												"source": "string",
												"quality_checklist": {
													"brand_voice_alignment": true,
													"clear_next_step": true,
													"compensation_policy_respected": true,
													"empathy_acknowledged": true,
													"personal_ownership_tone": true
												},
												"raw": {
													"comment": "string",
													"updateTime": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_review_id": "00000000-0000-0000-0000-000000000000",
										"reply_text": "string",
										"posted_by": "00000000-0000-0000-0000-000000000000",
										"posted_at": "2026-01-01T00:00:00.000Z",
										"source": "string",
										"quality_checklist": {
											"brand_voice_alignment": true,
											"clear_next_step": true,
											"compensation_policy_respected": true,
											"empathy_acknowledged": true,
											"personal_ownership_tone": true
										},
										"raw": {
											"comment": "string",
											"updateTime": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_review_id": "00000000-0000-0000-0000-000000000000",
											"reply_text": "string",
											"posted_by": "00000000-0000-0000-0000-000000000000",
											"posted_at": "2026-01-01T00:00:00.000Z",
											"source": "string",
											"quality_checklist": {
												"brand_voice_alignment": true,
												"clear_next_step": true,
												"compensation_policy_respected": true,
												"empathy_acknowledged": true,
												"personal_ownership_tone": true
											},
											"raw": {
												"comment": "string",
												"updateTime": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"voice_text": "string",
												"interview_payload": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"override_text": "string",
												"generated_text": "string",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"voice_text": "string",
												"interview_payload": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"override_text": "string",
												"generated_text": "string",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"voice_text": "string",
										"interview_payload": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"override_text": "string",
										"generated_text": "string",
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"voice_text": "string",
											"interview_payload": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"override_text": "string",
											"generated_text": "string",
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"voice_text": "string",
												"interview_payload": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"override_text": "string",
												"generated_text": "string",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"voice_text": "string",
										"interview_payload": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"override_text": "string",
										"generated_text": "string",
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"voice_text": "string",
											"interview_payload": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"override_text": "string",
											"generated_text": "string",
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"voice_text": "string",
												"interview_payload": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"override_text": "string",
												"generated_text": "string",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"voice_text": "string",
										"interview_payload": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"override_text": "string",
										"generated_text": "string",
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"voice_text": "string",
											"interview_payload": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"override_text": "string",
											"generated_text": "string",
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"allow_public_compensation": true,
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"allow_public_compensation": true,
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"allow_public_compensation": true,
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"allow_public_compensation": true,
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"allow_public_compensation": true,
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"allow_public_compensation": true,
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"allow_public_compensation": true,
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"allow_public_compensation": true,
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"allow_public_compensation": true,
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"allow_public_compensation": true,
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"period_days": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"metrics": {
													"BUSINESS_CONVERSATIONS": 1,
													"BUSINESS_DIRECTION_REQUESTS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
													"CALL_CLICKS": 1,
													"WEBSITE_CLICKS": 1
												},
												"raw": {
													"multiDailyMetricTimeSeries": [
														{
															"dailyMetricTimeSeries": [
																{
																	"dailyMetric": "string",
																	"timeSeries": {
																		"datedValues": {
																			"status": "string",
																			"source": "string",
																			"note": "string"
																		}
																	}
																}
															]
														}
													]
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"period_days": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"metrics": {
													"BUSINESS_CONVERSATIONS": 1,
													"BUSINESS_DIRECTION_REQUESTS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
													"CALL_CLICKS": 1,
													"WEBSITE_CLICKS": 1
												},
												"raw": {
													"multiDailyMetricTimeSeries": [
														{
															"dailyMetricTimeSeries": [
																{
																	"dailyMetric": "string",
																	"timeSeries": {
																		"datedValues": {
																			"status": "string",
																			"source": "string",
																			"note": "string"
																		}
																	}
																}
															]
														}
													]
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"period_days": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"metrics": {
											"BUSINESS_CONVERSATIONS": 1,
											"BUSINESS_DIRECTION_REQUESTS": 1,
											"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
											"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
											"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
											"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
											"CALL_CLICKS": 1,
											"WEBSITE_CLICKS": 1
										},
										"raw": {
											"multiDailyMetricTimeSeries": [
												{
													"dailyMetricTimeSeries": [
														{
															"dailyMetric": "string",
															"timeSeries": {
																"datedValues": {
																	"status": "string",
																	"source": "string",
																	"note": "string"
																}
															}
														}
													]
												}
											]
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"period_days": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"metrics": {
												"BUSINESS_CONVERSATIONS": 1,
												"BUSINESS_DIRECTION_REQUESTS": 1,
												"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
												"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
												"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
												"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
												"CALL_CLICKS": 1,
												"WEBSITE_CLICKS": 1
											},
											"raw": {
												"multiDailyMetricTimeSeries": [
													{
														"dailyMetricTimeSeries": [
															{
																"dailyMetric": "string",
																"timeSeries": {
																	"datedValues": {
																		"status": "string",
																		"source": "string",
																		"note": "string"
																	}
																}
															}
														]
													}
												]
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"period_days": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"metrics": {
													"BUSINESS_CONVERSATIONS": 1,
													"BUSINESS_DIRECTION_REQUESTS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
													"CALL_CLICKS": 1,
													"WEBSITE_CLICKS": 1
												},
												"raw": {
													"multiDailyMetricTimeSeries": [
														{
															"dailyMetricTimeSeries": [
																{
																	"dailyMetric": "string",
																	"timeSeries": {
																		"datedValues": {
																			"status": "string",
																			"source": "string",
																			"note": "string"
																		}
																	}
																}
															]
														}
													]
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"period_days": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"metrics": {
											"BUSINESS_CONVERSATIONS": 1,
											"BUSINESS_DIRECTION_REQUESTS": 1,
											"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
											"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
											"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
											"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
											"CALL_CLICKS": 1,
											"WEBSITE_CLICKS": 1
										},
										"raw": {
											"multiDailyMetricTimeSeries": [
												{
													"dailyMetricTimeSeries": [
														{
															"dailyMetric": "string",
															"timeSeries": {
																"datedValues": {
																	"status": "string",
																	"source": "string",
																	"note": "string"
																}
															}
														}
													]
												}
											]
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"period_days": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"metrics": {
												"BUSINESS_CONVERSATIONS": 1,
												"BUSINESS_DIRECTION_REQUESTS": 1,
												"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
												"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
												"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
												"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
												"CALL_CLICKS": 1,
												"WEBSITE_CLICKS": 1
											},
											"raw": {
												"multiDailyMetricTimeSeries": [
													{
														"dailyMetricTimeSeries": [
															{
																"dailyMetric": "string",
																"timeSeries": {
																	"datedValues": {
																		"status": "string",
																		"source": "string",
																		"note": "string"
																	}
																}
															}
														]
													}
												]
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"period_days": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"metrics": {
													"BUSINESS_CONVERSATIONS": 1,
													"BUSINESS_DIRECTION_REQUESTS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
													"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
													"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
													"CALL_CLICKS": 1,
													"WEBSITE_CLICKS": 1
												},
												"raw": {
													"multiDailyMetricTimeSeries": [
														{
															"dailyMetricTimeSeries": [
																{
																	"dailyMetric": "string",
																	"timeSeries": {
																		"datedValues": {
																			"status": "string",
																			"source": "string",
																			"note": "string"
																		}
																	}
																}
															]
														}
													]
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"period_days": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"metrics": {
											"BUSINESS_CONVERSATIONS": 1,
											"BUSINESS_DIRECTION_REQUESTS": 1,
											"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
											"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
											"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
											"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
											"CALL_CLICKS": 1,
											"WEBSITE_CLICKS": 1
										},
										"raw": {
											"multiDailyMetricTimeSeries": [
												{
													"dailyMetricTimeSeries": [
														{
															"dailyMetric": "string",
															"timeSeries": {
																"datedValues": {
																	"status": "string",
																	"source": "string",
																	"note": "string"
																}
															}
														}
													]
												}
											]
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"period_days": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"metrics": {
												"BUSINESS_CONVERSATIONS": 1,
												"BUSINESS_DIRECTION_REQUESTS": 1,
												"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": 1,
												"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": 1,
												"BUSINESS_IMPRESSIONS_MOBILE_MAPS": 1,
												"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": 1,
												"CALL_CLICKS": 1,
												"WEBSITE_CLICKS": 1
											},
											"raw": {
												"multiDailyMetricTimeSeries": [
													{
														"dailyMetricTimeSeries": [
															{
																"dailyMetric": "string",
																"timeSeries": {
																	"datedValues": {
																		"status": "string",
																		"source": "string",
																		"note": "string"
																	}
																}
															}
														]
													}
												]
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"email": "string",
												"phone": "string",
												"is_primary": true,
												"role": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"email": "string",
												"phone": "string",
												"is_primary": true,
												"role": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"email": "string",
										"phone": "string",
										"is_primary": true,
										"role": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"email": "string",
											"phone": "string",
											"is_primary": true,
											"role": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"email": "string",
												"phone": "string",
												"is_primary": true,
												"role": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"email": "string",
										"phone": "string",
										"is_primary": true,
										"role": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"email": "string",
											"phone": "string",
											"is_primary": true,
											"role": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"email": "string",
												"phone": "string",
												"is_primary": true,
												"role": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"email": "string",
										"phone": "string",
										"is_primary": true,
										"role": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"email": "string",
											"phone": "string",
											"is_primary": true,
											"role": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"email": "string",
											"phone": "string",
											"is_primary": true,
											"role": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"email": "string",
										"phone": "string",
										"is_primary": true,
										"role": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"email": "string",
											"phone": "string",
											"is_primary": true,
											"role": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"trigger": "string",
												"delay_days": 1,
												"is_enabled": true,
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"trigger": "string",
												"delay_days": 1,
												"is_enabled": true,
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"trigger": "string",
										"delay_days": 1,
										"is_enabled": true,
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"trigger": "string",
											"delay_days": 1,
											"is_enabled": true,
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"trigger": "string",
												"delay_days": 1,
												"is_enabled": true,
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"trigger": "string",
										"delay_days": 1,
										"is_enabled": true,
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"trigger": "string",
											"delay_days": 1,
											"is_enabled": true,
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"trigger": "string",
												"delay_days": 1,
												"is_enabled": true,
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"trigger": "string",
										"delay_days": 1,
										"is_enabled": true,
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"trigger": "string",
											"delay_days": 1,
											"is_enabled": true,
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"trigger": "string",
											"delay_days": 1,
											"is_enabled": true,
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"trigger": "string",
										"delay_days": 1,
										"is_enabled": true,
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"trigger": "string",
											"delay_days": 1,
											"is_enabled": true,
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"automation_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"sent_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"automation_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"sent_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"automation_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"sent_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"automation_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"sent_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"automation_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"sent_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"automation_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"sent_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"automation_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"sent_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"automation_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"subject": "string",
												"body_html": "string",
												"body_text": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"sent_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"error": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"automation_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"sent_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"automation_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"sent_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"automation_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"sent_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"automation_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"subject": "string",
										"body_html": "string",
										"body_text": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"sent_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"error": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"automation_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"subject": "string",
											"body_html": "string",
											"body_text": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"sent_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"error": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "00000000-0000-0000-0000-000000000000",
												"type": "string",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"owner_profile_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"outcome": "string",
												"next_action_at": "2026-01-01T00:00:00.000Z",
												"lat": 1,
												"lng": 1,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "00000000-0000-0000-0000-000000000000",
												"type": "string",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"owner_profile_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"outcome": "string",
												"next_action_at": "2026-01-01T00:00:00.000Z",
												"lat": 1,
												"lng": 1,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "00000000-0000-0000-0000-000000000000",
										"type": "string",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"owner_profile_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"outcome": "string",
										"next_action_at": "2026-01-01T00:00:00.000Z",
										"lat": 1,
										"lng": 1,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "00000000-0000-0000-0000-000000000000",
											"type": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"owner_profile_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"outcome": "string",
											"next_action_at": "2026-01-01T00:00:00.000Z",
											"lat": 1,
											"lng": 1,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "00000000-0000-0000-0000-000000000000",
												"type": "string",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"owner_profile_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"outcome": "string",
												"next_action_at": "2026-01-01T00:00:00.000Z",
												"lat": 1,
												"lng": 1,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "00000000-0000-0000-0000-000000000000",
										"type": "string",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"owner_profile_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"outcome": "string",
										"next_action_at": "2026-01-01T00:00:00.000Z",
										"lat": 1,
										"lng": 1,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "00000000-0000-0000-0000-000000000000",
											"type": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"owner_profile_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"outcome": "string",
											"next_action_at": "2026-01-01T00:00:00.000Z",
											"lat": 1,
											"lng": 1,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"location_id": "00000000-0000-0000-0000-000000000000",
												"type": "string",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"owner_profile_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"outcome": "string",
												"next_action_at": "2026-01-01T00:00:00.000Z",
												"lat": 1,
												"lng": 1,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "00000000-0000-0000-0000-000000000000",
										"type": "string",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"owner_profile_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"outcome": "string",
										"next_action_at": "2026-01-01T00:00:00.000Z",
										"lat": 1,
										"lng": 1,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "00000000-0000-0000-0000-000000000000",
											"type": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"owner_profile_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"outcome": "string",
											"next_action_at": "2026-01-01T00:00:00.000Z",
											"lat": 1,
											"lng": 1,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "00000000-0000-0000-0000-000000000000",
											"type": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"owner_profile_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"outcome": "string",
											"next_action_at": "2026-01-01T00:00:00.000Z",
											"lat": 1,
											"lng": 1,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "00000000-0000-0000-0000-000000000000",
										"type": "string",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"owner_profile_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"outcome": "string",
										"next_action_at": "2026-01-01T00:00:00.000Z",
										"lat": 1,
										"lng": 1,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "00000000-0000-0000-0000-000000000000",
											"type": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"owner_profile_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"outcome": "string",
											"next_action_at": "2026-01-01T00:00:00.000Z",
											"lat": 1,
											"lng": 1,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"city": "string",
												"region": "string",
												"postal": "string",
												"type": "string",
												"street1": "string",
												"street2": "string",
												"country": "string",
												"lat": 1,
												"lng": 1,
												"delivery_notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"city": "string",
												"region": "string",
												"postal": "string",
												"type": "string",
												"street1": "string",
												"street2": "string",
												"country": "string",
												"lat": 1,
												"lng": 1,
												"delivery_notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"city": "string",
										"region": "string",
										"postal": "string",
										"type": "string",
										"street1": "string",
										"street2": "string",
										"country": "string",
										"lat": 1,
										"lng": 1,
										"delivery_notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"city": "string",
											"region": "string",
											"postal": "string",
											"type": "string",
											"street1": "string",
											"street2": "string",
											"country": "string",
											"lat": 1,
											"lng": 1,
											"delivery_notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"city": "string",
												"region": "string",
												"postal": "string",
												"type": "string",
												"street1": "string",
												"street2": "string",
												"country": "string",
												"lat": 1,
												"lng": 1,
												"delivery_notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"city": "string",
										"region": "string",
										"postal": "string",
										"type": "string",
										"street1": "string",
										"street2": "string",
										"country": "string",
										"lat": 1,
										"lng": 1,
										"delivery_notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"city": "string",
											"region": "string",
											"postal": "string",
											"type": "string",
											"street1": "string",
											"street2": "string",
											"country": "string",
											"lat": 1,
											"lng": 1,
											"delivery_notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"city": "string",
												"region": "string",
												"postal": "string",
												"type": "string",
												"street1": "string",
												"street2": "string",
												"country": "string",
												"lat": 1,
												"lng": 1,
												"delivery_notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"city": "string",
										"region": "string",
										"postal": "string",
										"type": "string",
										"street1": "string",
										"street2": "string",
										"country": "string",
										"lat": 1,
										"lng": 1,
										"delivery_notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"city": "string",
											"region": "string",
											"postal": "string",
											"type": "string",
											"street1": "string",
											"street2": "string",
											"country": "string",
											"lat": 1,
											"lng": 1,
											"delivery_notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"city": "string",
											"region": "string",
											"postal": "string",
											"type": "string",
											"street1": "string",
											"street2": "string",
											"country": "string",
											"lat": 1,
											"lng": 1,
											"delivery_notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"city": "string",
										"region": "string",
										"postal": "string",
										"type": "string",
										"street1": "string",
										"street2": "string",
										"country": "string",
										"lat": 1,
										"lng": 1,
										"delivery_notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"city": "string",
											"region": "string",
											"postal": "string",
											"type": "string",
											"street1": "string",
											"street2": "string",
											"country": "string",
											"lat": 1,
											"lng": 1,
											"delivery_notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"notify_emails": "string",
												"notify_managers": true,
												"notify_location_ids": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"notify_emails": "string",
												"notify_managers": true,
												"notify_location_ids": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"notify_emails": "string",
										"notify_managers": true,
										"notify_location_ids": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"notify_emails": "string",
											"notify_managers": true,
											"notify_location_ids": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"notify_emails": "string",
												"notify_managers": true,
												"notify_location_ids": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"notify_emails": "string",
										"notify_managers": true,
										"notify_location_ids": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"notify_emails": "string",
											"notify_managers": true,
											"notify_location_ids": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"notify_emails": "string",
												"notify_managers": true,
												"notify_location_ids": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"notify_emails": "string",
										"notify_managers": true,
										"notify_location_ids": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"notify_emails": "string",
											"notify_managers": true,
											"notify_location_ids": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"notify_emails": "string",
											"notify_managers": true,
											"notify_location_ids": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"notify_emails": "string",
										"notify_managers": true,
										"notify_location_ids": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"notify_emails": "string",
											"notify_managers": true,
											"notify_location_ids": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_type": "string",
												"is_required": true,
												"sort_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_type": "string",
												"is_required": true,
												"sort_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_type": "string",
										"is_required": true,
										"sort_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_type": "string",
											"is_required": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_type": "string",
												"is_required": true,
												"sort_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_type": "string",
										"is_required": true,
										"sort_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_type": "string",
											"is_required": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_type": "string",
												"is_required": true,
												"sort_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_type": "string",
										"is_required": true,
										"sort_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_type": "string",
											"is_required": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_type": "string",
											"is_required": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_type": "string",
										"is_required": true,
										"sort_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_type": "string",
											"is_required": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"response_json": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"submitted_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"response_json": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"submitted_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"response_json": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"submitted_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"response_json": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"submitted_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"response_json": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"submitted_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"response_json": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"submitted_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"response_json": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"submitted_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"survey_id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"contact_email": "string",
												"response_json": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"submitted_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"response_json": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"submitted_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"response_json": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"submitted_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"response_json": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"submitted_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"survey_id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"contact_email": "string",
										"response_json": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"submitted_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"survey_id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"contact_email": "string",
											"response_json": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"submitted_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"slug": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"slug": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"slug": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"slug": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"slug": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"slug": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"slug": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"slug": "string",
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"slug": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"slug": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"slug": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"slug": "string",
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"slug": "string",
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"kind": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_accounting_enabled": true,
												"normalized_name": "string",
												"notes": "string",
												"external_ids": {
													"google_place_id": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"kind": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_accounting_enabled": true,
												"normalized_name": "string",
												"notes": "string",
												"external_ids": {
													"google_place_id": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"kind": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_accounting_enabled": true,
										"normalized_name": "string",
										"notes": "string",
										"external_ids": {
											"google_place_id": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"kind": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_accounting_enabled": true,
											"normalized_name": "string",
											"notes": "string",
											"external_ids": {
												"google_place_id": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"kind": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_accounting_enabled": true,
												"normalized_name": "string",
												"notes": "string",
												"external_ids": {
													"google_place_id": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"kind": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_accounting_enabled": true,
										"normalized_name": "string",
										"notes": "string",
										"external_ids": {
											"google_place_id": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"kind": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_accounting_enabled": true,
											"normalized_name": "string",
											"notes": "string",
											"external_ids": {
												"google_place_id": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"kind": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_accounting_enabled": true,
												"normalized_name": "string",
												"notes": "string",
												"external_ids": {
													"google_place_id": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"kind": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_accounting_enabled": true,
										"normalized_name": "string",
										"notes": "string",
										"external_ids": {
											"google_place_id": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"kind": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_accounting_enabled": true,
											"normalized_name": "string",
											"notes": "string",
											"external_ids": {
												"google_place_id": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"kind": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_accounting_enabled": true,
											"normalized_name": "string",
											"notes": "string",
											"external_ids": {
												"google_place_id": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"kind": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_accounting_enabled": true,
										"normalized_name": "string",
										"notes": "string",
										"external_ids": {
											"google_place_id": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"kind": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_accounting_enabled": true,
											"normalized_name": "string",
											"notes": "string",
											"external_ids": {
												"google_place_id": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"company_name": "string",
												"street_address": "string",
												"suite_number": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone_number": "string",
												"ordering_contact_name": "string",
												"ordering_phone": "string",
												"ordering_email": "string",
												"billing_contact_name": "string",
												"billing_phone": "string",
												"billing_email": "string",
												"billing_address": "string",
												"billing_suite": "string",
												"delivery_street_address": "string",
												"delivery_suite": "string",
												"delivery_city": "string",
												"delivery_state": "string",
												"delivery_zip": "string",
												"receiving_days": "string",
												"receiving_times": "string",
												"receiving_special_instructions": "string",
												"requested_payment_terms": "string",
												"is_tax_exempt": true,
												"tax_exempt_certificate": {
													"certificate_address": "string",
													"certificate_city": "string",
													"certificate_period": "string",
													"certificate_state": "string",
													"certificate_zip": "string",
													"certification": true,
													"precise_nature_of_business": "string",
													"property_description": "string",
													"sales_tax_license_no": "string"
												},
												"w9_form": {
													"address": "string",
													"business_name": "string",
													"certification": true,
													"city": "string",
													"exempt_payee_code": "string",
													"fatca_code": "string",
													"federal_tax_classification": "string",
													"llc_classification_code": "string",
													"name": "string",
													"signature": "string",
													"signature_ip": "string",
													"state": "string",
													"tin": "string",
													"zip": "string"
												},
												"signature_text": "string",
												"signature_ip": "string",
												"signature_timestamp": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true,
												"customer_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"company_name": "string",
												"street_address": "string",
												"suite_number": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone_number": "string",
												"ordering_contact_name": "string",
												"ordering_phone": "string",
												"ordering_email": "string",
												"billing_contact_name": "string",
												"billing_phone": "string",
												"billing_email": "string",
												"billing_address": "string",
												"billing_suite": "string",
												"delivery_street_address": "string",
												"delivery_suite": "string",
												"delivery_city": "string",
												"delivery_state": "string",
												"delivery_zip": "string",
												"receiving_days": "string",
												"receiving_times": "string",
												"receiving_special_instructions": "string",
												"requested_payment_terms": "string",
												"is_tax_exempt": true,
												"tax_exempt_certificate": {
													"certificate_address": "string",
													"certificate_city": "string",
													"certificate_period": "string",
													"certificate_state": "string",
													"certificate_zip": "string",
													"certification": true,
													"precise_nature_of_business": "string",
													"property_description": "string",
													"sales_tax_license_no": "string"
												},
												"w9_form": {
													"address": "string",
													"business_name": "string",
													"certification": true,
													"city": "string",
													"exempt_payee_code": "string",
													"fatca_code": "string",
													"federal_tax_classification": "string",
													"llc_classification_code": "string",
													"name": "string",
													"signature": "string",
													"signature_ip": "string",
													"state": "string",
													"tin": "string",
													"zip": "string"
												},
												"signature_text": "string",
												"signature_ip": "string",
												"signature_timestamp": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true,
												"customer_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"company_name": "string",
										"street_address": "string",
										"suite_number": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone_number": "string",
										"ordering_contact_name": "string",
										"ordering_phone": "string",
										"ordering_email": "string",
										"billing_contact_name": "string",
										"billing_phone": "string",
										"billing_email": "string",
										"billing_address": "string",
										"billing_suite": "string",
										"delivery_street_address": "string",
										"delivery_suite": "string",
										"delivery_city": "string",
										"delivery_state": "string",
										"delivery_zip": "string",
										"receiving_days": "string",
										"receiving_times": "string",
										"receiving_special_instructions": "string",
										"requested_payment_terms": "string",
										"is_tax_exempt": true,
										"tax_exempt_certificate": {
											"certificate_address": "string",
											"certificate_city": "string",
											"certificate_period": "string",
											"certificate_state": "string",
											"certificate_zip": "string",
											"certification": true,
											"precise_nature_of_business": "string",
											"property_description": "string",
											"sales_tax_license_no": "string"
										},
										"w9_form": {
											"address": "string",
											"business_name": "string",
											"certification": true,
											"city": "string",
											"exempt_payee_code": "string",
											"fatca_code": "string",
											"federal_tax_classification": "string",
											"llc_classification_code": "string",
											"name": "string",
											"signature": "string",
											"signature_ip": "string",
											"state": "string",
											"tin": "string",
											"zip": "string"
										},
										"signature_text": "string",
										"signature_ip": "string",
										"signature_timestamp": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true,
										"customer_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"company_name": "string",
											"street_address": "string",
											"suite_number": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone_number": "string",
											"ordering_contact_name": "string",
											"ordering_phone": "string",
											"ordering_email": "string",
											"billing_contact_name": "string",
											"billing_phone": "string",
											"billing_email": "string",
											"billing_address": "string",
											"billing_suite": "string",
											"delivery_street_address": "string",
											"delivery_suite": "string",
											"delivery_city": "string",
											"delivery_state": "string",
											"delivery_zip": "string",
											"receiving_days": "string",
											"receiving_times": "string",
											"receiving_special_instructions": "string",
											"requested_payment_terms": "string",
											"is_tax_exempt": true,
											"tax_exempt_certificate": {
												"certificate_address": "string",
												"certificate_city": "string",
												"certificate_period": "string",
												"certificate_state": "string",
												"certificate_zip": "string",
												"certification": true,
												"precise_nature_of_business": "string",
												"property_description": "string",
												"sales_tax_license_no": "string"
											},
											"w9_form": {
												"address": "string",
												"business_name": "string",
												"certification": true,
												"city": "string",
												"exempt_payee_code": "string",
												"fatca_code": "string",
												"federal_tax_classification": "string",
												"llc_classification_code": "string",
												"name": "string",
												"signature": "string",
												"signature_ip": "string",
												"state": "string",
												"tin": "string",
												"zip": "string"
											},
											"signature_text": "string",
											"signature_ip": "string",
											"signature_timestamp": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true,
											"customer_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"company_name": "string",
												"street_address": "string",
												"suite_number": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone_number": "string",
												"ordering_contact_name": "string",
												"ordering_phone": "string",
												"ordering_email": "string",
												"billing_contact_name": "string",
												"billing_phone": "string",
												"billing_email": "string",
												"billing_address": "string",
												"billing_suite": "string",
												"delivery_street_address": "string",
												"delivery_suite": "string",
												"delivery_city": "string",
												"delivery_state": "string",
												"delivery_zip": "string",
												"receiving_days": "string",
												"receiving_times": "string",
												"receiving_special_instructions": "string",
												"requested_payment_terms": "string",
												"is_tax_exempt": true,
												"tax_exempt_certificate": {
													"certificate_address": "string",
													"certificate_city": "string",
													"certificate_period": "string",
													"certificate_state": "string",
													"certificate_zip": "string",
													"certification": true,
													"precise_nature_of_business": "string",
													"property_description": "string",
													"sales_tax_license_no": "string"
												},
												"w9_form": {
													"address": "string",
													"business_name": "string",
													"certification": true,
													"city": "string",
													"exempt_payee_code": "string",
													"fatca_code": "string",
													"federal_tax_classification": "string",
													"llc_classification_code": "string",
													"name": "string",
													"signature": "string",
													"signature_ip": "string",
													"state": "string",
													"tin": "string",
													"zip": "string"
												},
												"signature_text": "string",
												"signature_ip": "string",
												"signature_timestamp": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true,
												"customer_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"company_name": "string",
										"street_address": "string",
										"suite_number": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone_number": "string",
										"ordering_contact_name": "string",
										"ordering_phone": "string",
										"ordering_email": "string",
										"billing_contact_name": "string",
										"billing_phone": "string",
										"billing_email": "string",
										"billing_address": "string",
										"billing_suite": "string",
										"delivery_street_address": "string",
										"delivery_suite": "string",
										"delivery_city": "string",
										"delivery_state": "string",
										"delivery_zip": "string",
										"receiving_days": "string",
										"receiving_times": "string",
										"receiving_special_instructions": "string",
										"requested_payment_terms": "string",
										"is_tax_exempt": true,
										"tax_exempt_certificate": {
											"certificate_address": "string",
											"certificate_city": "string",
											"certificate_period": "string",
											"certificate_state": "string",
											"certificate_zip": "string",
											"certification": true,
											"precise_nature_of_business": "string",
											"property_description": "string",
											"sales_tax_license_no": "string"
										},
										"w9_form": {
											"address": "string",
											"business_name": "string",
											"certification": true,
											"city": "string",
											"exempt_payee_code": "string",
											"fatca_code": "string",
											"federal_tax_classification": "string",
											"llc_classification_code": "string",
											"name": "string",
											"signature": "string",
											"signature_ip": "string",
											"state": "string",
											"tin": "string",
											"zip": "string"
										},
										"signature_text": "string",
										"signature_ip": "string",
										"signature_timestamp": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true,
										"customer_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"company_name": "string",
											"street_address": "string",
											"suite_number": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone_number": "string",
											"ordering_contact_name": "string",
											"ordering_phone": "string",
											"ordering_email": "string",
											"billing_contact_name": "string",
											"billing_phone": "string",
											"billing_email": "string",
											"billing_address": "string",
											"billing_suite": "string",
											"delivery_street_address": "string",
											"delivery_suite": "string",
											"delivery_city": "string",
											"delivery_state": "string",
											"delivery_zip": "string",
											"receiving_days": "string",
											"receiving_times": "string",
											"receiving_special_instructions": "string",
											"requested_payment_terms": "string",
											"is_tax_exempt": true,
											"tax_exempt_certificate": {
												"certificate_address": "string",
												"certificate_city": "string",
												"certificate_period": "string",
												"certificate_state": "string",
												"certificate_zip": "string",
												"certification": true,
												"precise_nature_of_business": "string",
												"property_description": "string",
												"sales_tax_license_no": "string"
											},
											"w9_form": {
												"address": "string",
												"business_name": "string",
												"certification": true,
												"city": "string",
												"exempt_payee_code": "string",
												"fatca_code": "string",
												"federal_tax_classification": "string",
												"llc_classification_code": "string",
												"name": "string",
												"signature": "string",
												"signature_ip": "string",
												"state": "string",
												"tin": "string",
												"zip": "string"
											},
											"signature_text": "string",
											"signature_ip": "string",
											"signature_timestamp": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true,
											"customer_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"company_name": "string",
												"street_address": "string",
												"suite_number": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone_number": "string",
												"ordering_contact_name": "string",
												"ordering_phone": "string",
												"ordering_email": "string",
												"billing_contact_name": "string",
												"billing_phone": "string",
												"billing_email": "string",
												"billing_address": "string",
												"billing_suite": "string",
												"delivery_street_address": "string",
												"delivery_suite": "string",
												"delivery_city": "string",
												"delivery_state": "string",
												"delivery_zip": "string",
												"receiving_days": "string",
												"receiving_times": "string",
												"receiving_special_instructions": "string",
												"requested_payment_terms": "string",
												"is_tax_exempt": true,
												"tax_exempt_certificate": {
													"certificate_address": "string",
													"certificate_city": "string",
													"certificate_period": "string",
													"certificate_state": "string",
													"certificate_zip": "string",
													"certification": true,
													"precise_nature_of_business": "string",
													"property_description": "string",
													"sales_tax_license_no": "string"
												},
												"w9_form": {
													"address": "string",
													"business_name": "string",
													"certification": true,
													"city": "string",
													"exempt_payee_code": "string",
													"fatca_code": "string",
													"federal_tax_classification": "string",
													"llc_classification_code": "string",
													"name": "string",
													"signature": "string",
													"signature_ip": "string",
													"state": "string",
													"tin": "string",
													"zip": "string"
												},
												"signature_text": "string",
												"signature_ip": "string",
												"signature_timestamp": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true,
												"customer_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"company_name": "string",
										"street_address": "string",
										"suite_number": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone_number": "string",
										"ordering_contact_name": "string",
										"ordering_phone": "string",
										"ordering_email": "string",
										"billing_contact_name": "string",
										"billing_phone": "string",
										"billing_email": "string",
										"billing_address": "string",
										"billing_suite": "string",
										"delivery_street_address": "string",
										"delivery_suite": "string",
										"delivery_city": "string",
										"delivery_state": "string",
										"delivery_zip": "string",
										"receiving_days": "string",
										"receiving_times": "string",
										"receiving_special_instructions": "string",
										"requested_payment_terms": "string",
										"is_tax_exempt": true,
										"tax_exempt_certificate": {
											"certificate_address": "string",
											"certificate_city": "string",
											"certificate_period": "string",
											"certificate_state": "string",
											"certificate_zip": "string",
											"certification": true,
											"precise_nature_of_business": "string",
											"property_description": "string",
											"sales_tax_license_no": "string"
										},
										"w9_form": {
											"address": "string",
											"business_name": "string",
											"certification": true,
											"city": "string",
											"exempt_payee_code": "string",
											"fatca_code": "string",
											"federal_tax_classification": "string",
											"llc_classification_code": "string",
											"name": "string",
											"signature": "string",
											"signature_ip": "string",
											"state": "string",
											"tin": "string",
											"zip": "string"
										},
										"signature_text": "string",
										"signature_ip": "string",
										"signature_timestamp": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true,
										"customer_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"company_name": "string",
											"street_address": "string",
											"suite_number": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone_number": "string",
											"ordering_contact_name": "string",
											"ordering_phone": "string",
											"ordering_email": "string",
											"billing_contact_name": "string",
											"billing_phone": "string",
											"billing_email": "string",
											"billing_address": "string",
											"billing_suite": "string",
											"delivery_street_address": "string",
											"delivery_suite": "string",
											"delivery_city": "string",
											"delivery_state": "string",
											"delivery_zip": "string",
											"receiving_days": "string",
											"receiving_times": "string",
											"receiving_special_instructions": "string",
											"requested_payment_terms": "string",
											"is_tax_exempt": true,
											"tax_exempt_certificate": {
												"certificate_address": "string",
												"certificate_city": "string",
												"certificate_period": "string",
												"certificate_state": "string",
												"certificate_zip": "string",
												"certification": true,
												"precise_nature_of_business": "string",
												"property_description": "string",
												"sales_tax_license_no": "string"
											},
											"w9_form": {
												"address": "string",
												"business_name": "string",
												"certification": true,
												"city": "string",
												"exempt_payee_code": "string",
												"fatca_code": "string",
												"federal_tax_classification": "string",
												"llc_classification_code": "string",
												"name": "string",
												"signature": "string",
												"signature_ip": "string",
												"state": "string",
												"tin": "string",
												"zip": "string"
											},
											"signature_text": "string",
											"signature_ip": "string",
											"signature_timestamp": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true,
											"customer_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"sort_order": 1,
												"visible": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"sort_order": 1,
												"visible": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"sort_order": 1,
										"visible": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"sort_order": 1,
											"visible": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"sort_order": 1,
												"visible": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"sort_order": 1,
										"visible": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"sort_order": 1,
											"visible": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"sort_order": 1,
												"visible": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"sort_order": 1,
										"visible": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"sort_order": 1,
											"visible": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"sort_order": 1,
											"visible": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"sort_order": 1,
										"visible": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"sort_order": 1,
											"visible": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"payment_method_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"payment_method_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"payment_method_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"payment_method_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"payment_method_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"payment_method_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"payment_method_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"payment_method_id": "00000000-0000-0000-0000-000000000000",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"payment_method_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"payment_method_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"payment_method_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"payment_method_id": "00000000-0000-0000-0000-000000000000",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"payment_method_id": "00000000-0000-0000-0000-000000000000",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"price": 1,
												"unit_label": "string",
												"pack_size": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"price": 1,
												"unit_label": "string",
												"pack_size": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"price": 1,
										"unit_label": "string",
										"pack_size": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"price": 1,
											"unit_label": "string",
											"pack_size": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"price": 1,
												"unit_label": "string",
												"pack_size": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"price": 1,
										"unit_label": "string",
										"pack_size": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"price": 1,
											"unit_label": "string",
											"pack_size": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"price": 1,
												"unit_label": "string",
												"pack_size": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"price": 1,
										"unit_label": "string",
										"pack_size": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"price": 1,
											"unit_label": "string",
											"pack_size": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"price": 1,
											"unit_label": "string",
											"pack_size": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"price": 1,
										"unit_label": "string",
										"pack_size": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"price": 1,
											"unit_label": "string",
											"pack_size": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_terms": "string",
												"payment_method": "string",
												"tax_exempt": true,
												"reminder_days": "string",
												"allow_delivery": true,
												"allow_pickup": true,
												"order_note_template": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_terms": "string",
												"payment_method": "string",
												"tax_exempt": true,
												"reminder_days": "string",
												"allow_delivery": true,
												"allow_pickup": true,
												"order_note_template": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_terms": "string",
										"payment_method": "string",
										"tax_exempt": true,
										"reminder_days": "string",
										"allow_delivery": true,
										"allow_pickup": true,
										"order_note_template": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_terms": "string",
											"payment_method": "string",
											"tax_exempt": true,
											"reminder_days": "string",
											"allow_delivery": true,
											"allow_pickup": true,
											"order_note_template": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_terms": "string",
												"payment_method": "string",
												"tax_exempt": true,
												"reminder_days": "string",
												"allow_delivery": true,
												"allow_pickup": true,
												"order_note_template": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_terms": "string",
										"payment_method": "string",
										"tax_exempt": true,
										"reminder_days": "string",
										"allow_delivery": true,
										"allow_pickup": true,
										"order_note_template": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_terms": "string",
											"payment_method": "string",
											"tax_exempt": true,
											"reminder_days": "string",
											"allow_delivery": true,
											"allow_pickup": true,
											"order_note_template": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_terms": "string",
												"payment_method": "string",
												"tax_exempt": true,
												"reminder_days": "string",
												"allow_delivery": true,
												"allow_pickup": true,
												"order_note_template": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_terms": "string",
										"payment_method": "string",
										"tax_exempt": true,
										"reminder_days": "string",
										"allow_delivery": true,
										"allow_pickup": true,
										"order_note_template": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_terms": "string",
											"payment_method": "string",
											"tax_exempt": true,
											"reminder_days": "string",
											"allow_delivery": true,
											"allow_pickup": true,
											"order_note_template": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_terms": "string",
											"payment_method": "string",
											"tax_exempt": true,
											"reminder_days": "string",
											"allow_delivery": true,
											"allow_pickup": true,
											"order_note_template": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_terms": "string",
										"payment_method": "string",
										"tax_exempt": true,
										"reminder_days": "string",
										"allow_delivery": true,
										"allow_pickup": true,
										"order_note_template": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_terms": "string",
											"payment_method": "string",
											"tax_exempt": true,
											"reminder_days": "string",
											"allow_delivery": true,
											"allow_pickup": true,
											"order_note_template": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"fulfillment_method": "string",
												"blackout_date": "2026-01-01",
												"reason": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"fulfillment_method": "string",
												"blackout_date": "2026-01-01",
												"reason": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"fulfillment_method": "string",
										"blackout_date": "2026-01-01",
										"reason": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"fulfillment_method": "string",
											"blackout_date": "2026-01-01",
											"reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"fulfillment_method": "string",
												"blackout_date": "2026-01-01",
												"reason": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"fulfillment_method": "string",
										"blackout_date": "2026-01-01",
										"reason": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"fulfillment_method": "string",
											"blackout_date": "2026-01-01",
											"reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"fulfillment_method": "string",
												"blackout_date": "2026-01-01",
												"reason": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"fulfillment_method": "string",
										"blackout_date": "2026-01-01",
										"reason": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"fulfillment_method": "string",
											"blackout_date": "2026-01-01",
											"reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"fulfillment_method": "string",
											"blackout_date": "2026-01-01",
											"reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"fulfillment_method": "string",
										"blackout_date": "2026-01-01",
										"reason": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"fulfillment_method": "string",
											"blackout_date": "2026-01-01",
											"reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"label": "string",
												"location_id": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"label": "string",
												"location_id": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"label": "string",
										"location_id": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"label": "string",
											"location_id": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"label": "string",
												"location_id": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"label": "string",
										"location_id": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"label": "string",
											"location_id": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"label": "string",
												"location_id": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"label": "string",
										"location_id": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"label": "string",
											"location_id": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"label": "string",
											"location_id": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"label": "string",
										"location_id": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"label": "string",
											"location_id": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"location_id": 1,
												"in_stock": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"location_id": 1,
												"in_stock": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"location_id": 1,
										"in_stock": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"location_id": 1,
											"in_stock": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"location_id": 1,
												"in_stock": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"location_id": 1,
										"in_stock": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"location_id": 1,
											"in_stock": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"location_id": 1,
												"in_stock": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"location_id": 1,
										"in_stock": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"location_id": 1,
											"in_stock": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"location_id": 1,
											"in_stock": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"location_id": 1,
										"in_stock": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"location_id": 1,
											"in_stock": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": {
													"ach": true,
													"card": true,
													"cash": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": {
													"ach": true,
													"card": true,
													"cash": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": {
											"ach": true,
											"card": true,
											"cash": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": {
												"ach": true,
												"card": true,
												"cash": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": {
													"ach": true,
													"card": true,
													"cash": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": {
											"ach": true,
											"card": true,
											"cash": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": {
												"ach": true,
												"card": true,
												"cash": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"delivery_days": "string",
												"pickup_days": "string",
												"delivery_minimum": 1,
												"pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": {
													"ach": true,
													"card": true,
													"cash": true
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": {
											"ach": true,
											"card": true,
											"cash": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": {
												"ach": true,
												"card": true,
												"cash": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": {
												"ach": true,
												"card": true,
												"cash": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"delivery_days": "string",
										"pickup_days": "string",
										"delivery_minimum": 1,
										"pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": {
											"ach": true,
											"card": true,
											"cash": true
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"delivery_days": "string",
											"pickup_days": "string",
											"delivery_minimum": 1,
											"pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": {
												"ach": true,
												"card": true,
												"cash": true
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"quantity": 1,
												"price": 1,
												"line_total": 1,
												"name": "string",
												"unit_label": "string",
												"pack_size": 1,
												"category_id": 1,
												"category_name": "string",
												"sort_order": 1,
												"picked_quantity": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"quantity": 1,
												"price": 1,
												"line_total": 1,
												"name": "string",
												"unit_label": "string",
												"pack_size": 1,
												"category_id": 1,
												"category_name": "string",
												"sort_order": 1,
												"picked_quantity": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"quantity": 1,
										"price": 1,
										"line_total": 1,
										"name": "string",
										"unit_label": "string",
										"pack_size": 1,
										"category_id": 1,
										"category_name": "string",
										"sort_order": 1,
										"picked_quantity": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"quantity": 1,
											"price": 1,
											"line_total": 1,
											"name": "string",
											"unit_label": "string",
											"pack_size": 1,
											"category_id": 1,
											"category_name": "string",
											"sort_order": 1,
											"picked_quantity": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"quantity": 1,
												"price": 1,
												"line_total": 1,
												"name": "string",
												"unit_label": "string",
												"pack_size": 1,
												"category_id": 1,
												"category_name": "string",
												"sort_order": 1,
												"picked_quantity": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"quantity": 1,
										"price": 1,
										"line_total": 1,
										"name": "string",
										"unit_label": "string",
										"pack_size": 1,
										"category_id": 1,
										"category_name": "string",
										"sort_order": 1,
										"picked_quantity": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"quantity": 1,
											"price": 1,
											"line_total": 1,
											"name": "string",
											"unit_label": "string",
											"pack_size": 1,
											"category_id": 1,
											"category_name": "string",
											"sort_order": 1,
											"picked_quantity": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": "00000000-0000-0000-0000-000000000000",
												"item_id": 1,
												"quantity": 1,
												"price": 1,
												"line_total": 1,
												"name": "string",
												"unit_label": "string",
												"pack_size": 1,
												"category_id": 1,
												"category_name": "string",
												"sort_order": 1,
												"picked_quantity": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"quantity": 1,
										"price": 1,
										"line_total": 1,
										"name": "string",
										"unit_label": "string",
										"pack_size": 1,
										"category_id": 1,
										"category_name": "string",
										"sort_order": 1,
										"picked_quantity": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"quantity": 1,
											"price": 1,
											"line_total": 1,
											"name": "string",
											"unit_label": "string",
											"pack_size": 1,
											"category_id": 1,
											"category_name": "string",
											"sort_order": 1,
											"picked_quantity": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"quantity": 1,
											"price": 1,
											"line_total": 1,
											"name": "string",
											"unit_label": "string",
											"pack_size": 1,
											"category_id": 1,
											"category_name": "string",
											"sort_order": 1,
											"picked_quantity": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": "00000000-0000-0000-0000-000000000000",
										"item_id": 1,
										"quantity": 1,
										"price": 1,
										"line_total": 1,
										"name": "string",
										"unit_label": "string",
										"pack_size": 1,
										"category_id": 1,
										"category_name": "string",
										"sort_order": 1,
										"picked_quantity": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"item_id": 1,
											"quantity": 1,
											"price": 1,
											"line_total": 1,
											"name": "string",
											"unit_label": "string",
											"pack_size": 1,
											"category_id": 1,
											"category_name": "string",
											"sort_order": 1,
											"picked_quantity": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"send_after": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"send_after": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"send_after": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"items": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"items": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"items": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"items": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"items": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"items": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"items": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"items": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"items": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"items": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"items": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"items": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"items": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"fulfillment_date": "2026-01-01",
												"total": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_method": "string",
												"fulfillment_location_id": 1,
												"delivery_location_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"subtotal": 1,
												"tax_amount": 1,
												"payment_method": "string",
												"payment_terms": "string",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"fulfillment_date": "2026-01-01",
												"total": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_method": "string",
												"fulfillment_location_id": 1,
												"delivery_location_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"subtotal": 1,
												"tax_amount": 1,
												"payment_method": "string",
												"payment_terms": "string",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"fulfillment_date": "2026-01-01",
										"total": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_method": "string",
										"fulfillment_location_id": 1,
										"delivery_location_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"subtotal": 1,
										"tax_amount": 1,
										"payment_method": "string",
										"payment_terms": "string",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"fulfillment_date": "2026-01-01",
											"total": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_method": "string",
											"fulfillment_location_id": 1,
											"delivery_location_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"subtotal": 1,
											"tax_amount": 1,
											"payment_method": "string",
											"payment_terms": "string",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"fulfillment_date": "2026-01-01",
												"total": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_method": "string",
												"fulfillment_location_id": 1,
												"delivery_location_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"subtotal": 1,
												"tax_amount": 1,
												"payment_method": "string",
												"payment_terms": "string",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"fulfillment_date": "2026-01-01",
										"total": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_method": "string",
										"fulfillment_location_id": 1,
										"delivery_location_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"subtotal": 1,
										"tax_amount": 1,
										"payment_method": "string",
										"payment_terms": "string",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"fulfillment_date": "2026-01-01",
											"total": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_method": "string",
											"fulfillment_location_id": 1,
											"delivery_location_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"subtotal": 1,
											"tax_amount": 1,
											"payment_method": "string",
											"payment_terms": "string",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"fulfillment_date": "2026-01-01",
												"total": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_method": "string",
												"fulfillment_location_id": 1,
												"delivery_location_id": "00000000-0000-0000-0000-000000000000",
												"notes": "string",
												"subtotal": 1,
												"tax_amount": 1,
												"payment_method": "string",
												"payment_terms": "string",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"fulfillment_date": "2026-01-01",
										"total": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_method": "string",
										"fulfillment_location_id": 1,
										"delivery_location_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"subtotal": 1,
										"tax_amount": 1,
										"payment_method": "string",
										"payment_terms": "string",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"fulfillment_date": "2026-01-01",
											"total": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_method": "string",
											"fulfillment_location_id": 1,
											"delivery_location_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"subtotal": 1,
											"tax_amount": 1,
											"payment_method": "string",
											"payment_terms": "string",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"fulfillment_date": "2026-01-01",
											"total": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_method": "string",
											"fulfillment_location_id": 1,
											"delivery_location_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"subtotal": 1,
											"tax_amount": 1,
											"payment_method": "string",
											"payment_terms": "string",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"fulfillment_date": "2026-01-01",
										"total": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_method": "string",
										"fulfillment_location_id": 1,
										"delivery_location_id": "00000000-0000-0000-0000-000000000000",
										"notes": "string",
										"subtotal": 1,
										"tax_amount": 1,
										"payment_method": "string",
										"payment_terms": "string",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"fulfillment_date": "2026-01-01",
											"total": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"placed_by_user_id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_method": "string",
											"fulfillment_location_id": 1,
											"delivery_location_id": "00000000-0000-0000-0000-000000000000",
											"notes": "string",
											"subtotal": 1,
											"tax_amount": 1,
											"payment_method": "string",
											"payment_terms": "string",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"days_due": 1,
												"is_cod": true,
												"archived_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"days_due": 1,
												"is_cod": true,
												"archived_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"description": "string",
										"days_due": 1,
										"is_cod": true,
										"archived_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"description": "string",
											"days_due": 1,
											"is_cod": true,
											"archived_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"days_due": 1,
												"is_cod": true,
												"archived_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"description": "string",
										"days_due": 1,
										"is_cod": true,
										"archived_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"description": "string",
											"days_due": 1,
											"is_cod": true,
											"archived_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"days_due": 1,
												"is_cod": true,
												"archived_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"description": "string",
										"days_due": 1,
										"is_cod": true,
										"archived_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"description": "string",
											"days_due": 1,
											"is_cod": true,
											"archived_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"method_key": "string",
												"label": "string",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"method_key": "string",
												"label": "string",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"method_key": "string",
										"label": "string",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"method_key": "string",
											"label": "string",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"method_key": "string",
												"label": "string",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"method_key": "string",
										"label": "string",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"method_key": "string",
											"label": "string",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"method_key": "string",
												"label": "string",
												"enabled": true,
												"surcharge_pct": 1,
												"discount_pct": 1,
												"charge_timing": "string",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"method_key": "string",
										"label": "string",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"method_key": "string",
											"label": "string",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"method_key": "string",
											"label": "string",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"method_key": "string",
										"label": "string",
										"enabled": true,
										"surcharge_pct": 1,
										"discount_pct": 1,
										"charge_timing": "string",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"method_key": "string",
											"label": "string",
											"enabled": true,
											"surcharge_pct": 1,
											"discount_pct": 1,
											"charge_timing": "string",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"provider_customer_id": "string",
												"provider_payment_method_id": "string",
												"provider_reference": "string",
												"status": "string",
												"metadata": {
													"email": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"name": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"provider_customer_id": "string",
												"provider_payment_method_id": "string",
												"provider_reference": "string",
												"status": "string",
												"metadata": {
													"email": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"name": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"provider_customer_id": "string",
										"provider_payment_method_id": "string",
										"provider_reference": "string",
										"status": "string",
										"metadata": {
											"email": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"name": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"provider_customer_id": "string",
											"provider_payment_method_id": "string",
											"provider_reference": "string",
											"status": "string",
											"metadata": {
												"email": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"name": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"provider_customer_id": "string",
												"provider_payment_method_id": "string",
												"provider_reference": "string",
												"status": "string",
												"metadata": {
													"email": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"name": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"provider_customer_id": "string",
										"provider_payment_method_id": "string",
										"provider_reference": "string",
										"status": "string",
										"metadata": {
											"email": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"name": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"provider_customer_id": "string",
											"provider_payment_method_id": "string",
											"provider_reference": "string",
											"status": "string",
											"metadata": {
												"email": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"name": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"provider_customer_id": "string",
												"provider_payment_method_id": "string",
												"provider_reference": "string",
												"status": "string",
												"metadata": {
													"email": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"name": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"provider_customer_id": "string",
										"provider_payment_method_id": "string",
										"provider_reference": "string",
										"status": "string",
										"metadata": {
											"email": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"name": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"provider_customer_id": "string",
											"provider_payment_method_id": "string",
											"provider_reference": "string",
											"status": "string",
											"metadata": {
												"email": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"name": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"default_location_id": 1,
												"default_delivery_days": "string",
												"default_pickup_days": "string",
												"default_delivery_minimum": 1,
												"default_pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": ["string"],
												"default_payment_method": "string",
												"default_payment_terms": "string",
												"tax_exempt_default": true,
												"reminder_enabled": true,
												"reminder_send_hour": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"default_location_id": 1,
												"default_delivery_days": "string",
												"default_pickup_days": "string",
												"default_delivery_minimum": 1,
												"default_pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": ["string"],
												"default_payment_method": "string",
												"default_payment_terms": "string",
												"tax_exempt_default": true,
												"reminder_enabled": true,
												"reminder_send_hour": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"default_location_id": 1,
										"default_delivery_days": "string",
										"default_pickup_days": "string",
										"default_delivery_minimum": 1,
										"default_pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": ["string"],
										"default_payment_method": "string",
										"default_payment_terms": "string",
										"tax_exempt_default": true,
										"reminder_enabled": true,
										"reminder_send_hour": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"default_location_id": 1,
											"default_delivery_days": "string",
											"default_pickup_days": "string",
											"default_delivery_minimum": 1,
											"default_pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": ["string"],
											"default_payment_method": "string",
											"default_payment_terms": "string",
											"tax_exempt_default": true,
											"reminder_enabled": true,
											"reminder_send_hour": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"default_location_id": 1,
												"default_delivery_days": "string",
												"default_pickup_days": "string",
												"default_delivery_minimum": 1,
												"default_pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": ["string"],
												"default_payment_method": "string",
												"default_payment_terms": "string",
												"tax_exempt_default": true,
												"reminder_enabled": true,
												"reminder_send_hour": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"default_location_id": 1,
										"default_delivery_days": "string",
										"default_pickup_days": "string",
										"default_delivery_minimum": 1,
										"default_pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": ["string"],
										"default_payment_method": "string",
										"default_payment_terms": "string",
										"tax_exempt_default": true,
										"reminder_enabled": true,
										"reminder_send_hour": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"default_location_id": 1,
											"default_delivery_days": "string",
											"default_pickup_days": "string",
											"default_delivery_minimum": 1,
											"default_pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": ["string"],
											"default_payment_method": "string",
											"default_payment_terms": "string",
											"tax_exempt_default": true,
											"reminder_enabled": true,
											"reminder_send_hour": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"default_location_id": 1,
												"default_delivery_days": "string",
												"default_pickup_days": "string",
												"default_delivery_minimum": 1,
												"default_pickup_minimum": 1,
												"order_cutoff_time": "09:00:00",
												"payment_methods": ["string"],
												"default_payment_method": "string",
												"default_payment_terms": "string",
												"tax_exempt_default": true,
												"reminder_enabled": true,
												"reminder_send_hour": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"default_location_id": 1,
										"default_delivery_days": "string",
										"default_pickup_days": "string",
										"default_delivery_minimum": 1,
										"default_pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": ["string"],
										"default_payment_method": "string",
										"default_payment_terms": "string",
										"tax_exempt_default": true,
										"reminder_enabled": true,
										"reminder_send_hour": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"default_location_id": 1,
											"default_delivery_days": "string",
											"default_pickup_days": "string",
											"default_delivery_minimum": 1,
											"default_pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": ["string"],
											"default_payment_method": "string",
											"default_payment_terms": "string",
											"tax_exempt_default": true,
											"reminder_enabled": true,
											"reminder_send_hour": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"default_location_id": 1,
											"default_delivery_days": "string",
											"default_pickup_days": "string",
											"default_delivery_minimum": 1,
											"default_pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": ["string"],
											"default_payment_method": "string",
											"default_payment_terms": "string",
											"tax_exempt_default": true,
											"reminder_enabled": true,
											"reminder_send_hour": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"default_location_id": 1,
										"default_delivery_days": "string",
										"default_pickup_days": "string",
										"default_delivery_minimum": 1,
										"default_pickup_minimum": 1,
										"order_cutoff_time": "09:00:00",
										"payment_methods": ["string"],
										"default_payment_method": "string",
										"default_payment_terms": "string",
										"tax_exempt_default": true,
										"reminder_enabled": true,
										"reminder_send_hour": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"default_location_id": 1,
											"default_delivery_days": "string",
											"default_pickup_days": "string",
											"default_delivery_minimum": 1,
											"default_pickup_minimum": 1,
											"order_cutoff_time": "09:00:00",
											"payment_methods": ["string"],
											"default_payment_method": "string",
											"default_payment_terms": "string",
											"tax_exempt_default": true,
											"reminder_enabled": true,
											"reminder_send_hour": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"category": "string",
												"manufacturer": "string",
												"model": "string",
												"serial_number": "string",
												"asset_tag": "string",
												"lifecycle_status": "string",
												"location_id": 1,
												"purchase_date": "2026-01-01",
												"purchase_vendor": "string",
												"purchase_cost": 1,
												"purchase_currency": "string",
												"replacement_cost": 1,
												"replacement_currency": "string",
												"replacement_cost_source": "string",
												"warranty_expires_at": "2026-01-01",
												"expected_life_years": 1,
												"last_service_at": "2026-01-01T00:00:00.000Z",
												"next_service_due_at": "2026-01-01T00:00:00.000Z",
												"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"gemini_file_id": "string",
												"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
												"gemini_sync_status": "string",
												"gemini_sync_error": "string",
												"gemini_source_checksum": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"category": "string",
												"manufacturer": "string",
												"model": "string",
												"serial_number": "string",
												"asset_tag": "string",
												"lifecycle_status": "string",
												"location_id": 1,
												"purchase_date": "2026-01-01",
												"purchase_vendor": "string",
												"purchase_cost": 1,
												"purchase_currency": "string",
												"replacement_cost": 1,
												"replacement_currency": "string",
												"replacement_cost_source": "string",
												"warranty_expires_at": "2026-01-01",
												"expected_life_years": 1,
												"last_service_at": "2026-01-01T00:00:00.000Z",
												"next_service_due_at": "2026-01-01T00:00:00.000Z",
												"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"gemini_file_id": "string",
												"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
												"gemini_sync_status": "string",
												"gemini_sync_error": "string",
												"gemini_source_checksum": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"category": "string",
										"manufacturer": "string",
										"model": "string",
										"serial_number": "string",
										"asset_tag": "string",
										"lifecycle_status": "string",
										"location_id": 1,
										"purchase_date": "2026-01-01",
										"purchase_vendor": "string",
										"purchase_cost": 1,
										"purchase_currency": "string",
										"replacement_cost": 1,
										"replacement_currency": "string",
										"replacement_cost_source": "string",
										"warranty_expires_at": "2026-01-01",
										"expected_life_years": 1,
										"last_service_at": "2026-01-01T00:00:00.000Z",
										"next_service_due_at": "2026-01-01T00:00:00.000Z",
										"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"gemini_file_id": "string",
										"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
										"gemini_sync_status": "string",
										"gemini_sync_error": "string",
										"gemini_source_checksum": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"category": "string",
											"manufacturer": "string",
											"model": "string",
											"serial_number": "string",
											"asset_tag": "string",
											"lifecycle_status": "string",
											"location_id": 1,
											"purchase_date": "2026-01-01",
											"purchase_vendor": "string",
											"purchase_cost": 1,
											"purchase_currency": "string",
											"replacement_cost": 1,
											"replacement_currency": "string",
											"replacement_cost_source": "string",
											"warranty_expires_at": "2026-01-01",
											"expected_life_years": 1,
											"last_service_at": "2026-01-01T00:00:00.000Z",
											"next_service_due_at": "2026-01-01T00:00:00.000Z",
											"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"gemini_file_id": "string",
											"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
											"gemini_sync_status": "string",
											"gemini_sync_error": "string",
											"gemini_source_checksum": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"category": "string",
												"manufacturer": "string",
												"model": "string",
												"serial_number": "string",
												"asset_tag": "string",
												"lifecycle_status": "string",
												"location_id": 1,
												"purchase_date": "2026-01-01",
												"purchase_vendor": "string",
												"purchase_cost": 1,
												"purchase_currency": "string",
												"replacement_cost": 1,
												"replacement_currency": "string",
												"replacement_cost_source": "string",
												"warranty_expires_at": "2026-01-01",
												"expected_life_years": 1,
												"last_service_at": "2026-01-01T00:00:00.000Z",
												"next_service_due_at": "2026-01-01T00:00:00.000Z",
												"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"gemini_file_id": "string",
												"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
												"gemini_sync_status": "string",
												"gemini_sync_error": "string",
												"gemini_source_checksum": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"category": "string",
										"manufacturer": "string",
										"model": "string",
										"serial_number": "string",
										"asset_tag": "string",
										"lifecycle_status": "string",
										"location_id": 1,
										"purchase_date": "2026-01-01",
										"purchase_vendor": "string",
										"purchase_cost": 1,
										"purchase_currency": "string",
										"replacement_cost": 1,
										"replacement_currency": "string",
										"replacement_cost_source": "string",
										"warranty_expires_at": "2026-01-01",
										"expected_life_years": 1,
										"last_service_at": "2026-01-01T00:00:00.000Z",
										"next_service_due_at": "2026-01-01T00:00:00.000Z",
										"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"gemini_file_id": "string",
										"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
										"gemini_sync_status": "string",
										"gemini_sync_error": "string",
										"gemini_source_checksum": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"category": "string",
											"manufacturer": "string",
											"model": "string",
											"serial_number": "string",
											"asset_tag": "string",
											"lifecycle_status": "string",
											"location_id": 1,
											"purchase_date": "2026-01-01",
											"purchase_vendor": "string",
											"purchase_cost": 1,
											"purchase_currency": "string",
											"replacement_cost": 1,
											"replacement_currency": "string",
											"replacement_cost_source": "string",
											"warranty_expires_at": "2026-01-01",
											"expected_life_years": 1,
											"last_service_at": "2026-01-01T00:00:00.000Z",
											"next_service_due_at": "2026-01-01T00:00:00.000Z",
											"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"gemini_file_id": "string",
											"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
											"gemini_sync_status": "string",
											"gemini_sync_error": "string",
											"gemini_source_checksum": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"category": "string",
												"manufacturer": "string",
												"model": "string",
												"serial_number": "string",
												"asset_tag": "string",
												"lifecycle_status": "string",
												"location_id": 1,
												"purchase_date": "2026-01-01",
												"purchase_vendor": "string",
												"purchase_cost": 1,
												"purchase_currency": "string",
												"replacement_cost": 1,
												"replacement_currency": "string",
												"replacement_cost_source": "string",
												"warranty_expires_at": "2026-01-01",
												"expected_life_years": 1,
												"last_service_at": "2026-01-01T00:00:00.000Z",
												"next_service_due_at": "2026-01-01T00:00:00.000Z",
												"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"gemini_file_id": "string",
												"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
												"gemini_sync_status": "string",
												"gemini_sync_error": "string",
												"gemini_source_checksum": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"updated_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"category": "string",
										"manufacturer": "string",
										"model": "string",
										"serial_number": "string",
										"asset_tag": "string",
										"lifecycle_status": "string",
										"location_id": 1,
										"purchase_date": "2026-01-01",
										"purchase_vendor": "string",
										"purchase_cost": 1,
										"purchase_currency": "string",
										"replacement_cost": 1,
										"replacement_currency": "string",
										"replacement_cost_source": "string",
										"warranty_expires_at": "2026-01-01",
										"expected_life_years": 1,
										"last_service_at": "2026-01-01T00:00:00.000Z",
										"next_service_due_at": "2026-01-01T00:00:00.000Z",
										"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"gemini_file_id": "string",
										"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
										"gemini_sync_status": "string",
										"gemini_sync_error": "string",
										"gemini_source_checksum": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"updated_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"category": "string",
											"manufacturer": "string",
											"model": "string",
											"serial_number": "string",
											"asset_tag": "string",
											"lifecycle_status": "string",
											"location_id": 1,
											"purchase_date": "2026-01-01",
											"purchase_vendor": "string",
											"purchase_cost": 1,
											"purchase_currency": "string",
											"replacement_cost": 1,
											"replacement_currency": "string",
											"replacement_cost_source": "string",
											"warranty_expires_at": "2026-01-01",
											"expected_life_years": 1,
											"last_service_at": "2026-01-01T00:00:00.000Z",
											"next_service_due_at": "2026-01-01T00:00:00.000Z",
											"primary_photo_asset_id": "00000000-0000-0000-0000-000000000000",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"gemini_file_id": "string",
											"gemini_last_synced_at": "2026-01-01T00:00:00.000Z",
											"gemini_sync_status": "string",
											"gemini_sync_error": "string",
											"gemini_source_checksum": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"updated_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"interval_value": 1,
												"interval_unit": "string",
												"auto_generated": true,
												"last_completed_at": "2026-01-01T00:00:00.000Z",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"interval_value": 1,
												"interval_unit": "string",
												"auto_generated": true,
												"last_completed_at": "2026-01-01T00:00:00.000Z",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"interval_value": 1,
										"interval_unit": "string",
										"auto_generated": true,
										"last_completed_at": "2026-01-01T00:00:00.000Z",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"interval_value": 1,
											"interval_unit": "string",
											"auto_generated": true,
											"last_completed_at": "2026-01-01T00:00:00.000Z",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"interval_value": 1,
												"interval_unit": "string",
												"auto_generated": true,
												"last_completed_at": "2026-01-01T00:00:00.000Z",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"interval_value": 1,
										"interval_unit": "string",
										"auto_generated": true,
										"last_completed_at": "2026-01-01T00:00:00.000Z",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"interval_value": 1,
											"interval_unit": "string",
											"auto_generated": true,
											"last_completed_at": "2026-01-01T00:00:00.000Z",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"interval_value": 1,
												"interval_unit": "string",
												"auto_generated": true,
												"last_completed_at": "2026-01-01T00:00:00.000Z",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"interval_value": 1,
										"interval_unit": "string",
										"auto_generated": true,
										"last_completed_at": "2026-01-01T00:00:00.000Z",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"interval_value": 1,
											"interval_unit": "string",
											"auto_generated": true,
											"last_completed_at": "2026-01-01T00:00:00.000Z",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"interval_value": 1,
											"interval_unit": "string",
											"auto_generated": true,
											"last_completed_at": "2026-01-01T00:00:00.000Z",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"interval_value": 1,
										"interval_unit": "string",
										"auto_generated": true,
										"last_completed_at": "2026-01-01T00:00:00.000Z",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"interval_value": 1,
											"interval_unit": "string",
											"auto_generated": true,
											"last_completed_at": "2026-01-01T00:00:00.000Z",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"kind": "string",
												"is_primary": true,
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"kind": "string",
												"is_primary": true,
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"kind": "string",
										"is_primary": true,
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"kind": "string",
											"is_primary": true,
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"kind": "string",
												"is_primary": true,
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"kind": "string",
										"is_primary": true,
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"kind": "string",
											"is_primary": true,
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"kind": "string",
												"is_primary": true,
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"kind": "string",
										"is_primary": true,
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"kind": "string",
											"is_primary": true,
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"kind": "string",
											"is_primary": true,
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"kind": "string",
										"is_primary": true,
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"kind": "string",
											"is_primary": true,
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"service_date": "2026-01-01T00:00:00.000Z",
												"service_type": "string",
												"summary": "string",
												"details": "string",
												"performed_by": "00000000-0000-0000-0000-000000000000",
												"vendor": "string",
												"cost": 1,
												"cost_currency": "string",
												"downtime_minutes": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"service_date": "2026-01-01T00:00:00.000Z",
												"service_type": "string",
												"summary": "string",
												"details": "string",
												"performed_by": "00000000-0000-0000-0000-000000000000",
												"vendor": "string",
												"cost": 1,
												"cost_currency": "string",
												"downtime_minutes": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"service_date": "2026-01-01T00:00:00.000Z",
										"service_type": "string",
										"summary": "string",
										"details": "string",
										"performed_by": "00000000-0000-0000-0000-000000000000",
										"vendor": "string",
										"cost": 1,
										"cost_currency": "string",
										"downtime_minutes": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"service_date": "2026-01-01T00:00:00.000Z",
											"service_type": "string",
											"summary": "string",
											"details": "string",
											"performed_by": "00000000-0000-0000-0000-000000000000",
											"vendor": "string",
											"cost": 1,
											"cost_currency": "string",
											"downtime_minutes": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"service_date": "2026-01-01T00:00:00.000Z",
												"service_type": "string",
												"summary": "string",
												"details": "string",
												"performed_by": "00000000-0000-0000-0000-000000000000",
												"vendor": "string",
												"cost": 1,
												"cost_currency": "string",
												"downtime_minutes": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"service_date": "2026-01-01T00:00:00.000Z",
										"service_type": "string",
										"summary": "string",
										"details": "string",
										"performed_by": "00000000-0000-0000-0000-000000000000",
										"vendor": "string",
										"cost": 1,
										"cost_currency": "string",
										"downtime_minutes": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"service_date": "2026-01-01T00:00:00.000Z",
											"service_type": "string",
											"summary": "string",
											"details": "string",
											"performed_by": "00000000-0000-0000-0000-000000000000",
											"vendor": "string",
											"cost": 1,
											"cost_currency": "string",
											"downtime_minutes": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"service_date": "2026-01-01T00:00:00.000Z",
												"service_type": "string",
												"summary": "string",
												"details": "string",
												"performed_by": "00000000-0000-0000-0000-000000000000",
												"vendor": "string",
												"cost": 1,
												"cost_currency": "string",
												"downtime_minutes": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"next_due_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"service_date": "2026-01-01T00:00:00.000Z",
										"service_type": "string",
										"summary": "string",
										"details": "string",
										"performed_by": "00000000-0000-0000-0000-000000000000",
										"vendor": "string",
										"cost": 1,
										"cost_currency": "string",
										"downtime_minutes": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"service_date": "2026-01-01T00:00:00.000Z",
											"service_type": "string",
											"summary": "string",
											"details": "string",
											"performed_by": "00000000-0000-0000-0000-000000000000",
											"vendor": "string",
											"cost": 1,
											"cost_currency": "string",
											"downtime_minutes": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"service_date": "2026-01-01T00:00:00.000Z",
											"service_type": "string",
											"summary": "string",
											"details": "string",
											"performed_by": "00000000-0000-0000-0000-000000000000",
											"vendor": "string",
											"cost": 1,
											"cost_currency": "string",
											"downtime_minutes": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"service_date": "2026-01-01T00:00:00.000Z",
										"service_type": "string",
										"summary": "string",
										"details": "string",
										"performed_by": "00000000-0000-0000-0000-000000000000",
										"vendor": "string",
										"cost": 1,
										"cost_currency": "string",
										"downtime_minutes": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"next_due_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"service_date": "2026-01-01T00:00:00.000Z",
											"service_type": "string",
											"summary": "string",
											"details": "string",
											"performed_by": "00000000-0000-0000-0000-000000000000",
											"vendor": "string",
											"cost": 1,
											"cost_currency": "string",
											"downtime_minutes": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"next_due_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"equipment_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"equipment_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"equipment_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"image_url": "string",
												"image_alt": "string",
												"content_type": "string",
												"paragraph_content": "string",
												"list_items": "string",
												"order": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"image_url": "string",
												"image_alt": "string",
												"content_type": "string",
												"paragraph_content": "string",
												"list_items": "string",
												"order": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"image_url": "string",
										"image_alt": "string",
										"content_type": "string",
										"paragraph_content": "string",
										"list_items": "string",
										"order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"image_url": "string",
											"image_alt": "string",
											"content_type": "string",
											"paragraph_content": "string",
											"list_items": "string",
											"order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"image_url": "string",
												"image_alt": "string",
												"content_type": "string",
												"paragraph_content": "string",
												"list_items": "string",
												"order": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"image_url": "string",
										"image_alt": "string",
										"content_type": "string",
										"paragraph_content": "string",
										"list_items": "string",
										"order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"image_url": "string",
											"image_alt": "string",
											"content_type": "string",
											"paragraph_content": "string",
											"list_items": "string",
											"order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"image_url": "string",
												"image_alt": "string",
												"content_type": "string",
												"paragraph_content": "string",
												"list_items": "string",
												"order": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"image_url": "string",
										"image_alt": "string",
										"content_type": "string",
										"paragraph_content": "string",
										"list_items": "string",
										"order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"image_url": "string",
											"image_alt": "string",
											"content_type": "string",
											"paragraph_content": "string",
											"list_items": "string",
											"order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"storage_path": "string",
												"file_name": "string",
												"file_extension": "string",
												"mime_type": "string",
												"file_size": 1,
												"checksum": "string",
												"description": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"equipment_file_kind": "string",
													"equipment_id": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"storage_path": "string",
												"file_name": "string",
												"file_extension": "string",
												"mime_type": "string",
												"file_size": 1,
												"checksum": "string",
												"description": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"equipment_file_kind": "string",
													"equipment_id": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"storage_path": "string",
										"file_name": "string",
										"file_extension": "string",
										"mime_type": "string",
										"file_size": 1,
										"checksum": "string",
										"description": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"equipment_file_kind": "string",
											"equipment_id": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"storage_path": "string",
											"file_name": "string",
											"file_extension": "string",
											"mime_type": "string",
											"file_size": 1,
											"checksum": "string",
											"description": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"equipment_file_kind": "string",
												"equipment_id": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"storage_path": "string",
												"file_name": "string",
												"file_extension": "string",
												"mime_type": "string",
												"file_size": 1,
												"checksum": "string",
												"description": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"equipment_file_kind": "string",
													"equipment_id": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"storage_path": "string",
										"file_name": "string",
										"file_extension": "string",
										"mime_type": "string",
										"file_size": 1,
										"checksum": "string",
										"description": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"equipment_file_kind": "string",
											"equipment_id": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"storage_path": "string",
											"file_name": "string",
											"file_extension": "string",
											"mime_type": "string",
											"file_size": 1,
											"checksum": "string",
											"description": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"equipment_file_kind": "string",
												"equipment_id": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"storage_path": "string",
												"file_name": "string",
												"file_extension": "string",
												"mime_type": "string",
												"file_size": 1,
												"checksum": "string",
												"description": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"equipment_file_kind": "string",
													"equipment_id": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"storage_path": "string",
										"file_name": "string",
										"file_extension": "string",
										"mime_type": "string",
										"file_size": 1,
										"checksum": "string",
										"description": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"equipment_file_kind": "string",
											"equipment_id": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"storage_path": "string",
											"file_name": "string",
											"file_extension": "string",
											"mime_type": "string",
											"file_size": 1,
											"checksum": "string",
											"description": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"equipment_file_kind": "string",
												"equipment_id": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"link_id": "00000000-0000-0000-0000-000000000000",
												"url": "string",
												"status_code": 1,
												"failure_reason": "string",
												"first_detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"occurrences": 1,
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"link_id": "00000000-0000-0000-0000-000000000000",
												"url": "string",
												"status_code": 1,
												"failure_reason": "string",
												"first_detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"occurrences": 1,
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"link_id": "00000000-0000-0000-0000-000000000000",
										"url": "string",
										"status_code": 1,
										"failure_reason": "string",
										"first_detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"occurrences": 1,
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"link_id": "00000000-0000-0000-0000-000000000000",
											"url": "string",
											"status_code": 1,
											"failure_reason": "string",
											"first_detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"occurrences": 1,
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"link_id": "00000000-0000-0000-0000-000000000000",
												"url": "string",
												"status_code": 1,
												"failure_reason": "string",
												"first_detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"occurrences": 1,
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"link_id": "00000000-0000-0000-0000-000000000000",
										"url": "string",
										"status_code": 1,
										"failure_reason": "string",
										"first_detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"occurrences": 1,
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"link_id": "00000000-0000-0000-0000-000000000000",
											"url": "string",
											"status_code": 1,
											"failure_reason": "string",
											"first_detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"occurrences": 1,
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"link_id": "00000000-0000-0000-0000-000000000000",
												"url": "string",
												"status_code": 1,
												"failure_reason": "string",
												"first_detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"occurrences": 1,
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"link_id": "00000000-0000-0000-0000-000000000000",
										"url": "string",
										"status_code": 1,
										"failure_reason": "string",
										"first_detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"occurrences": 1,
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"link_id": "00000000-0000-0000-0000-000000000000",
											"url": "string",
											"status_code": 1,
											"failure_reason": "string",
											"first_detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"occurrences": 1,
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"link_id": "00000000-0000-0000-0000-000000000000",
											"url": "string",
											"status_code": 1,
											"failure_reason": "string",
											"first_detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"occurrences": 1,
											"notes": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"link_id": "00000000-0000-0000-0000-000000000000",
										"url": "string",
										"status_code": 1,
										"failure_reason": "string",
										"first_detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"occurrences": 1,
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"link_id": "00000000-0000-0000-0000-000000000000",
											"url": "string",
											"status_code": 1,
											"failure_reason": "string",
											"first_detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"occurrences": 1,
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"parent_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"slug": "string",
												"description": "string",
												"display_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"parent_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"slug": "string",
												"description": "string",
												"display_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"parent_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"slug": "string",
										"description": "string",
										"display_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"slug": "string",
											"description": "string",
											"display_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"parent_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"slug": "string",
												"description": "string",
												"display_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"parent_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"slug": "string",
										"description": "string",
										"display_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"slug": "string",
											"description": "string",
											"display_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"parent_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"slug": "string",
												"description": "string",
												"display_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"parent_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"slug": "string",
										"description": "string",
										"display_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"slug": "string",
											"description": "string",
											"display_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"discussion_id": "00000000-0000-0000-0000-000000000000",
												"body_markdown": "string",
												"body_rich_text": [
													{
														"type": "string",
														"text": "string"
													}
												],
												"body_plain": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_internal": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"discussion_id": "00000000-0000-0000-0000-000000000000",
												"body_markdown": "string",
												"body_rich_text": [
													{
														"type": "string",
														"text": "string"
													}
												],
												"body_plain": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_internal": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"discussion_id": "00000000-0000-0000-0000-000000000000",
										"body_markdown": "string",
										"body_rich_text": [
											{
												"type": "string",
												"text": "string"
											}
										],
										"body_plain": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_internal": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"discussion_id": "00000000-0000-0000-0000-000000000000",
											"body_markdown": "string",
											"body_rich_text": [
												{
													"type": "string",
													"text": "string"
												}
											],
											"body_plain": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_internal": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"discussion_id": "00000000-0000-0000-0000-000000000000",
												"body_markdown": "string",
												"body_rich_text": [
													{
														"type": "string",
														"text": "string"
													}
												],
												"body_plain": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_internal": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"discussion_id": "00000000-0000-0000-0000-000000000000",
										"body_markdown": "string",
										"body_rich_text": [
											{
												"type": "string",
												"text": "string"
											}
										],
										"body_plain": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_internal": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"discussion_id": "00000000-0000-0000-0000-000000000000",
											"body_markdown": "string",
											"body_rich_text": [
												{
													"type": "string",
													"text": "string"
												}
											],
											"body_plain": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_internal": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"discussion_id": "00000000-0000-0000-0000-000000000000",
												"body_markdown": "string",
												"body_rich_text": [
													{
														"type": "string",
														"text": "string"
													}
												],
												"body_plain": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_internal": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"discussion_id": "00000000-0000-0000-0000-000000000000",
										"body_markdown": "string",
										"body_rich_text": [
											{
												"type": "string",
												"text": "string"
											}
										],
										"body_plain": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_internal": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"discussion_id": "00000000-0000-0000-0000-000000000000",
											"body_markdown": "string",
											"body_rich_text": [
												{
													"type": "string",
													"text": "string"
												}
											],
											"body_plain": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_internal": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"discussion_id": "00000000-0000-0000-0000-000000000000",
											"body_markdown": "string",
											"body_rich_text": [
												{
													"type": "string",
													"text": "string"
												}
											],
											"body_plain": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_internal": true
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"discussion_id": "00000000-0000-0000-0000-000000000000",
										"body_markdown": "string",
										"body_rich_text": [
											{
												"type": "string",
												"text": "string"
											}
										],
										"body_plain": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_internal": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"discussion_id": "00000000-0000-0000-0000-000000000000",
											"body_markdown": "string",
											"body_rich_text": [
												{
													"type": "string",
													"text": "string"
												}
											],
											"body_plain": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_internal": true
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"anchor": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"anchor_text": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_inline": true,
												"last_commented_at": "2026-01-01T00:00:00.000Z",
												"title": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"anchor": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"anchor_text": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_inline": true,
												"last_commented_at": "2026-01-01T00:00:00.000Z",
												"title": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"anchor": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"anchor_text": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_inline": true,
										"last_commented_at": "2026-01-01T00:00:00.000Z",
										"title": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"anchor": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"anchor_text": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_inline": true,
											"last_commented_at": "2026-01-01T00:00:00.000Z",
											"title": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"anchor": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"anchor_text": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_inline": true,
												"last_commented_at": "2026-01-01T00:00:00.000Z",
												"title": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"anchor": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"anchor_text": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_inline": true,
										"last_commented_at": "2026-01-01T00:00:00.000Z",
										"title": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"anchor": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"anchor_text": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_inline": true,
											"last_commented_at": "2026-01-01T00:00:00.000Z",
											"title": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"status": "string",
												"anchor": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"anchor_text": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"resolved_by": "00000000-0000-0000-0000-000000000000",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_inline": true,
												"last_commented_at": "2026-01-01T00:00:00.000Z",
												"title": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"anchor": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"anchor_text": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_inline": true,
										"last_commented_at": "2026-01-01T00:00:00.000Z",
										"title": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"anchor": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"anchor_text": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_inline": true,
											"last_commented_at": "2026-01-01T00:00:00.000Z",
											"title": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"anchor": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"anchor_text": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_inline": true,
											"last_commented_at": "2026-01-01T00:00:00.000Z",
											"title": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"status": "string",
										"anchor": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"anchor_text": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"resolved_by": "00000000-0000-0000-0000-000000000000",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"is_inline": true,
										"last_commented_at": "2026-01-01T00:00:00.000Z",
										"title": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"status": "string",
											"anchor": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"anchor_text": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"resolved_by": "00000000-0000-0000-0000-000000000000",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"is_inline": true,
											"last_commented_at": "2026-01-01T00:00:00.000Z",
											"title": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"other_page_id": "00000000-0000-0000-0000-000000000000",
												"similarity": 1,
												"detected_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolution": "string",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"other_page_id": "00000000-0000-0000-0000-000000000000",
												"similarity": 1,
												"detected_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolution": "string",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"other_page_id": "00000000-0000-0000-0000-000000000000",
										"similarity": 1,
										"detected_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolution": "string",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"other_page_id": "00000000-0000-0000-0000-000000000000",
											"similarity": 1,
											"detected_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolution": "string",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"other_page_id": "00000000-0000-0000-0000-000000000000",
												"similarity": 1,
												"detected_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolution": "string",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"other_page_id": "00000000-0000-0000-0000-000000000000",
										"similarity": 1,
										"detected_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolution": "string",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"other_page_id": "00000000-0000-0000-0000-000000000000",
											"similarity": 1,
											"detected_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolution": "string",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"other_page_id": "00000000-0000-0000-0000-000000000000",
												"similarity": 1,
												"detected_at": "2026-01-01T00:00:00.000Z",
												"resolved_at": "2026-01-01T00:00:00.000Z",
												"resolution": "string",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"other_page_id": "00000000-0000-0000-0000-000000000000",
										"similarity": 1,
										"detected_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolution": "string",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"other_page_id": "00000000-0000-0000-0000-000000000000",
											"similarity": 1,
											"detected_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolution": "string",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"other_page_id": "00000000-0000-0000-0000-000000000000",
											"similarity": 1,
											"detected_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolution": "string",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"other_page_id": "00000000-0000-0000-0000-000000000000",
										"similarity": 1,
										"detected_at": "2026-01-01T00:00:00.000Z",
										"resolved_at": "2026-01-01T00:00:00.000Z",
										"resolution": "string",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"other_page_id": "00000000-0000-0000-0000-000000000000",
											"similarity": 1,
											"detected_at": "2026-01-01T00:00:00.000Z",
											"resolved_at": "2026-01-01T00:00:00.000Z",
											"resolution": "string",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
												"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
												"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
										"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
											"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"context": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
												"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
										"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
											"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"context": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
												"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
										"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
											"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"context": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
											"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"context": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
										"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"discussion_comment_id": "00000000-0000-0000-0000-000000000000",
											"mentioned_user_id": "00000000-0000-0000-0000-000000000000",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"context": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"action": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"action": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"action": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"action": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"action": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"action": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"action": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"action": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"alias": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"alias": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"alias": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"alias": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"alias": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"alias": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"alias": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"alias": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"alias": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"alias": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"alias": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"alias": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"alias": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"attached_at": "2026-01-01T00:00:00.000Z",
												"attached_by": "00000000-0000-0000-0000-000000000000",
												"usage_context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"attached_at": "2026-01-01T00:00:00.000Z",
												"attached_by": "00000000-0000-0000-0000-000000000000",
												"usage_context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"attached_at": "2026-01-01T00:00:00.000Z",
										"attached_by": "00000000-0000-0000-0000-000000000000",
										"usage_context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"attached_at": "2026-01-01T00:00:00.000Z",
											"attached_by": "00000000-0000-0000-0000-000000000000",
											"usage_context": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"attached_at": "2026-01-01T00:00:00.000Z",
												"attached_by": "00000000-0000-0000-0000-000000000000",
												"usage_context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"attached_at": "2026-01-01T00:00:00.000Z",
										"attached_by": "00000000-0000-0000-0000-000000000000",
										"usage_context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"attached_at": "2026-01-01T00:00:00.000Z",
											"attached_by": "00000000-0000-0000-0000-000000000000",
											"usage_context": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"asset_id": "00000000-0000-0000-0000-000000000000",
												"version_id": "00000000-0000-0000-0000-000000000000",
												"attached_at": "2026-01-01T00:00:00.000Z",
												"attached_by": "00000000-0000-0000-0000-000000000000",
												"usage_context": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"attached_at": "2026-01-01T00:00:00.000Z",
										"attached_by": "00000000-0000-0000-0000-000000000000",
										"usage_context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"attached_at": "2026-01-01T00:00:00.000Z",
											"attached_by": "00000000-0000-0000-0000-000000000000",
											"usage_context": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"attached_at": "2026-01-01T00:00:00.000Z",
											"attached_by": "00000000-0000-0000-0000-000000000000",
											"usage_context": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"asset_id": "00000000-0000-0000-0000-000000000000",
										"version_id": "00000000-0000-0000-0000-000000000000",
										"attached_at": "2026-01-01T00:00:00.000Z",
										"attached_by": "00000000-0000-0000-0000-000000000000",
										"usage_context": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"asset_id": "00000000-0000-0000-0000-000000000000",
											"version_id": "00000000-0000-0000-0000-000000000000",
											"attached_at": "2026-01-01T00:00:00.000Z",
											"attached_by": "00000000-0000-0000-0000-000000000000",
											"usage_context": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_title": "string",
												"link_label": "string",
												"link_destination": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_title": "string",
												"link_label": "string",
												"link_destination": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
										"linked_from_title": "string",
										"link_label": "string",
										"link_destination": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
											"linked_from_title": "string",
											"link_label": "string",
											"link_destination": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_title": "string",
												"link_label": "string",
												"link_destination": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
										"linked_from_title": "string",
										"link_label": "string",
										"link_destination": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
											"linked_from_title": "string",
											"link_label": "string",
											"link_destination": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
												"linked_from_title": "string",
												"link_label": "string",
												"link_destination": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
										"linked_from_title": "string",
										"link_label": "string",
										"link_destination": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"linked_from_page_id": "00000000-0000-0000-0000-000000000000",
											"linked_from_title": "string",
											"link_label": "string",
											"link_destination": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"link_label": "string",
												"link_destination": "string",
												"link_type": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true,
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"link_label": "string",
												"link_destination": "string",
												"link_type": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true,
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"link_label": "string",
										"link_destination": "string",
										"link_type": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true,
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"link_label": "string",
											"link_destination": "string",
											"link_type": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true,
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"link_label": "string",
												"link_destination": "string",
												"link_type": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true,
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"link_label": "string",
										"link_destination": "string",
										"link_type": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true,
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"link_label": "string",
											"link_destination": "string",
											"link_type": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true,
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"link_label": "string",
												"link_destination": "string",
												"link_type": "string",
												"detected_at": "2026-01-01T00:00:00.000Z",
												"last_checked_at": "2026-01-01T00:00:00.000Z",
												"is_resolved": true,
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"link_label": "string",
										"link_destination": "string",
										"link_type": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true,
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"link_label": "string",
											"link_destination": "string",
											"link_type": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true,
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"link_label": "string",
											"link_destination": "string",
											"link_type": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true,
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"link_label": "string",
										"link_destination": "string",
										"link_type": "string",
										"detected_at": "2026-01-01T00:00:00.000Z",
										"last_checked_at": "2026-01-01T00:00:00.000Z",
										"is_resolved": true,
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"link_label": "string",
											"link_destination": "string",
											"link_type": "string",
											"detected_at": "2026-01-01T00:00:00.000Z",
											"last_checked_at": "2026-01-01T00:00:00.000Z",
											"is_resolved": true,
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"relationship_type": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"note": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"relationship_type": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"note": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"relationship_type": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"note": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"relationship_type": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"note": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"relationship_type": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"note": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"relationship_type": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"note": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"relationship_type": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"note": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"source_page_id": "00000000-0000-0000-0000-000000000000",
												"target_page_id": "00000000-0000-0000-0000-000000000000",
												"relationship_type": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"note": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"relationship_type": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"note": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"relationship_type": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"note": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"relationship_type": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"note": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_page_id": "00000000-0000-0000-0000-000000000000",
										"target_page_id": "00000000-0000-0000-0000-000000000000",
										"relationship_type": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"note": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_page_id": "00000000-0000-0000-0000-000000000000",
											"target_page_id": "00000000-0000-0000-0000-000000000000",
											"relationship_type": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"note": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"review_by": "2026-01-01",
												"status": "string",
												"reminder_sent_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"review_by": "2026-01-01",
												"status": "string",
												"reminder_sent_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"review_by": "2026-01-01",
										"status": "string",
										"reminder_sent_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"review_by": "2026-01-01",
											"status": "string",
											"reminder_sent_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"review_by": "2026-01-01",
												"status": "string",
												"reminder_sent_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"review_by": "2026-01-01",
										"status": "string",
										"reminder_sent_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"review_by": "2026-01-01",
											"status": "string",
											"reminder_sent_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"review_by": "2026-01-01",
												"status": "string",
												"reminder_sent_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"review_by": "2026-01-01",
										"status": "string",
										"reminder_sent_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"review_by": "2026-01-01",
											"status": "string",
											"reminder_sent_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"review_by": "2026-01-01",
											"status": "string",
											"reminder_sent_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"review_by": "2026-01-01",
										"status": "string",
										"reminder_sent_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"review_by": "2026-01-01",
											"status": "string",
											"reminder_sent_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"reviewer_id": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"outcome": "string",
												"notes": "string",
												"next_review_at": "2026-01-01"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"reviewer_id": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"outcome": "string",
												"notes": "string",
												"next_review_at": "2026-01-01"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"reviewer_id": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"outcome": "string",
										"notes": "string",
										"next_review_at": "2026-01-01"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"reviewer_id": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"outcome": "string",
											"notes": "string",
											"next_review_at": "2026-01-01"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"reviewer_id": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"outcome": "string",
												"notes": "string",
												"next_review_at": "2026-01-01"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"reviewer_id": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"outcome": "string",
										"notes": "string",
										"next_review_at": "2026-01-01"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"reviewer_id": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"outcome": "string",
											"notes": "string",
											"next_review_at": "2026-01-01"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"reviewer_id": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"outcome": "string",
												"notes": "string",
												"next_review_at": "2026-01-01"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"reviewer_id": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"outcome": "string",
										"notes": "string",
										"next_review_at": "2026-01-01"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"reviewer_id": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"outcome": "string",
											"notes": "string",
											"next_review_at": "2026-01-01"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"reviewer_id": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"outcome": "string",
											"notes": "string",
											"next_review_at": "2026-01-01"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"reviewer_id": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"outcome": "string",
										"notes": "string",
										"next_review_at": "2026-01-01"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"reviewer_id": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"outcome": "string",
											"notes": "string",
											"next_review_at": "2026-01-01"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"version_number": 1,
												"version_created_at": "2026-01-01T00:00:00.000Z",
												"version_created_by": "00000000-0000-0000-0000-000000000000",
												"is_major": true,
												"body_text": "string",
												"search_vector": "string",
												"tags": ["string"],
												"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"version_number": 1,
												"version_created_at": "2026-01-01T00:00:00.000Z",
												"version_created_by": "00000000-0000-0000-0000-000000000000",
												"is_major": true,
												"body_text": "string",
												"search_vector": "string",
												"tags": ["string"],
												"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"slug": "string",
										"summary": "string",
										"status": "string",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"owner_id": "00000000-0000-0000-0000-000000000000",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"published_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"version_number": 1,
										"version_created_at": "2026-01-01T00:00:00.000Z",
										"version_created_by": "00000000-0000-0000-0000-000000000000",
										"is_major": true,
										"body_text": "string",
										"search_vector": "string",
										"tags": ["string"],
										"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"slug": "string",
											"summary": "string",
											"status": "string",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"owner_id": "00000000-0000-0000-0000-000000000000",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"published_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"version_number": 1,
											"version_created_at": "2026-01-01T00:00:00.000Z",
											"version_created_by": "00000000-0000-0000-0000-000000000000",
											"is_major": true,
											"body_text": "string",
											"search_vector": "string",
											"tags": ["string"],
											"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"version_number": 1,
												"version_created_at": "2026-01-01T00:00:00.000Z",
												"version_created_by": "00000000-0000-0000-0000-000000000000",
												"is_major": true,
												"body_text": "string",
												"search_vector": "string",
												"tags": ["string"],
												"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"slug": "string",
										"summary": "string",
										"status": "string",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"owner_id": "00000000-0000-0000-0000-000000000000",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"published_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"version_number": 1,
										"version_created_at": "2026-01-01T00:00:00.000Z",
										"version_created_by": "00000000-0000-0000-0000-000000000000",
										"is_major": true,
										"body_text": "string",
										"search_vector": "string",
										"tags": ["string"],
										"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"slug": "string",
											"summary": "string",
											"status": "string",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"owner_id": "00000000-0000-0000-0000-000000000000",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"published_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"version_number": 1,
											"version_created_at": "2026-01-01T00:00:00.000Z",
											"version_created_by": "00000000-0000-0000-0000-000000000000",
											"is_major": true,
											"body_text": "string",
											"search_vector": "string",
											"tags": ["string"],
											"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"version_number": 1,
												"version_created_at": "2026-01-01T00:00:00.000Z",
												"version_created_by": "00000000-0000-0000-0000-000000000000",
												"is_major": true,
												"body_text": "string",
												"search_vector": "string",
												"tags": ["string"],
												"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"slug": "string",
										"summary": "string",
										"status": "string",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"owner_id": "00000000-0000-0000-0000-000000000000",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"published_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"version_number": 1,
										"version_created_at": "2026-01-01T00:00:00.000Z",
										"version_created_by": "00000000-0000-0000-0000-000000000000",
										"is_major": true,
										"body_text": "string",
										"search_vector": "string",
										"tags": ["string"],
										"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"slug": "string",
											"summary": "string",
											"status": "string",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"owner_id": "00000000-0000-0000-0000-000000000000",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"published_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"version_number": 1,
											"version_created_at": "2026-01-01T00:00:00.000Z",
											"version_created_by": "00000000-0000-0000-0000-000000000000",
											"is_major": true,
											"body_text": "string",
											"search_vector": "string",
											"tags": ["string"],
											"attachment_ids": ["00000000-0000-0000-0000-000000000000"]
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"tag_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"tag_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"tag_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"tag_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"tag_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"tag_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"tag_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"tag_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"tag_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"tag_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"page_id": "00000000-0000-0000-0000-000000000000",
											"tag_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"tag_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"tag_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"editor_mode": "string",
												"change_summary": "string",
												"content_markdown": "string",
												"content_rich_text": "string",
												"content_plain": "string",
												"search_vector": "string",
												"is_major": true,
												"is_published_snapshot": true,
												"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
												"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"editor_mode": "string",
												"change_summary": "string",
												"content_markdown": "string",
												"content_rich_text": "string",
												"content_plain": "string",
												"search_vector": "string",
												"is_major": true,
												"is_published_snapshot": true,
												"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
												"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_number": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"editor_mode": "string",
										"change_summary": "string",
										"content_markdown": "string",
										"content_rich_text": "string",
										"content_plain": "string",
										"search_vector": "string",
										"is_major": true,
										"is_published_snapshot": true,
										"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
										"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_number": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"editor_mode": "string",
											"change_summary": "string",
											"content_markdown": "string",
											"content_rich_text": "string",
											"content_plain": "string",
											"search_vector": "string",
											"is_major": true,
											"is_published_snapshot": true,
											"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
											"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"editor_mode": "string",
												"change_summary": "string",
												"content_markdown": "string",
												"content_rich_text": "string",
												"content_plain": "string",
												"search_vector": "string",
												"is_major": true,
												"is_published_snapshot": true,
												"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
												"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_number": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"editor_mode": "string",
										"change_summary": "string",
										"content_markdown": "string",
										"content_rich_text": "string",
										"content_plain": "string",
										"search_vector": "string",
										"is_major": true,
										"is_published_snapshot": true,
										"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
										"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_number": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"editor_mode": "string",
											"change_summary": "string",
											"content_markdown": "string",
											"content_rich_text": "string",
											"content_plain": "string",
											"search_vector": "string",
											"is_major": true,
											"is_published_snapshot": true,
											"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
											"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"page_id": "00000000-0000-0000-0000-000000000000",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"editor_mode": "string",
												"change_summary": "string",
												"content_markdown": "string",
												"content_rich_text": "string",
												"content_plain": "string",
												"search_vector": "string",
												"is_major": true,
												"is_published_snapshot": true,
												"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
												"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"page_id": "00000000-0000-0000-0000-000000000000",
										"version_number": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"editor_mode": "string",
										"change_summary": "string",
										"content_markdown": "string",
										"content_rich_text": "string",
										"content_plain": "string",
										"search_vector": "string",
										"is_major": true,
										"is_published_snapshot": true,
										"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
										"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"page_id": "00000000-0000-0000-0000-000000000000",
											"version_number": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"editor_mode": "string",
											"change_summary": "string",
											"content_markdown": "string",
											"content_rich_text": "string",
											"content_plain": "string",
											"search_vector": "string",
											"is_major": true,
											"is_published_snapshot": true,
											"restored_from_version_id": "00000000-0000-0000-0000-000000000000",
											"diff_base_version_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"viewed_at": "2026-01-01T00:00:00.000Z",
												"duration_seconds": 1,
												"source": "string",
												"context": {
													"path": "string",
													"search": "string",
													"slug": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"viewed_at": "2026-01-01T00:00:00.000Z",
												"duration_seconds": 1,
												"source": "string",
												"context": {
													"path": "string",
													"search": "string",
													"slug": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"viewed_at": "2026-01-01T00:00:00.000Z",
										"duration_seconds": 1,
										"source": "string",
										"context": {
											"path": "string",
											"search": "string",
											"slug": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"viewed_at": "2026-01-01T00:00:00.000Z",
											"duration_seconds": 1,
											"source": "string",
											"context": {
												"path": "string",
												"search": "string",
												"slug": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"viewed_at": "2026-01-01T00:00:00.000Z",
												"duration_seconds": 1,
												"source": "string",
												"context": {
													"path": "string",
													"search": "string",
													"slug": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"viewed_at": "2026-01-01T00:00:00.000Z",
										"duration_seconds": 1,
										"source": "string",
										"context": {
											"path": "string",
											"search": "string",
											"slug": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"viewed_at": "2026-01-01T00:00:00.000Z",
											"duration_seconds": 1,
											"source": "string",
											"context": {
												"path": "string",
												"search": "string",
												"slug": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"page_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"viewed_at": "2026-01-01T00:00:00.000Z",
												"duration_seconds": 1,
												"source": "string",
												"context": {
													"path": "string",
													"search": "string",
													"slug": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"viewed_at": "2026-01-01T00:00:00.000Z",
										"duration_seconds": 1,
										"source": "string",
										"context": {
											"path": "string",
											"search": "string",
											"slug": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"viewed_at": "2026-01-01T00:00:00.000Z",
											"duration_seconds": 1,
											"source": "string",
											"context": {
												"path": "string",
												"search": "string",
												"slug": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"viewed_at": "2026-01-01T00:00:00.000Z",
											"duration_seconds": 1,
											"source": "string",
											"context": {
												"path": "string",
												"search": "string",
												"slug": "string"
											}
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"page_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"viewed_at": "2026-01-01T00:00:00.000Z",
										"duration_seconds": 1,
										"source": "string",
										"context": {
											"path": "string",
											"search": "string",
											"slug": "string"
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"page_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"viewed_at": "2026-01-01T00:00:00.000Z",
											"duration_seconds": 1,
											"source": "string",
											"context": {
												"path": "string",
												"search": "string",
												"slug": "string"
											}
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"is_stub": true,
												"review_by": "2026-01-01",
												"review_interval_days": 1,
												"review_reminder_enabled": true,
												"next_review_at": "2026-01-01",
												"last_reviewed_at": "2026-01-01T00:00:00.000Z",
												"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
												"verified_by": "00000000-0000-0000-0000-000000000000",
												"verified_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"archived_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"print_ready": true,
												"print_version_url": "string",
												"review_notes": "string",
												"primary_template_id": "00000000-0000-0000-0000-000000000000",
												"current_version_id": "00000000-0000-0000-0000-000000000000",
												"published_version_id": "00000000-0000-0000-0000-000000000000",
												"title_search_vector": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"is_stub": true,
												"review_by": "2026-01-01",
												"review_interval_days": 1,
												"review_reminder_enabled": true,
												"next_review_at": "2026-01-01",
												"last_reviewed_at": "2026-01-01T00:00:00.000Z",
												"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
												"verified_by": "00000000-0000-0000-0000-000000000000",
												"verified_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"archived_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"print_ready": true,
												"print_version_url": "string",
												"review_notes": "string",
												"primary_template_id": "00000000-0000-0000-0000-000000000000",
												"current_version_id": "00000000-0000-0000-0000-000000000000",
												"published_version_id": "00000000-0000-0000-0000-000000000000",
												"title_search_vector": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"slug": "string",
										"summary": "string",
										"status": "string",
										"owner_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"is_stub": true,
										"review_by": "2026-01-01",
										"review_interval_days": 1,
										"review_reminder_enabled": true,
										"next_review_at": "2026-01-01",
										"last_reviewed_at": "2026-01-01T00:00:00.000Z",
										"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
										"verified_by": "00000000-0000-0000-0000-000000000000",
										"verified_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"published_at": "2026-01-01T00:00:00.000Z",
										"archived_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"print_ready": true,
										"print_version_url": "string",
										"review_notes": "string",
										"primary_template_id": "00000000-0000-0000-0000-000000000000",
										"current_version_id": "00000000-0000-0000-0000-000000000000",
										"published_version_id": "00000000-0000-0000-0000-000000000000",
										"title_search_vector": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"slug": "string",
											"summary": "string",
											"status": "string",
											"owner_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"is_stub": true,
											"review_by": "2026-01-01",
											"review_interval_days": 1,
											"review_reminder_enabled": true,
											"next_review_at": "2026-01-01",
											"last_reviewed_at": "2026-01-01T00:00:00.000Z",
											"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
											"verified_by": "00000000-0000-0000-0000-000000000000",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"published_at": "2026-01-01T00:00:00.000Z",
											"archived_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"print_ready": true,
											"print_version_url": "string",
											"review_notes": "string",
											"primary_template_id": "00000000-0000-0000-0000-000000000000",
											"current_version_id": "00000000-0000-0000-0000-000000000000",
											"published_version_id": "00000000-0000-0000-0000-000000000000",
											"title_search_vector": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"is_stub": true,
												"review_by": "2026-01-01",
												"review_interval_days": 1,
												"review_reminder_enabled": true,
												"next_review_at": "2026-01-01",
												"last_reviewed_at": "2026-01-01T00:00:00.000Z",
												"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
												"verified_by": "00000000-0000-0000-0000-000000000000",
												"verified_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"archived_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"print_ready": true,
												"print_version_url": "string",
												"review_notes": "string",
												"primary_template_id": "00000000-0000-0000-0000-000000000000",
												"current_version_id": "00000000-0000-0000-0000-000000000000",
												"published_version_id": "00000000-0000-0000-0000-000000000000",
												"title_search_vector": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"slug": "string",
										"summary": "string",
										"status": "string",
										"owner_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"is_stub": true,
										"review_by": "2026-01-01",
										"review_interval_days": 1,
										"review_reminder_enabled": true,
										"next_review_at": "2026-01-01",
										"last_reviewed_at": "2026-01-01T00:00:00.000Z",
										"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
										"verified_by": "00000000-0000-0000-0000-000000000000",
										"verified_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"published_at": "2026-01-01T00:00:00.000Z",
										"archived_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"print_ready": true,
										"print_version_url": "string",
										"review_notes": "string",
										"primary_template_id": "00000000-0000-0000-0000-000000000000",
										"current_version_id": "00000000-0000-0000-0000-000000000000",
										"published_version_id": "00000000-0000-0000-0000-000000000000",
										"title_search_vector": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"slug": "string",
											"summary": "string",
											"status": "string",
											"owner_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"is_stub": true,
											"review_by": "2026-01-01",
											"review_interval_days": 1,
											"review_reminder_enabled": true,
											"next_review_at": "2026-01-01",
											"last_reviewed_at": "2026-01-01T00:00:00.000Z",
											"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
											"verified_by": "00000000-0000-0000-0000-000000000000",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"published_at": "2026-01-01T00:00:00.000Z",
											"archived_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"print_ready": true,
											"print_version_url": "string",
											"review_notes": "string",
											"primary_template_id": "00000000-0000-0000-0000-000000000000",
											"current_version_id": "00000000-0000-0000-0000-000000000000",
											"published_version_id": "00000000-0000-0000-0000-000000000000",
											"title_search_vector": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"slug": "string",
												"summary": "string",
												"status": "string",
												"owner_id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"is_stub": true,
												"review_by": "2026-01-01",
												"review_interval_days": 1,
												"review_reminder_enabled": true,
												"next_review_at": "2026-01-01",
												"last_reviewed_at": "2026-01-01T00:00:00.000Z",
												"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
												"verified_by": "00000000-0000-0000-0000-000000000000",
												"verified_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"published_at": "2026-01-01T00:00:00.000Z",
												"archived_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"print_ready": true,
												"print_version_url": "string",
												"review_notes": "string",
												"primary_template_id": "00000000-0000-0000-0000-000000000000",
												"current_version_id": "00000000-0000-0000-0000-000000000000",
												"published_version_id": "00000000-0000-0000-0000-000000000000",
												"title_search_vector": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"slug": "string",
										"summary": "string",
										"status": "string",
										"owner_id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"is_stub": true,
										"review_by": "2026-01-01",
										"review_interval_days": 1,
										"review_reminder_enabled": true,
										"next_review_at": "2026-01-01",
										"last_reviewed_at": "2026-01-01T00:00:00.000Z",
										"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
										"verified_by": "00000000-0000-0000-0000-000000000000",
										"verified_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"published_at": "2026-01-01T00:00:00.000Z",
										"archived_at": "2026-01-01T00:00:00.000Z",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"print_ready": true,
										"print_version_url": "string",
										"review_notes": "string",
										"primary_template_id": "00000000-0000-0000-0000-000000000000",
										"current_version_id": "00000000-0000-0000-0000-000000000000",
										"published_version_id": "00000000-0000-0000-0000-000000000000",
										"title_search_vector": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"slug": "string",
											"summary": "string",
											"status": "string",
											"owner_id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"is_stub": true,
											"review_by": "2026-01-01",
											"review_interval_days": 1,
											"review_reminder_enabled": true,
											"next_review_at": "2026-01-01",
											"last_reviewed_at": "2026-01-01T00:00:00.000Z",
											"last_reviewed_by": "00000000-0000-0000-0000-000000000000",
											"verified_by": "00000000-0000-0000-0000-000000000000",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"published_at": "2026-01-01T00:00:00.000Z",
											"archived_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"print_ready": true,
											"print_version_url": "string",
											"review_notes": "string",
											"primary_template_id": "00000000-0000-0000-0000-000000000000",
											"current_version_id": "00000000-0000-0000-0000-000000000000",
											"published_version_id": "00000000-0000-0000-0000-000000000000",
											"title_search_vector": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_summary": "string",
												"is_major": true,
												"status": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_summary": "string",
												"is_major": true,
												"status": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"version_number": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"change_summary": "string",
										"is_major": true,
										"status": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"version_number": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"change_summary": "string",
											"is_major": true,
											"status": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_summary": "string",
												"is_major": true,
												"status": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"version_number": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"change_summary": "string",
										"is_major": true,
										"status": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"version_number": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"change_summary": "string",
											"is_major": true,
											"status": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"page_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"version_number": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_summary": "string",
												"is_major": true,
												"status": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"page_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"version_number": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"change_summary": "string",
										"is_major": true,
										"status": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"page_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"version_number": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"change_summary": "string",
											"is_major": true,
											"status": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"query": "string",
												"normalized_query": "string",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"results_count": 1,
												"top_result_page_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"duration_ms": 1,
												"filters": {
													"category_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"fuzzy_terms": ["string"],
													"status": "string",
													"synonyms": ["string"]
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"query": "string",
												"normalized_query": "string",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"results_count": 1,
												"top_result_page_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"duration_ms": 1,
												"filters": {
													"category_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"fuzzy_terms": ["string"],
													"status": "string",
													"synonyms": ["string"]
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"query": "string",
										"normalized_query": "string",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"results_count": 1,
										"top_result_page_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"duration_ms": 1,
										"filters": {
											"category_id": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"fuzzy_terms": ["string"],
											"status": "string",
											"synonyms": ["string"]
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"query": "string",
											"normalized_query": "string",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"results_count": 1,
											"top_result_page_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"duration_ms": 1,
											"filters": {
												"category_id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"fuzzy_terms": ["string"],
												"status": "string",
												"synonyms": ["string"]
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"query": "string",
												"normalized_query": "string",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"results_count": 1,
												"top_result_page_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"duration_ms": 1,
												"filters": {
													"category_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"fuzzy_terms": ["string"],
													"status": "string",
													"synonyms": ["string"]
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"query": "string",
										"normalized_query": "string",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"results_count": 1,
										"top_result_page_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"duration_ms": 1,
										"filters": {
											"category_id": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"fuzzy_terms": ["string"],
											"status": "string",
											"synonyms": ["string"]
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"query": "string",
											"normalized_query": "string",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"results_count": 1,
											"top_result_page_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"duration_ms": 1,
											"filters": {
												"category_id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"fuzzy_terms": ["string"],
												"status": "string",
												"synonyms": ["string"]
											}
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"query": "string",
												"normalized_query": "string",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"results_count": 1,
												"top_result_page_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"duration_ms": 1,
												"filters": {
													"category_id": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"fuzzy_terms": ["string"],
													"status": "string",
													"synonyms": ["string"]
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"query": "string",
										"normalized_query": "string",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"results_count": 1,
										"top_result_page_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"duration_ms": 1,
										"filters": {
											"category_id": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"fuzzy_terms": ["string"],
											"status": "string",
											"synonyms": ["string"]
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"query": "string",
											"normalized_query": "string",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"results_count": 1,
											"top_result_page_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"duration_ms": 1,
											"filters": {
												"category_id": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"fuzzy_terms": ["string"],
												"status": "string",
												"synonyms": ["string"]
											}
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"day": "2026-01-01T00:00:00.000Z",
												"query_count": 1,
												"zero_result_queries": 1,
												"zero_result_terms": ["string"],
												"avg_latency_ms": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"day": "2026-01-01T00:00:00.000Z",
												"query_count": 1,
												"zero_result_queries": 1,
												"zero_result_terms": ["string"],
												"avg_latency_ms": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"day": "2026-01-01T00:00:00.000Z",
										"query_count": 1,
										"zero_result_queries": 1,
										"zero_result_terms": ["string"],
										"avg_latency_ms": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"day": "2026-01-01T00:00:00.000Z",
											"query_count": 1,
											"zero_result_queries": 1,
											"zero_result_terms": ["string"],
											"avg_latency_ms": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"day": "2026-01-01T00:00:00.000Z",
												"query_count": 1,
												"zero_result_queries": 1,
												"zero_result_terms": ["string"],
												"avg_latency_ms": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"day": "2026-01-01T00:00:00.000Z",
										"query_count": 1,
										"zero_result_queries": 1,
										"zero_result_terms": ["string"],
										"avg_latency_ms": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"day": "2026-01-01T00:00:00.000Z",
											"query_count": 1,
											"zero_result_queries": 1,
											"zero_result_terms": ["string"],
											"avg_latency_ms": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"day": "2026-01-01T00:00:00.000Z",
												"query_count": 1,
												"zero_result_queries": 1,
												"zero_result_terms": ["string"],
												"avg_latency_ms": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"day": "2026-01-01T00:00:00.000Z",
										"query_count": 1,
										"zero_result_queries": 1,
										"zero_result_terms": ["string"],
										"avg_latency_ms": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"day": "2026-01-01T00:00:00.000Z",
											"query_count": 1,
											"zero_result_queries": 1,
											"zero_result_terms": ["string"],
											"avg_latency_ms": 1
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"synonyms": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"synonyms": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"synonyms": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"synonyms": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"synonyms": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"synonyms": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"synonyms": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"synonyms": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"synonyms": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"synonyms": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"synonyms": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"synonyms": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"synonyms": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"normalized_term": "string",
												"usage_count": 1,
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"normalized_term": "string",
												"usage_count": 1,
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"normalized_term": "string",
										"usage_count": 1,
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"normalized_term": "string",
											"usage_count": 1,
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"normalized_term": "string",
												"usage_count": 1,
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"normalized_term": "string",
										"usage_count": 1,
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"normalized_term": "string",
											"usage_count": 1,
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"term": "string",
												"normalized_term": "string",
												"usage_count": 1,
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"normalized_term": "string",
										"usage_count": 1,
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"normalized_term": "string",
											"usage_count": 1,
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"normalized_term": "string",
											"usage_count": 1,
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"term": "string",
										"normalized_term": "string",
										"usage_count": 1,
										"last_used_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"term": "string",
											"normalized_term": "string",
											"usage_count": 1,
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"description": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"description": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"description": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"description": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"description": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"description": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"description": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"content": "string",
												"source_url": "string",
												"checksum": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"content": "string",
												"source_url": "string",
												"checksum": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"content": "string",
										"source_url": "string",
										"checksum": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"content": "string",
											"source_url": "string",
											"checksum": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"content": "string",
												"source_url": "string",
												"checksum": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"content": "string",
										"source_url": "string",
										"checksum": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"content": "string",
											"source_url": "string",
											"checksum": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"key": "string",
												"content": "string",
												"source_url": "string",
												"checksum": "string",
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"content": "string",
										"source_url": "string",
										"checksum": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"content": "string",
											"source_url": "string",
											"checksum": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"question_id": "00000000-0000-0000-0000-000000000000",
												"option_text": "string",
												"is_correct": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"question_id": "00000000-0000-0000-0000-000000000000",
												"option_text": "string",
												"is_correct": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"question_id": "00000000-0000-0000-0000-000000000000",
										"option_text": "string",
										"is_correct": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"question_id": "00000000-0000-0000-0000-000000000000",
											"option_text": "string",
											"is_correct": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"question_id": "00000000-0000-0000-0000-000000000000",
												"option_text": "string",
												"is_correct": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"question_id": "00000000-0000-0000-0000-000000000000",
										"option_text": "string",
										"is_correct": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"question_id": "00000000-0000-0000-0000-000000000000",
											"option_text": "string",
											"is_correct": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"question_id": "00000000-0000-0000-0000-000000000000",
												"option_text": "string",
												"is_correct": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"question_id": "00000000-0000-0000-0000-000000000000",
										"option_text": "string",
										"is_correct": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"question_id": "00000000-0000-0000-0000-000000000000",
											"option_text": "string",
											"is_correct": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"question_id": "00000000-0000-0000-0000-000000000000",
											"option_text": "string",
											"is_correct": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"question_id": "00000000-0000-0000-0000-000000000000",
										"option_text": "string",
										"is_correct": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"question_id": "00000000-0000-0000-0000-000000000000",
											"option_text": "string",
											"is_correct": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"question_text": "string",
												"question_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"question_text": "string",
										"question_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"question_text": "string",
											"question_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"video_url": "string",
												"course_order": 1,
												"has_quiz": true,
												"quiz_passing_score": 1,
												"max_quiz_attempts": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"module_id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"video_url": "string",
												"course_order": 1,
												"has_quiz": true,
												"quiz_passing_score": 1,
												"max_quiz_attempts": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"module_id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"video_url": "string",
										"course_order": 1,
										"has_quiz": true,
										"quiz_passing_score": 1,
										"max_quiz_attempts": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"module_id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"video_url": "string",
											"course_order": 1,
											"has_quiz": true,
											"quiz_passing_score": 1,
											"max_quiz_attempts": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"module_id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"video_url": "string",
												"course_order": 1,
												"has_quiz": true,
												"quiz_passing_score": 1,
												"max_quiz_attempts": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"module_id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"video_url": "string",
										"course_order": 1,
										"has_quiz": true,
										"quiz_passing_score": 1,
										"max_quiz_attempts": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"module_id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"video_url": "string",
											"course_order": 1,
											"has_quiz": true,
											"quiz_passing_score": 1,
											"max_quiz_attempts": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"module_id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"video_url": "string",
												"course_order": 1,
												"has_quiz": true,
												"quiz_passing_score": 1,
												"max_quiz_attempts": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"module_id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"video_url": "string",
										"course_order": 1,
										"has_quiz": true,
										"quiz_passing_score": 1,
										"max_quiz_attempts": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"module_id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"video_url": "string",
											"course_order": 1,
											"has_quiz": true,
											"quiz_passing_score": 1,
											"max_quiz_attempts": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"module_id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"video_url": "string",
											"course_order": 1,
											"has_quiz": true,
											"quiz_passing_score": 1,
											"max_quiz_attempts": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"module_id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"video_url": "string",
										"course_order": 1,
										"has_quiz": true,
										"quiz_passing_score": 1,
										"max_quiz_attempts": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"module_id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"video_url": "string",
											"course_order": 1,
											"has_quiz": true,
											"quiz_passing_score": 1,
											"max_quiz_attempts": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"module_id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"order_index": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"order_index": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"order_index": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"order_index": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"order_index": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"order_index": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"order_index": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"order_index": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"order_index": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"order_index": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"order_index": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"order_index": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"order_index": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"video_watched": true,
												"video_watched_at": "2026-01-01T00:00:00.000Z",
												"quiz_score": 1,
												"quiz_passed": true,
												"quiz_completed_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_competence": true,
												"demonstrated_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
												"can_teach": true,
												"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
												"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"client_mutation_id": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"video_watched": true,
												"video_watched_at": "2026-01-01T00:00:00.000Z",
												"quiz_score": 1,
												"quiz_passed": true,
												"quiz_completed_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_competence": true,
												"demonstrated_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
												"can_teach": true,
												"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
												"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"client_mutation_id": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"video_watched": true,
										"video_watched_at": "2026-01-01T00:00:00.000Z",
										"quiz_score": 1,
										"quiz_passed": true,
										"quiz_completed_at": "2026-01-01T00:00:00.000Z",
										"demonstrated_competence": true,
										"demonstrated_at": "2026-01-01T00:00:00.000Z",
										"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
										"can_teach": true,
										"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
										"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"client_mutation_id": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"video_watched": true,
											"video_watched_at": "2026-01-01T00:00:00.000Z",
											"quiz_score": 1,
											"quiz_passed": true,
											"quiz_completed_at": "2026-01-01T00:00:00.000Z",
											"demonstrated_competence": true,
											"demonstrated_at": "2026-01-01T00:00:00.000Z",
											"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
											"can_teach": true,
											"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
											"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"client_mutation_id": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"video_watched": true,
												"video_watched_at": "2026-01-01T00:00:00.000Z",
												"quiz_score": 1,
												"quiz_passed": true,
												"quiz_completed_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_competence": true,
												"demonstrated_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
												"can_teach": true,
												"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
												"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"client_mutation_id": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"video_watched": true,
										"video_watched_at": "2026-01-01T00:00:00.000Z",
										"quiz_score": 1,
										"quiz_passed": true,
										"quiz_completed_at": "2026-01-01T00:00:00.000Z",
										"demonstrated_competence": true,
										"demonstrated_at": "2026-01-01T00:00:00.000Z",
										"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
										"can_teach": true,
										"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
										"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"client_mutation_id": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"video_watched": true,
											"video_watched_at": "2026-01-01T00:00:00.000Z",
											"quiz_score": 1,
											"quiz_passed": true,
											"quiz_completed_at": "2026-01-01T00:00:00.000Z",
											"demonstrated_competence": true,
											"demonstrated_at": "2026-01-01T00:00:00.000Z",
											"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
											"can_teach": true,
											"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
											"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"client_mutation_id": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"course_id": "00000000-0000-0000-0000-000000000000",
												"video_watched": true,
												"video_watched_at": "2026-01-01T00:00:00.000Z",
												"quiz_score": 1,
												"quiz_passed": true,
												"quiz_completed_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_competence": true,
												"demonstrated_at": "2026-01-01T00:00:00.000Z",
												"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
												"can_teach": true,
												"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
												"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"client_mutation_id": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"course_id": "00000000-0000-0000-0000-000000000000",
										"video_watched": true,
										"video_watched_at": "2026-01-01T00:00:00.000Z",
										"quiz_score": 1,
										"quiz_passed": true,
										"quiz_completed_at": "2026-01-01T00:00:00.000Z",
										"demonstrated_competence": true,
										"demonstrated_at": "2026-01-01T00:00:00.000Z",
										"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
										"can_teach": true,
										"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
										"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"client_mutation_id": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"course_id": "00000000-0000-0000-0000-000000000000",
											"video_watched": true,
											"video_watched_at": "2026-01-01T00:00:00.000Z",
											"quiz_score": 1,
											"quiz_passed": true,
											"quiz_completed_at": "2026-01-01T00:00:00.000Z",
											"demonstrated_competence": true,
											"demonstrated_at": "2026-01-01T00:00:00.000Z",
											"demonstrated_by_user_id": "00000000-0000-0000-0000-000000000000",
											"can_teach": true,
											"can_teach_signed_off_at": "2026-01-01T00:00:00.000Z",
											"can_teach_signed_off_by_user_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"client_mutation_id": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"ordered_cases": 1,
												"fulfilled_cases": 1,
												"short_reason": "string",
												"picker_notes": "string",
												"base_case_cost_cents": 1,
												"overhead_rate": 1,
												"overhead_cents": 1,
												"basis": "string",
												"vendor_pricing_id": 1,
												"recipe_id": 1,
												"computed_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"ordered_cases": 1,
												"fulfilled_cases": 1,
												"short_reason": "string",
												"picker_notes": "string",
												"base_case_cost_cents": 1,
												"overhead_rate": 1,
												"overhead_cents": 1,
												"basis": "string",
												"vendor_pricing_id": 1,
												"recipe_id": 1,
												"computed_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_id": "00000000-0000-0000-0000-000000000000",
										"order_item_id": 1,
										"ordered_cases": 1,
										"fulfilled_cases": 1,
										"short_reason": "string",
										"picker_notes": "string",
										"base_case_cost_cents": 1,
										"overhead_rate": 1,
										"overhead_cents": 1,
										"basis": "string",
										"vendor_pricing_id": 1,
										"recipe_id": 1,
										"computed_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_id": "00000000-0000-0000-0000-000000000000",
											"order_item_id": 1,
											"ordered_cases": 1,
											"fulfilled_cases": 1,
											"short_reason": "string",
											"picker_notes": "string",
											"base_case_cost_cents": 1,
											"overhead_rate": 1,
											"overhead_cents": 1,
											"basis": "string",
											"vendor_pricing_id": 1,
											"recipe_id": 1,
											"computed_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"ordered_cases": 1,
												"fulfilled_cases": 1,
												"short_reason": "string",
												"picker_notes": "string",
												"base_case_cost_cents": 1,
												"overhead_rate": 1,
												"overhead_cents": 1,
												"basis": "string",
												"vendor_pricing_id": 1,
												"recipe_id": 1,
												"computed_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_id": "00000000-0000-0000-0000-000000000000",
										"order_item_id": 1,
										"ordered_cases": 1,
										"fulfilled_cases": 1,
										"short_reason": "string",
										"picker_notes": "string",
										"base_case_cost_cents": 1,
										"overhead_rate": 1,
										"overhead_cents": 1,
										"basis": "string",
										"vendor_pricing_id": 1,
										"recipe_id": 1,
										"computed_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_id": "00000000-0000-0000-0000-000000000000",
											"order_item_id": 1,
											"ordered_cases": 1,
											"fulfilled_cases": 1,
											"short_reason": "string",
											"picker_notes": "string",
											"base_case_cost_cents": 1,
											"overhead_rate": 1,
											"overhead_cents": 1,
											"basis": "string",
											"vendor_pricing_id": 1,
											"recipe_id": 1,
											"computed_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"fulfillment_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"ordered_cases": 1,
												"fulfilled_cases": 1,
												"short_reason": "string",
												"picker_notes": "string",
												"base_case_cost_cents": 1,
												"overhead_rate": 1,
												"overhead_cents": 1,
												"basis": "string",
												"vendor_pricing_id": 1,
												"recipe_id": 1,
												"computed_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"fulfillment_id": "00000000-0000-0000-0000-000000000000",
										"order_item_id": 1,
										"ordered_cases": 1,
										"fulfilled_cases": 1,
										"short_reason": "string",
										"picker_notes": "string",
										"base_case_cost_cents": 1,
										"overhead_rate": 1,
										"overhead_cents": 1,
										"basis": "string",
										"vendor_pricing_id": 1,
										"recipe_id": 1,
										"computed_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"fulfillment_id": "00000000-0000-0000-0000-000000000000",
											"order_item_id": 1,
											"ordered_cases": 1,
											"fulfilled_cases": 1,
											"short_reason": "string",
											"picker_notes": "string",
											"base_case_cost_cents": 1,
											"overhead_rate": 1,
											"overhead_cents": 1,
											"basis": "string",
											"vendor_pricing_id": 1,
											"recipe_id": 1,
											"computed_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"source_location_id": "string",
												"destination_location_id": "string",
												"fulfilled_by": "00000000-0000-0000-0000-000000000000",
												"fulfilled_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"source_location_id": "string",
												"destination_location_id": "string",
												"fulfilled_by": "00000000-0000-0000-0000-000000000000",
												"fulfilled_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"source_location_id": "string",
										"destination_location_id": "string",
										"fulfilled_by": "00000000-0000-0000-0000-000000000000",
										"fulfilled_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"source_location_id": "string",
											"destination_location_id": "string",
											"fulfilled_by": "00000000-0000-0000-0000-000000000000",
											"fulfilled_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"source_location_id": "string",
												"destination_location_id": "string",
												"fulfilled_by": "00000000-0000-0000-0000-000000000000",
												"fulfilled_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"source_location_id": "string",
										"destination_location_id": "string",
										"fulfilled_by": "00000000-0000-0000-0000-000000000000",
										"fulfilled_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"source_location_id": "string",
											"destination_location_id": "string",
											"fulfilled_by": "00000000-0000-0000-0000-000000000000",
											"fulfilled_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"source_location_id": "string",
												"destination_location_id": "string",
												"fulfilled_by": "00000000-0000-0000-0000-000000000000",
												"fulfilled_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"source_location_id": "string",
										"destination_location_id": "string",
										"fulfilled_by": "00000000-0000-0000-0000-000000000000",
										"fulfilled_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"source_location_id": "string",
											"destination_location_id": "string",
											"fulfilled_by": "00000000-0000-0000-0000-000000000000",
											"fulfilled_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"receipt_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"received_cases": 1,
												"receiver_notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"receipt_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"received_cases": 1,
												"receiver_notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"receipt_id": "00000000-0000-0000-0000-000000000000",
										"order_item_id": 1,
										"received_cases": 1,
										"receiver_notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"receipt_id": "00000000-0000-0000-0000-000000000000",
											"order_item_id": 1,
											"received_cases": 1,
											"receiver_notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"receipt_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"received_cases": 1,
												"receiver_notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"receipt_id": "00000000-0000-0000-0000-000000000000",
										"order_item_id": 1,
										"received_cases": 1,
										"receiver_notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"receipt_id": "00000000-0000-0000-0000-000000000000",
											"order_item_id": 1,
											"received_cases": 1,
											"receiver_notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"receipt_id": "00000000-0000-0000-0000-000000000000",
												"order_item_id": 1,
												"received_cases": 1,
												"receiver_notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"receipt_id": "00000000-0000-0000-0000-000000000000",
										"order_item_id": 1,
										"received_cases": 1,
										"receiver_notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"receipt_id": "00000000-0000-0000-0000-000000000000",
											"order_item_id": 1,
											"received_cases": 1,
											"receiver_notes": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"received_by": "00000000-0000-0000-0000-000000000000",
												"received_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"received_by": "00000000-0000-0000-0000-000000000000",
												"received_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"received_by": "00000000-0000-0000-0000-000000000000",
										"received_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"received_by": "00000000-0000-0000-0000-000000000000",
											"received_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"received_by": "00000000-0000-0000-0000-000000000000",
												"received_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"received_by": "00000000-0000-0000-0000-000000000000",
										"received_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"received_by": "00000000-0000-0000-0000-000000000000",
											"received_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"received_by": "00000000-0000-0000-0000-000000000000",
												"received_at": "2026-01-01T00:00:00.000Z",
												"status": "string",
												"notes": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"received_by": "00000000-0000-0000-0000-000000000000",
										"received_at": "2026-01-01T00:00:00.000Z",
										"status": "string",
										"notes": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"received_by": "00000000-0000-0000-0000-000000000000",
											"received_at": "2026-01-01T00:00:00.000Z",
											"status": "string",
											"notes": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"status": "string",
												"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"status": "string",
												"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"status": "string",
										"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"status": "string",
											"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"status": "string",
												"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"status": "string",
										"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"status": "string",
											"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"order_id": 1,
												"status": "string",
												"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
												"finalized_at": "2026-01-01T00:00:00.000Z",
												"finalized_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": 1,
										"status": "string",
										"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": 1,
											"status": "string",
											"finalized_transaction_id": "00000000-0000-0000-0000-000000000000",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location_id": 1,
												"department": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location_id": 1,
												"department": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"location_id": 1,
										"department": "string",
										"order": 1,
										"visible": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"location_id": 1,
											"department": "string",
											"order": 1,
											"visible": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location_id": 1,
												"department": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"location_id": 1,
										"department": "string",
										"order": 1,
										"visible": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"location_id": 1,
											"department": "string",
											"order": 1,
											"visible": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location_id": 1,
												"department": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"location_id": 1,
										"department": "string",
										"order": 1,
										"visible": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"location_id": 1,
											"department": "string",
											"order": 1,
											"visible": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"location_id": 1,
												"minimum_quantity": 1,
												"location_order": 1,
												"aggregate_order": true,
												"prefered_vendor_id": 1,
												"department_id": 1,
												"visible": true,
												"minimum_case": true,
												"pick_only": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"location_id": 1,
												"minimum_quantity": 1,
												"location_order": 1,
												"aggregate_order": true,
												"prefered_vendor_id": 1,
												"department_id": 1,
												"visible": true,
												"minimum_case": true,
												"pick_only": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"location_id": 1,
										"minimum_quantity": 1,
										"location_order": 1,
										"aggregate_order": true,
										"prefered_vendor_id": 1,
										"department_id": 1,
										"visible": true,
										"minimum_case": true,
										"pick_only": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"location_id": 1,
											"minimum_quantity": 1,
											"location_order": 1,
											"aggregate_order": true,
											"prefered_vendor_id": 1,
											"department_id": 1,
											"visible": true,
											"minimum_case": true,
											"pick_only": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"location_id": 1,
												"minimum_quantity": 1,
												"location_order": 1,
												"aggregate_order": true,
												"prefered_vendor_id": 1,
												"department_id": 1,
												"visible": true,
												"minimum_case": true,
												"pick_only": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"location_id": 1,
										"minimum_quantity": 1,
										"location_order": 1,
										"aggregate_order": true,
										"prefered_vendor_id": 1,
										"department_id": 1,
										"visible": true,
										"minimum_case": true,
										"pick_only": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"location_id": 1,
											"minimum_quantity": 1,
											"location_order": 1,
											"aggregate_order": true,
											"prefered_vendor_id": 1,
											"department_id": 1,
											"visible": true,
											"minimum_case": true,
											"pick_only": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"location_id": 1,
												"minimum_quantity": 1,
												"location_order": 1,
												"aggregate_order": true,
												"prefered_vendor_id": 1,
												"department_id": 1,
												"visible": true,
												"minimum_case": true,
												"pick_only": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"location_id": 1,
										"minimum_quantity": 1,
										"location_order": 1,
										"aggregate_order": true,
										"prefered_vendor_id": 1,
										"department_id": 1,
										"visible": true,
										"minimum_case": true,
										"pick_only": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"location_id": 1,
											"minimum_quantity": 1,
											"location_order": 1,
											"aggregate_order": true,
											"prefered_vendor_id": 1,
											"department_id": 1,
											"visible": true,
											"minimum_case": true,
											"pick_only": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"order_id": 1,
												"item_id": 1,
												"quantity": 1,
												"status": 1,
												"case": true,
												"aggregate_order": true,
												"vendor_id": 1,
												"dispatch_date": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"order_id": 1,
												"item_id": 1,
												"quantity": 1,
												"status": 1,
												"case": true,
												"aggregate_order": true,
												"vendor_id": 1,
												"dispatch_date": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"order_id": 1,
										"item_id": 1,
										"quantity": 1,
										"status": 1,
										"case": true,
										"aggregate_order": true,
										"vendor_id": 1,
										"dispatch_date": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"order_id": 1,
											"item_id": 1,
											"quantity": 1,
											"status": 1,
											"case": true,
											"aggregate_order": true,
											"vendor_id": 1,
											"dispatch_date": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"order_id": 1,
												"item_id": 1,
												"quantity": 1,
												"status": 1,
												"case": true,
												"aggregate_order": true,
												"vendor_id": 1,
												"dispatch_date": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"order_id": 1,
										"item_id": 1,
										"quantity": 1,
										"status": 1,
										"case": true,
										"aggregate_order": true,
										"vendor_id": 1,
										"dispatch_date": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"order_id": 1,
											"item_id": 1,
											"quantity": 1,
											"status": 1,
											"case": true,
											"aggregate_order": true,
											"vendor_id": 1,
											"dispatch_date": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"order_id": 1,
												"item_id": 1,
												"quantity": 1,
												"status": 1,
												"case": true,
												"aggregate_order": true,
												"vendor_id": 1,
												"dispatch_date": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"order_id": 1,
										"item_id": 1,
										"quantity": 1,
										"status": 1,
										"case": true,
										"aggregate_order": true,
										"vendor_id": 1,
										"dispatch_date": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"order_id": 1,
											"item_id": 1,
											"quantity": 1,
											"status": 1,
											"case": true,
											"aggregate_order": true,
											"vendor_id": 1,
											"dispatch_date": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"order_id": 1,
											"item_id": 1,
											"quantity": 1,
											"status": 1,
											"case": true,
											"aggregate_order": true,
											"vendor_id": 1,
											"dispatch_date": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"order_id": 1,
										"item_id": 1,
										"quantity": 1,
										"status": 1,
										"case": true,
										"aggregate_order": true,
										"vendor_id": 1,
										"dispatch_date": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"order_id": 1,
											"item_id": 1,
											"quantity": 1,
											"status": 1,
											"case": true,
											"aggregate_order": true,
											"vendor_id": 1,
											"dispatch_date": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"status": "string",
												"order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"status": "string",
												"order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"status": "string",
										"order": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"status": "string",
											"order": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"status": "string",
												"order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"status": "string",
										"order": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"status": "string",
											"order": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"status": "string",
												"order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"status": "string",
										"order": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"status": "string",
											"order": 1
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location": 1,
												"status_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"edited_at": "2026-01-01T00:00:00.000Z",
												"internal_transfer": true,
												"source_location_id": 1,
												"fulfillment_date": "2026-01-01",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location": 1,
												"status_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"edited_at": "2026-01-01T00:00:00.000Z",
												"internal_transfer": true,
												"source_location_id": 1,
												"fulfillment_date": "2026-01-01",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"location": 1,
										"status_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"edited_at": "2026-01-01T00:00:00.000Z",
										"internal_transfer": true,
										"source_location_id": 1,
										"fulfillment_date": "2026-01-01",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"location": 1,
											"status_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"edited_at": "2026-01-01T00:00:00.000Z",
											"internal_transfer": true,
											"source_location_id": 1,
											"fulfillment_date": "2026-01-01",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location": 1,
												"status_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"edited_at": "2026-01-01T00:00:00.000Z",
												"internal_transfer": true,
												"source_location_id": 1,
												"fulfillment_date": "2026-01-01",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"location": 1,
										"status_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"edited_at": "2026-01-01T00:00:00.000Z",
										"internal_transfer": true,
										"source_location_id": 1,
										"fulfillment_date": "2026-01-01",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"location": 1,
											"status_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"edited_at": "2026-01-01T00:00:00.000Z",
											"internal_transfer": true,
											"source_location_id": 1,
											"fulfillment_date": "2026-01-01",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"location": 1,
												"status_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"notes": "string",
												"edited_at": "2026-01-01T00:00:00.000Z",
												"internal_transfer": true,
												"source_location_id": 1,
												"fulfillment_date": "2026-01-01",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"location": 1,
										"status_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"notes": "string",
										"edited_at": "2026-01-01T00:00:00.000Z",
										"internal_transfer": true,
										"source_location_id": 1,
										"fulfillment_date": "2026-01-01",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"location": 1,
											"status_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"notes": "string",
											"edited_at": "2026-01-01T00:00:00.000Z",
											"internal_transfer": true,
											"source_location_id": 1,
											"fulfillment_date": "2026-01-01",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"day_id": 1,
												"on": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"day_id": 1,
												"on": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"day_id": 1,
										"on": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"day_id": 1,
											"on": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"day_id": 1,
												"on": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"day_id": 1,
										"on": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"day_id": 1,
											"on": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"day_id": 1,
												"on": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"day_id": 1,
										"on": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"day_id": 1,
											"on": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"department": "string",
												"order": 1,
												"vendor_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"department": "string",
												"order": 1,
												"vendor_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"department": "string",
										"order": 1,
										"vendor_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"department": "string",
											"order": 1,
											"vendor_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"department": "string",
												"order": 1,
												"vendor_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"department": "string",
										"order": 1,
										"vendor_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"department": "string",
											"order": 1,
											"vendor_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"department": "string",
												"order": 1,
												"vendor_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"department": "string",
										"order": 1,
										"vendor_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"department": "string",
											"order": 1,
											"vendor_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"method": "string",
												"fields": [
													{
														"key": "string",
														"type": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"method": "string",
												"fields": [
													{
														"key": "string",
														"type": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"method": "string",
										"fields": [
											{
												"key": "string",
												"type": "string"
											}
										]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"method": "string",
											"fields": [
												{
													"key": "string",
													"type": "string"
												}
											]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"method": "string",
												"fields": [
													{
														"key": "string",
														"type": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"method": "string",
										"fields": [
											{
												"key": "string",
												"type": "string"
											}
										]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"method": "string",
											"fields": [
												{
													"key": "string",
													"type": "string"
												}
											]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"method": "string",
												"fields": [
													{
														"key": "string",
														"type": "string"
													}
												]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"method": "string",
										"fields": [
											{
												"key": "string",
												"type": "string"
											}
										]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"method": "string",
											"fields": [
												{
													"key": "string",
													"type": "string"
												}
											]
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"item_id": 1,
												"price": 1,
												"unit_quantity": 1,
												"quantity": 1,
												"sku": "string",
												"vendorDescription": "string",
												"vendorOrder": 1,
												"unit": 1,
												"visible": true,
												"vendorDepartment": 1,
												"case": true,
												"updated_at": "2026-01-01T00:00:00.000Z",
												"units_per_case": 1,
												"pack_description": "string",
												"variable_weight": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"item_id": 1,
												"price": 1,
												"unit_quantity": 1,
												"quantity": 1,
												"sku": "string",
												"vendorDescription": "string",
												"vendorOrder": 1,
												"unit": 1,
												"visible": true,
												"vendorDepartment": 1,
												"case": true,
												"updated_at": "2026-01-01T00:00:00.000Z",
												"units_per_case": 1,
												"pack_description": "string",
												"variable_weight": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"item_id": 1,
										"price": 1,
										"unit_quantity": 1,
										"quantity": 1,
										"sku": "string",
										"vendorDescription": "string",
										"vendorOrder": 1,
										"unit": 1,
										"visible": true,
										"vendorDepartment": 1,
										"case": true,
										"updated_at": "2026-01-01T00:00:00.000Z",
										"units_per_case": 1,
										"pack_description": "string",
										"variable_weight": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"item_id": 1,
											"price": 1,
											"unit_quantity": 1,
											"quantity": 1,
											"sku": "string",
											"vendorDescription": "string",
											"vendorOrder": 1,
											"unit": 1,
											"visible": true,
											"vendorDepartment": 1,
											"case": true,
											"updated_at": "2026-01-01T00:00:00.000Z",
											"units_per_case": 1,
											"pack_description": "string",
											"variable_weight": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"item_id": 1,
												"price": 1,
												"unit_quantity": 1,
												"quantity": 1,
												"sku": "string",
												"vendorDescription": "string",
												"vendorOrder": 1,
												"unit": 1,
												"visible": true,
												"vendorDepartment": 1,
												"case": true,
												"updated_at": "2026-01-01T00:00:00.000Z",
												"units_per_case": 1,
												"pack_description": "string",
												"variable_weight": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"item_id": 1,
										"price": 1,
										"unit_quantity": 1,
										"quantity": 1,
										"sku": "string",
										"vendorDescription": "string",
										"vendorOrder": 1,
										"unit": 1,
										"visible": true,
										"vendorDepartment": 1,
										"case": true,
										"updated_at": "2026-01-01T00:00:00.000Z",
										"units_per_case": 1,
										"pack_description": "string",
										"variable_weight": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"item_id": 1,
											"price": 1,
											"unit_quantity": 1,
											"quantity": 1,
											"sku": "string",
											"vendorDescription": "string",
											"vendorOrder": 1,
											"unit": 1,
											"visible": true,
											"vendorDepartment": 1,
											"case": true,
											"updated_at": "2026-01-01T00:00:00.000Z",
											"units_per_case": 1,
											"pack_description": "string",
											"variable_weight": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendor_id": 1,
												"item_id": 1,
												"price": 1,
												"unit_quantity": 1,
												"quantity": 1,
												"sku": "string",
												"vendorDescription": "string",
												"vendorOrder": 1,
												"unit": 1,
												"visible": true,
												"vendorDepartment": 1,
												"case": true,
												"updated_at": "2026-01-01T00:00:00.000Z",
												"units_per_case": 1,
												"pack_description": "string",
												"variable_weight": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"item_id": 1,
										"price": 1,
										"unit_quantity": 1,
										"quantity": 1,
										"sku": "string",
										"vendorDescription": "string",
										"vendorOrder": 1,
										"unit": 1,
										"visible": true,
										"vendorDepartment": 1,
										"case": true,
										"updated_at": "2026-01-01T00:00:00.000Z",
										"units_per_case": 1,
										"pack_description": "string",
										"variable_weight": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"item_id": 1,
											"price": 1,
											"unit_quantity": 1,
											"quantity": 1,
											"sku": "string",
											"vendorDescription": "string",
											"vendorOrder": 1,
											"unit": 1,
											"visible": true,
											"vendorDepartment": 1,
											"case": true,
											"updated_at": "2026-01-01T00:00:00.000Z",
											"units_per_case": 1,
											"pack_description": "string",
											"variable_weight": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"vendor_id": 1,
											"item_id": 1,
											"price": 1,
											"unit_quantity": 1,
											"quantity": 1,
											"sku": "string",
											"vendorDescription": "string",
											"vendorOrder": 1,
											"unit": 1,
											"visible": true,
											"vendorDepartment": 1,
											"case": true,
											"updated_at": "2026-01-01T00:00:00.000Z",
											"units_per_case": 1,
											"pack_description": "string",
											"variable_weight": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendor_id": 1,
										"item_id": 1,
										"price": 1,
										"unit_quantity": 1,
										"quantity": 1,
										"sku": "string",
										"vendorDescription": "string",
										"vendorOrder": 1,
										"unit": 1,
										"visible": true,
										"vendorDepartment": 1,
										"case": true,
										"updated_at": "2026-01-01T00:00:00.000Z",
										"units_per_case": 1,
										"pack_description": "string",
										"variable_weight": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendor_id": 1,
											"item_id": 1,
											"price": 1,
											"unit_quantity": 1,
											"quantity": 1,
											"sku": "string",
											"vendorDescription": "string",
											"vendorOrder": 1,
											"unit": 1,
											"visible": true,
											"vendorDepartment": 1,
											"case": true,
											"updated_at": "2026-01-01T00:00:00.000Z",
											"units_per_case": 1,
											"pack_description": "string",
											"variable_weight": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendorName": "string",
												"visible": true,
												"vendorDepartment": true,
												"breaksCase": true,
												"delivery_minimum": 1,
												"delivery_minimum_money": true,
												"order_method_id": 1,
												"order_method_details": {
													"Email": "string",
													"Subject": "string",
													"URL": "string"
												},
												"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
												"is_special_vendor": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendorName": "string",
												"visible": true,
												"vendorDepartment": true,
												"breaksCase": true,
												"delivery_minimum": 1,
												"delivery_minimum_money": true,
												"order_method_id": 1,
												"order_method_details": {
													"Email": "string",
													"Subject": "string",
													"URL": "string"
												},
												"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
												"is_special_vendor": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendorName": "string",
										"visible": true,
										"vendorDepartment": true,
										"breaksCase": true,
										"delivery_minimum": 1,
										"delivery_minimum_money": true,
										"order_method_id": 1,
										"order_method_details": {
											"Email": "string",
											"Subject": "string",
											"URL": "string"
										},
										"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
										"is_special_vendor": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendorName": "string",
												"visible": true,
												"vendorDepartment": true,
												"breaksCase": true,
												"delivery_minimum": 1,
												"delivery_minimum_money": true,
												"order_method_id": 1,
												"order_method_details": {
													"Email": "string",
													"Subject": "string",
													"URL": "string"
												},
												"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
												"is_special_vendor": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendorName": "string",
										"visible": true,
										"vendorDepartment": true,
										"breaksCase": true,
										"delivery_minimum": 1,
										"delivery_minimum_money": true,
										"order_method_id": 1,
										"order_method_details": {
											"Email": "string",
											"Subject": "string",
											"URL": "string"
										},
										"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
										"is_special_vendor": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendorName": "string",
												"visible": true,
												"vendorDepartment": true,
												"breaksCase": true,
												"delivery_minimum": 1,
												"delivery_minimum_money": true,
												"order_method_id": 1,
												"order_method_details": {
													"Email": "string",
													"Subject": "string",
													"URL": "string"
												},
												"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
												"is_special_vendor": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendorName": "string",
										"visible": true,
										"vendorDepartment": true,
										"breaksCase": true,
										"delivery_minimum": 1,
										"delivery_minimum_money": true,
										"order_method_id": 1,
										"order_method_details": {
											"Email": "string",
											"Subject": "string",
											"URL": "string"
										},
										"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
										"is_special_vendor": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string",
												"processed": true,
												"password": "string",
												"ssn_last4": "string",
												"tax_info_skipped": true,
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"ssn_ciphertext": "string",
												"ssn_nonce": "string",
												"routing_ciphertext": "string",
												"routing_nonce": "string",
												"account_ciphertext": "string",
												"account_nonce": "string",
												"routing_last4": "string",
												"account_last4": "string",
												"key_version": 1,
												"cipher_algo": "string",
												"w2_electronic_consent": true,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string",
												"processed": true,
												"password": "string",
												"ssn_last4": "string",
												"tax_info_skipped": true,
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"ssn_ciphertext": "string",
												"ssn_nonce": "string",
												"routing_ciphertext": "string",
												"routing_nonce": "string",
												"account_ciphertext": "string",
												"account_nonce": "string",
												"routing_last4": "string",
												"account_last4": "string",
												"key_version": 1,
												"cipher_algo": "string",
												"w2_electronic_consent": true,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string",
										"processed": true,
										"password": "string",
										"ssn_last4": "string",
										"tax_info_skipped": true,
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"ssn_ciphertext": "string",
										"ssn_nonce": "string",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": 1,
										"cipher_algo": "string",
										"w2_electronic_consent": true,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string",
												"processed": true,
												"password": "string",
												"ssn_last4": "string",
												"tax_info_skipped": true,
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"ssn_ciphertext": "string",
												"ssn_nonce": "string",
												"routing_ciphertext": "string",
												"routing_nonce": "string",
												"account_ciphertext": "string",
												"account_nonce": "string",
												"routing_last4": "string",
												"account_last4": "string",
												"key_version": 1,
												"cipher_algo": "string",
												"w2_electronic_consent": true,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string",
										"processed": true,
										"password": "string",
										"ssn_last4": "string",
										"tax_info_skipped": true,
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"ssn_ciphertext": "string",
										"ssn_nonce": "string",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": 1,
										"cipher_algo": "string",
										"w2_electronic_consent": true,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string",
												"processed": true,
												"password": "string",
												"ssn_last4": "string",
												"tax_info_skipped": true,
												"federal_json": {
													"deductions": 1,
													"dependents_amount": 1,
													"exempt": true,
													"extra_withholding": 1,
													"filing_status": "string",
													"multiple_jobs": true,
													"other_income": 1,
													"w4_year": 1
												},
												"az_json": {
													"extra_withholding": 1,
													"rate": 1,
													"zero_withholding": true
												},
												"ssn_ciphertext": "string",
												"ssn_nonce": "string",
												"routing_ciphertext": "string",
												"routing_nonce": "string",
												"account_ciphertext": "string",
												"account_nonce": "string",
												"routing_last4": "string",
												"account_last4": "string",
												"key_version": 1,
												"cipher_algo": "string",
												"w2_electronic_consent": true,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"accepted_terms_of_service": true,
												"acknowledged_privacy_policy": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string",
										"processed": true,
										"password": "string",
										"ssn_last4": "string",
										"tax_info_skipped": true,
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"ssn_ciphertext": "string",
										"ssn_nonce": "string",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": 1,
										"cipher_algo": "string",
										"w2_electronic_consent": true,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string",
										"processed": true,
										"password": "string",
										"ssn_last4": "string",
										"tax_info_skipped": true,
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"ssn_ciphertext": "string",
										"ssn_nonce": "string",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": 1,
										"cipher_algo": "string",
										"w2_electronic_consent": true,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"role": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"role": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"role": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"role": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"role": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"role": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"role": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"role": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"role": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"role": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"email": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"name": "string",
												"birthdate": "2026-01-01",
												"locations": [1],
												"role": 1,
												"active": true,
												"phone": "string",
												"address": "string",
												"city": "string",
												"state": "string",
												"zip": 1,
												"emergency_name": "string",
												"emergency_phone": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"fdc_id": 1,
												"fdc_description": "string",
												"fdc_data_type": "string",
												"fdc_publication_date": "2026-01-01",
												"fdc_serving_size": 1,
												"fdc_serving_size_unit": 1,
												"fdc_brand_name": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"fdc_id": 1,
												"fdc_description": "string",
												"fdc_data_type": "string",
												"fdc_publication_date": "2026-01-01",
												"fdc_serving_size": 1,
												"fdc_serving_size_unit": 1,
												"fdc_brand_name": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"fdc_id": 1,
										"fdc_description": "string",
										"fdc_data_type": "string",
										"fdc_publication_date": "2026-01-01",
										"fdc_serving_size": 1,
										"fdc_serving_size_unit": 1,
										"fdc_brand_name": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"fdc_id": 1,
											"fdc_description": "string",
											"fdc_data_type": "string",
											"fdc_publication_date": "2026-01-01",
											"fdc_serving_size": 1,
											"fdc_serving_size_unit": 1,
											"fdc_brand_name": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"fdc_id": 1,
												"fdc_description": "string",
												"fdc_data_type": "string",
												"fdc_publication_date": "2026-01-01",
												"fdc_serving_size": 1,
												"fdc_serving_size_unit": 1,
												"fdc_brand_name": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"fdc_id": 1,
										"fdc_description": "string",
										"fdc_data_type": "string",
										"fdc_publication_date": "2026-01-01",
										"fdc_serving_size": 1,
										"fdc_serving_size_unit": 1,
										"fdc_brand_name": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"fdc_id": 1,
											"fdc_description": "string",
											"fdc_data_type": "string",
											"fdc_publication_date": "2026-01-01",
											"fdc_serving_size": 1,
											"fdc_serving_size_unit": 1,
											"fdc_brand_name": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"fdc_id": 1,
												"fdc_description": "string",
												"fdc_data_type": "string",
												"fdc_publication_date": "2026-01-01",
												"fdc_serving_size": 1,
												"fdc_serving_size_unit": 1,
												"fdc_brand_name": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"fdc_id": 1,
										"fdc_description": "string",
										"fdc_data_type": "string",
										"fdc_publication_date": "2026-01-01",
										"fdc_serving_size": 1,
										"fdc_serving_size_unit": 1,
										"fdc_brand_name": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"fdc_id": 1,
											"fdc_description": "string",
											"fdc_data_type": "string",
											"fdc_publication_date": "2026-01-01",
											"fdc_serving_size": 1,
											"fdc_serving_size_unit": 1,
											"fdc_brand_name": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"retail": 1,
												"name": "string",
												"wholesale": 1,
												"style": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"retail": 1,
												"name": "string",
												"wholesale": 1,
												"style": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"retail": 1,
										"name": "string",
										"wholesale": 1,
										"style": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"retail": 1,
											"name": "string",
											"wholesale": 1,
											"style": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"retail": 1,
												"name": "string",
												"wholesale": 1,
												"style": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"retail": 1,
										"name": "string",
										"wholesale": 1,
										"style": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"retail": 1,
											"name": "string",
											"wholesale": 1,
											"style": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"retail": 1,
												"name": "string",
												"wholesale": 1,
												"style": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"retail": 1,
										"name": "string",
										"wholesale": 1,
										"style": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"retail": 1,
											"name": "string",
											"wholesale": 1,
											"style": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"normalized_name": "string",
												"aliases": "string",
												"image_url": "string",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"normalized_name": "string",
												"aliases": "string",
												"image_url": "string",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"normalized_name": "string",
										"aliases": "string",
										"image_url": "string",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"normalized_name": "string",
											"aliases": "string",
											"image_url": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"normalized_name": "string",
												"aliases": "string",
												"image_url": "string",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"normalized_name": "string",
										"aliases": "string",
										"image_url": "string",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"normalized_name": "string",
											"aliases": "string",
											"image_url": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"normalized_name": "string",
												"aliases": "string",
												"image_url": "string",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"normalized_name": "string",
										"aliases": "string",
										"image_url": "string",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"normalized_name": "string",
											"aliases": "string",
											"image_url": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item": "string",
												"visible": true,
												"recipe": true,
												"image_url": "string",
												"cogs_account_id": "00000000-0000-0000-0000-000000000000",
												"wholesale_price": 1,
												"wholesale_pack_size": 1,
												"wholesale_unit_label": "string",
												"wholesale_category_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"is_global": true,
												"global_ingredient_id": 1,
												"menu_visible": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item": "string",
												"visible": true,
												"recipe": true,
												"image_url": "string",
												"cogs_account_id": "00000000-0000-0000-0000-000000000000",
												"wholesale_price": 1,
												"wholesale_pack_size": 1,
												"wholesale_unit_label": "string",
												"wholesale_category_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"is_global": true,
												"global_ingredient_id": 1,
												"menu_visible": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item": "string",
										"visible": true,
										"recipe": true,
										"image_url": "string",
										"cogs_account_id": "00000000-0000-0000-0000-000000000000",
										"wholesale_price": 1,
										"wholesale_pack_size": 1,
										"wholesale_unit_label": "string",
										"wholesale_category_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"is_global": true,
										"global_ingredient_id": 1,
										"menu_visible": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item": "string",
											"visible": true,
											"recipe": true,
											"image_url": "string",
											"cogs_account_id": "00000000-0000-0000-0000-000000000000",
											"wholesale_price": 1,
											"wholesale_pack_size": 1,
											"wholesale_unit_label": "string",
											"wholesale_category_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"is_global": true,
											"global_ingredient_id": 1,
											"menu_visible": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item": "string",
												"visible": true,
												"recipe": true,
												"image_url": "string",
												"cogs_account_id": "00000000-0000-0000-0000-000000000000",
												"wholesale_price": 1,
												"wholesale_pack_size": 1,
												"wholesale_unit_label": "string",
												"wholesale_category_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"is_global": true,
												"global_ingredient_id": 1,
												"menu_visible": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item": "string",
										"visible": true,
										"recipe": true,
										"image_url": "string",
										"cogs_account_id": "00000000-0000-0000-0000-000000000000",
										"wholesale_price": 1,
										"wholesale_pack_size": 1,
										"wholesale_unit_label": "string",
										"wholesale_category_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"is_global": true,
										"global_ingredient_id": 1,
										"menu_visible": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item": "string",
											"visible": true,
											"recipe": true,
											"image_url": "string",
											"cogs_account_id": "00000000-0000-0000-0000-000000000000",
											"wholesale_price": 1,
											"wholesale_pack_size": 1,
											"wholesale_unit_label": "string",
											"wholesale_category_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"is_global": true,
											"global_ingredient_id": 1,
											"menu_visible": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item": "string",
												"visible": true,
												"recipe": true,
												"image_url": "string",
												"cogs_account_id": "00000000-0000-0000-0000-000000000000",
												"wholesale_price": 1,
												"wholesale_pack_size": 1,
												"wholesale_unit_label": "string",
												"wholesale_category_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"is_global": true,
												"global_ingredient_id": 1,
												"menu_visible": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item": "string",
										"visible": true,
										"recipe": true,
										"image_url": "string",
										"cogs_account_id": "00000000-0000-0000-0000-000000000000",
										"wholesale_price": 1,
										"wholesale_pack_size": 1,
										"wholesale_unit_label": "string",
										"wholesale_category_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"is_global": true,
										"global_ingredient_id": 1,
										"menu_visible": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item": "string",
											"visible": true,
											"recipe": true,
											"image_url": "string",
											"cogs_account_id": "00000000-0000-0000-0000-000000000000",
											"wholesale_price": 1,
											"wholesale_pack_size": 1,
											"wholesale_unit_label": "string",
											"wholesale_category_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"is_global": true,
											"global_ingredient_id": 1,
											"menu_visible": true
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"item_id": 1,
												"unit_id": 1,
												"delta_quantity": 1,
												"event_at": "2026-01-01T00:00:00.000Z",
												"source_type": "string",
												"source_ref": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"item_id": 1,
												"unit_id": 1,
												"delta_quantity": 1,
												"event_at": "2026-01-01T00:00:00.000Z",
												"source_type": "string",
												"source_ref": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"delta_quantity": 1,
										"event_at": "2026-01-01T00:00:00.000Z",
										"source_type": "string",
										"source_ref": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"delta_quantity": 1,
											"event_at": "2026-01-01T00:00:00.000Z",
											"source_type": "string",
											"source_ref": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"item_id": 1,
												"unit_id": 1,
												"delta_quantity": 1,
												"event_at": "2026-01-01T00:00:00.000Z",
												"source_type": "string",
												"source_ref": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"delta_quantity": 1,
										"event_at": "2026-01-01T00:00:00.000Z",
										"source_type": "string",
										"source_ref": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"delta_quantity": 1,
											"event_at": "2026-01-01T00:00:00.000Z",
											"source_type": "string",
											"source_ref": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"item_id": 1,
												"unit_id": 1,
												"delta_quantity": 1,
												"event_at": "2026-01-01T00:00:00.000Z",
												"source_type": "string",
												"source_ref": "string",
												"metadata": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"delta_quantity": 1,
										"event_at": "2026-01-01T00:00:00.000Z",
										"source_type": "string",
										"source_ref": "string",
										"metadata": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"delta_quantity": 1,
											"event_at": "2026-01-01T00:00:00.000Z",
											"source_type": "string",
											"source_ref": "string",
											"metadata": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"target": 1,
												"style": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"target": 1,
												"style": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"target": 1,
										"style": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"target": 1,
											"style": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"target": 1,
												"style": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"target": 1,
										"style": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"target": 1,
											"style": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"target": 1,
												"style": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"target": 1,
										"style": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"target": 1,
											"style": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"name": "string",
											"target": 1,
											"style": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"target": 1,
										"style": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"target": 1,
											"style": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"rpm_speed_1": 1,
												"rpm_speed_2": 1,
												"friction_factor": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"rpm_speed_1": 1,
												"rpm_speed_2": 1,
												"friction_factor": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"rpm_speed_1": 1,
										"rpm_speed_2": 1,
										"friction_factor": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"rpm_speed_1": 1,
											"rpm_speed_2": 1,
											"friction_factor": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"rpm_speed_1": 1,
												"rpm_speed_2": 1,
												"friction_factor": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"rpm_speed_1": 1,
										"rpm_speed_2": 1,
										"friction_factor": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"rpm_speed_1": 1,
											"rpm_speed_2": 1,
											"friction_factor": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"rpm_speed_1": 1,
												"rpm_speed_2": 1,
												"friction_factor": 1,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"rpm_speed_1": 1,
										"rpm_speed_2": 1,
										"friction_factor": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"rpm_speed_1": 1,
											"rpm_speed_2": 1,
											"friction_factor": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"rpm_speed_1": 1,
											"rpm_speed_2": 1,
											"friction_factor": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"rpm_speed_1": 1,
										"rpm_speed_2": 1,
										"friction_factor": 1,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"rpm_speed_1": 1,
											"rpm_speed_2": 1,
											"friction_factor": 1,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"nutrient_id": 1,
												"nutrient_name": "string",
												"unit_name": "string",
												"display_order": 1,
												"recommended_daily_value": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"nutrient_id": 1,
												"nutrient_name": "string",
												"unit_name": "string",
												"display_order": 1,
												"recommended_daily_value": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"nutrient_id": 1,
										"nutrient_name": "string",
										"unit_name": "string",
										"display_order": 1,
										"recommended_daily_value": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"nutrient_id": 1,
											"nutrient_name": "string",
											"unit_name": "string",
											"display_order": 1,
											"recommended_daily_value": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"nutrient_id": 1,
												"nutrient_name": "string",
												"unit_name": "string",
												"display_order": 1,
												"recommended_daily_value": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"nutrient_id": 1,
										"nutrient_name": "string",
										"unit_name": "string",
										"display_order": 1,
										"recommended_daily_value": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"nutrient_id": 1,
											"nutrient_name": "string",
											"unit_name": "string",
											"display_order": 1,
											"recommended_daily_value": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"nutrient_id": 1,
												"nutrient_name": "string",
												"unit_name": "string",
												"display_order": 1,
												"recommended_daily_value": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"nutrient_id": 1,
										"nutrient_name": "string",
										"unit_name": "string",
										"display_order": 1,
										"recommended_daily_value": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"nutrient_id": 1,
											"nutrient_name": "string",
											"unit_name": "string",
											"display_order": 1,
											"recommended_daily_value": 1
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"nutrient_id": 1,
												"amount": 1,
												"source": "string",
												"last_updated": "2026-01-01T00:00:00.000Z",
												"unit": 1,
												"serving_size": 1,
												"serving_size_unit": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"nutrient_id": 1,
												"amount": 1,
												"source": "string",
												"last_updated": "2026-01-01T00:00:00.000Z",
												"unit": 1,
												"serving_size": 1,
												"serving_size_unit": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"nutrient_id": 1,
										"amount": 1,
										"source": "string",
										"last_updated": "2026-01-01T00:00:00.000Z",
										"unit": 1,
										"serving_size": 1,
										"serving_size_unit": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"nutrient_id": 1,
											"amount": 1,
											"source": "string",
											"last_updated": "2026-01-01T00:00:00.000Z",
											"unit": 1,
											"serving_size": 1,
											"serving_size_unit": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"nutrient_id": 1,
												"amount": 1,
												"source": "string",
												"last_updated": "2026-01-01T00:00:00.000Z",
												"unit": 1,
												"serving_size": 1,
												"serving_size_unit": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"nutrient_id": 1,
										"amount": 1,
										"source": "string",
										"last_updated": "2026-01-01T00:00:00.000Z",
										"unit": 1,
										"serving_size": 1,
										"serving_size_unit": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"nutrient_id": 1,
											"amount": 1,
											"source": "string",
											"last_updated": "2026-01-01T00:00:00.000Z",
											"unit": 1,
											"serving_size": 1,
											"serving_size_unit": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"nutrient_id": 1,
												"amount": 1,
												"source": "string",
												"last_updated": "2026-01-01T00:00:00.000Z",
												"unit": 1,
												"serving_size": 1,
												"serving_size_unit": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"nutrient_id": 1,
										"amount": 1,
										"source": "string",
										"last_updated": "2026-01-01T00:00:00.000Z",
										"unit": 1,
										"serving_size": 1,
										"serving_size_unit": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"nutrient_id": 1,
											"amount": 1,
											"source": "string",
											"last_updated": "2026-01-01T00:00:00.000Z",
											"unit": 1,
											"serving_size": 1,
											"serving_size_unit": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"item_id": 1,
											"nutrient_id": 1,
											"amount": 1,
											"source": "string",
											"last_updated": "2026-01-01T00:00:00.000Z",
											"unit": 1,
											"serving_size": 1,
											"serving_size_unit": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"nutrient_id": 1,
										"amount": 1,
										"source": "string",
										"last_updated": "2026-01-01T00:00:00.000Z",
										"unit": 1,
										"serving_size": 1,
										"serving_size_unit": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"nutrient_id": 1,
											"amount": 1,
											"source": "string",
											"last_updated": "2026-01-01T00:00:00.000Z",
											"unit": 1,
											"serving_size": 1,
											"serving_size_unit": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"hourly_rate": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"hourly_rate": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"hourly_rate": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"hourly_rate": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"hourly_rate": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"hourly_rate": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"hourly_rate": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"hourly_rate": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"hourly_rate": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"hourly_rate": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"hourly_rate": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"hourly_rate": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"hourly_rate": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"global_hourly_rate": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"global_hourly_rate": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"global_hourly_rate": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"global_hourly_rate": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"global_hourly_rate": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"global_hourly_rate": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"global_hourly_rate": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"global_hourly_rate": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"global_hourly_rate": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"global_hourly_rate": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"global_hourly_rate": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"global_hourly_rate": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"global_hourly_rate": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"recipe_id": 1,
												"name": "string",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"sort_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"recipe_id": 1,
												"name": "string",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"sort_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"recipe_id": 1,
										"name": "string",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"sort_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"name": "string",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"sort_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"recipe_id": 1,
												"name": "string",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"sort_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"recipe_id": 1,
										"name": "string",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"sort_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"name": "string",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"sort_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"recipe_id": 1,
												"name": "string",
												"position_id": "00000000-0000-0000-0000-000000000000",
												"sort_order": 1,
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"recipe_id": 1,
										"name": "string",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"sort_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"name": "string",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"sort_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"name": "string",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"sort_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"recipe_id": 1,
										"name": "string",
										"position_id": "00000000-0000-0000-0000-000000000000",
										"sort_order": 1,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"name": "string",
											"position_id": "00000000-0000-0000-0000-000000000000",
											"sort_order": 1,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"task_id": "00000000-0000-0000-0000-000000000000",
												"duration_seconds": 1,
												"yield_quantity": 1,
												"excluded": true,
												"note": "string",
												"deleted_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"task_id": "00000000-0000-0000-0000-000000000000",
												"duration_seconds": 1,
												"yield_quantity": 1,
												"excluded": true,
												"note": "string",
												"deleted_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"task_id": "00000000-0000-0000-0000-000000000000",
										"duration_seconds": 1,
										"yield_quantity": 1,
										"excluded": true,
										"note": "string",
										"deleted_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"task_id": "00000000-0000-0000-0000-000000000000",
											"duration_seconds": 1,
											"yield_quantity": 1,
											"excluded": true,
											"note": "string",
											"deleted_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"task_id": "00000000-0000-0000-0000-000000000000",
												"duration_seconds": 1,
												"yield_quantity": 1,
												"excluded": true,
												"note": "string",
												"deleted_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"task_id": "00000000-0000-0000-0000-000000000000",
										"duration_seconds": 1,
										"yield_quantity": 1,
										"excluded": true,
										"note": "string",
										"deleted_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"task_id": "00000000-0000-0000-0000-000000000000",
											"duration_seconds": 1,
											"yield_quantity": 1,
											"excluded": true,
											"note": "string",
											"deleted_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"task_id": "00000000-0000-0000-0000-000000000000",
												"duration_seconds": 1,
												"yield_quantity": 1,
												"excluded": true,
												"note": "string",
												"deleted_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"task_id": "00000000-0000-0000-0000-000000000000",
										"duration_seconds": 1,
										"yield_quantity": 1,
										"excluded": true,
										"note": "string",
										"deleted_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"task_id": "00000000-0000-0000-0000-000000000000",
											"duration_seconds": 1,
											"yield_quantity": 1,
											"excluded": true,
											"note": "string",
											"deleted_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"task_id": "00000000-0000-0000-0000-000000000000",
											"duration_seconds": 1,
											"yield_quantity": 1,
											"excluded": true,
											"note": "string",
											"deleted_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"task_id": "00000000-0000-0000-0000-000000000000",
										"duration_seconds": 1,
										"yield_quantity": 1,
										"excluded": true,
										"note": "string",
										"deleted_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"task_id": "00000000-0000-0000-0000-000000000000",
											"duration_seconds": 1,
											"yield_quantity": 1,
											"excluded": true,
											"note": "string",
											"deleted_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"category": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"category": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"category": "string",
										"order": 1,
										"visible": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"category": "string",
											"order": 1,
											"visible": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"category": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"category": "string",
										"order": 1,
										"visible": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"category": "string",
											"order": 1,
											"visible": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"category": "string",
												"order": 1,
												"visible": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"category": "string",
										"order": 1,
										"visible": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"category": "string",
											"order": 1,
											"visible": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_version_id": 1,
												"source_component_id": 1,
												"item_id": 1,
												"quantity": 1,
												"unit_id": 1,
												"recipe_order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_version_id": 1,
												"source_component_id": 1,
												"item_id": 1,
												"quantity": 1,
												"unit_id": 1,
												"recipe_order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_version_id": 1,
										"source_component_id": 1,
										"item_id": 1,
										"quantity": 1,
										"unit_id": 1,
										"recipe_order": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_version_id": 1,
											"source_component_id": 1,
											"item_id": 1,
											"quantity": 1,
											"unit_id": 1,
											"recipe_order": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_version_id": 1,
												"source_component_id": 1,
												"item_id": 1,
												"quantity": 1,
												"unit_id": 1,
												"recipe_order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_version_id": 1,
										"source_component_id": 1,
										"item_id": 1,
										"quantity": 1,
										"unit_id": 1,
										"recipe_order": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_version_id": 1,
											"source_component_id": 1,
											"item_id": 1,
											"quantity": 1,
											"unit_id": 1,
											"recipe_order": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_version_id": 1,
												"source_component_id": 1,
												"item_id": 1,
												"quantity": 1,
												"unit_id": 1,
												"recipe_order": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_version_id": 1,
										"source_component_id": 1,
										"item_id": 1,
										"quantity": 1,
										"unit_id": 1,
										"recipe_order": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_version_id": 1,
											"source_component_id": 1,
											"item_id": 1,
											"quantity": 1,
											"unit_id": 1,
											"recipe_order": 1
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"item_id": 1,
												"unit_id": 1,
												"quantity": 1,
												"recipe_order": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"quantity": 1,
										"recipe_order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"quantity": 1,
										"recipe_order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"quantity": 1,
										"recipe_order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"item_id": 1,
										"unit_id": 1,
										"quantity": 1,
										"recipe_order": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"item_id": 1,
											"unit_id": 1,
											"quantity": 1,
											"recipe_order": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"location_id": 1,
												"retail_price": 1,
												"wholesale_price": 1,
												"preferred_price": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"retail_price_variants": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"location_id": 1,
												"retail_price": 1,
												"wholesale_price": 1,
												"preferred_price": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"retail_price_variants": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"location_id": 1,
										"retail_price": 1,
										"wholesale_price": 1,
										"preferred_price": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"retail_price_variants": ["string"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"location_id": 1,
											"retail_price": 1,
											"wholesale_price": 1,
											"preferred_price": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"retail_price_variants": ["string"]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"location_id": 1,
												"retail_price": 1,
												"wholesale_price": 1,
												"preferred_price": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"retail_price_variants": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"location_id": 1,
										"retail_price": 1,
										"wholesale_price": 1,
										"preferred_price": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"retail_price_variants": ["string"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"location_id": 1,
											"retail_price": 1,
											"wholesale_price": 1,
											"preferred_price": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"retail_price_variants": ["string"]
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"location_id": 1,
												"retail_price": 1,
												"wholesale_price": 1,
												"preferred_price": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"retail_price_variants": ["string"]
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"location_id": 1,
										"retail_price": 1,
										"wholesale_price": 1,
										"preferred_price": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"retail_price_variants": ["string"]
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"location_id": 1,
											"retail_price": 1,
											"wholesale_price": 1,
											"preferred_price": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"retail_price_variants": ["string"]
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"version": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_note": "string",
												"category_id": 1,
												"baker_percent": true,
												"directions": ["string"],
												"notes": "string",
												"planning_visible": true,
												"yield": 1,
												"batch": true,
												"retail_price": 1,
												"wholesale_price": 1,
												"nutrition_published": true,
												"bread_recipe": true,
												"bread_fermentation_time_minutes": 1,
												"bread_fermentation_temp_f": 1,
												"bread_mix_type": "string",
												"preferred_price": 1,
												"units_per_case": 1,
												"units_unit_id": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"version": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_note": "string",
												"category_id": 1,
												"baker_percent": true,
												"directions": ["string"],
												"notes": "string",
												"planning_visible": true,
												"yield": 1,
												"batch": true,
												"retail_price": 1,
												"wholesale_price": 1,
												"nutrition_published": true,
												"bread_recipe": true,
												"bread_fermentation_time_minutes": 1,
												"bread_fermentation_temp_f": 1,
												"bread_mix_type": "string",
												"preferred_price": 1,
												"units_per_case": 1,
												"units_unit_id": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"version": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"change_note": "string",
										"category_id": 1,
										"baker_percent": true,
										"directions": ["string"],
										"notes": "string",
										"planning_visible": true,
										"yield": 1,
										"batch": true,
										"retail_price": 1,
										"wholesale_price": 1,
										"nutrition_published": true,
										"bread_recipe": true,
										"bread_fermentation_time_minutes": 1,
										"bread_fermentation_temp_f": 1,
										"bread_mix_type": "string",
										"preferred_price": 1,
										"units_per_case": 1,
										"units_unit_id": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"version": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"change_note": "string",
											"category_id": 1,
											"baker_percent": true,
											"directions": ["string"],
											"notes": "string",
											"planning_visible": true,
											"yield": 1,
											"batch": true,
											"retail_price": 1,
											"wholesale_price": 1,
											"nutrition_published": true,
											"bread_recipe": true,
											"bread_fermentation_time_minutes": 1,
											"bread_fermentation_temp_f": 1,
											"bread_mix_type": "string",
											"preferred_price": 1,
											"units_per_case": 1,
											"units_unit_id": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"version": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_note": "string",
												"category_id": 1,
												"baker_percent": true,
												"directions": ["string"],
												"notes": "string",
												"planning_visible": true,
												"yield": 1,
												"batch": true,
												"retail_price": 1,
												"wholesale_price": 1,
												"nutrition_published": true,
												"bread_recipe": true,
												"bread_fermentation_time_minutes": 1,
												"bread_fermentation_temp_f": 1,
												"bread_mix_type": "string",
												"preferred_price": 1,
												"units_per_case": 1,
												"units_unit_id": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"version": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"change_note": "string",
										"category_id": 1,
										"baker_percent": true,
										"directions": ["string"],
										"notes": "string",
										"planning_visible": true,
										"yield": 1,
										"batch": true,
										"retail_price": 1,
										"wholesale_price": 1,
										"nutrition_published": true,
										"bread_recipe": true,
										"bread_fermentation_time_minutes": 1,
										"bread_fermentation_temp_f": 1,
										"bread_mix_type": "string",
										"preferred_price": 1,
										"units_per_case": 1,
										"units_unit_id": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"version": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"change_note": "string",
											"category_id": 1,
											"baker_percent": true,
											"directions": ["string"],
											"notes": "string",
											"planning_visible": true,
											"yield": 1,
											"batch": true,
											"retail_price": 1,
											"wholesale_price": 1,
											"nutrition_published": true,
											"bread_recipe": true,
											"bread_fermentation_time_minutes": 1,
											"bread_fermentation_temp_f": 1,
											"bread_mix_type": "string",
											"preferred_price": 1,
											"units_per_case": 1,
											"units_unit_id": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"version": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"change_note": "string",
												"category_id": 1,
												"baker_percent": true,
												"directions": ["string"],
												"notes": "string",
												"planning_visible": true,
												"yield": 1,
												"batch": true,
												"retail_price": 1,
												"wholesale_price": 1,
												"nutrition_published": true,
												"bread_recipe": true,
												"bread_fermentation_time_minutes": 1,
												"bread_fermentation_temp_f": 1,
												"bread_mix_type": "string",
												"preferred_price": 1,
												"units_per_case": 1,
												"units_unit_id": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"recipe_id": 1,
										"version": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"change_note": "string",
										"category_id": 1,
										"baker_percent": true,
										"directions": ["string"],
										"notes": "string",
										"planning_visible": true,
										"yield": 1,
										"batch": true,
										"retail_price": 1,
										"wholesale_price": 1,
										"nutrition_published": true,
										"bread_recipe": true,
										"bread_fermentation_time_minutes": 1,
										"bread_fermentation_temp_f": 1,
										"bread_mix_type": "string",
										"preferred_price": 1,
										"units_per_case": 1,
										"units_unit_id": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"recipe_id": 1,
											"version": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"change_note": "string",
											"category_id": 1,
											"baker_percent": true,
											"directions": ["string"],
											"notes": "string",
											"planning_visible": true,
											"yield": 1,
											"batch": true,
											"retail_price": 1,
											"wholesale_price": 1,
											"nutrition_published": true,
											"bread_recipe": true,
											"bread_fermentation_time_minutes": 1,
											"bread_fermentation_temp_f": 1,
											"bread_mix_type": "string",
											"preferred_price": 1,
											"units_per_case": 1,
											"units_unit_id": 1
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"square_item_name": "string",
												"variation_name": "string",
												"variation_key": "string",
												"suggested_recipe_id": 1,
												"confidence": 1,
												"match_method": "string",
												"status": "string",
												"source_seen_count": 1,
												"last_seen_at": "2026-01-01T00:00:00.000Z",
												"evidence": ["string"],
												"first_seen_at": "2026-01-01T00:00:00.000Z",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"square_item_name": "string",
												"variation_name": "string",
												"variation_key": "string",
												"suggested_recipe_id": 1,
												"confidence": 1,
												"match_method": "string",
												"status": "string",
												"source_seen_count": 1,
												"last_seen_at": "2026-01-01T00:00:00.000Z",
												"evidence": ["string"],
												"first_seen_at": "2026-01-01T00:00:00.000Z",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"square_item_key": "string",
										"square_item_name": "string",
										"variation_name": "string",
										"variation_key": "string",
										"suggested_recipe_id": 1,
										"confidence": 1,
										"match_method": "string",
										"status": "string",
										"source_seen_count": 1,
										"last_seen_at": "2026-01-01T00:00:00.000Z",
										"evidence": ["string"],
										"first_seen_at": "2026-01-01T00:00:00.000Z",
										"reviewed_by": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"square_item_key": "string",
											"square_item_name": "string",
											"variation_name": "string",
											"variation_key": "string",
											"suggested_recipe_id": 1,
											"confidence": 1,
											"match_method": "string",
											"status": "string",
											"source_seen_count": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"evidence": ["string"],
											"first_seen_at": "2026-01-01T00:00:00.000Z",
											"reviewed_by": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"square_item_name": "string",
												"variation_name": "string",
												"variation_key": "string",
												"suggested_recipe_id": 1,
												"confidence": 1,
												"match_method": "string",
												"status": "string",
												"source_seen_count": 1,
												"last_seen_at": "2026-01-01T00:00:00.000Z",
												"evidence": ["string"],
												"first_seen_at": "2026-01-01T00:00:00.000Z",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"square_item_key": "string",
										"square_item_name": "string",
										"variation_name": "string",
										"variation_key": "string",
										"suggested_recipe_id": 1,
										"confidence": 1,
										"match_method": "string",
										"status": "string",
										"source_seen_count": 1,
										"last_seen_at": "2026-01-01T00:00:00.000Z",
										"evidence": ["string"],
										"first_seen_at": "2026-01-01T00:00:00.000Z",
										"reviewed_by": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"square_item_key": "string",
											"square_item_name": "string",
											"variation_name": "string",
											"variation_key": "string",
											"suggested_recipe_id": 1,
											"confidence": 1,
											"match_method": "string",
											"status": "string",
											"source_seen_count": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"evidence": ["string"],
											"first_seen_at": "2026-01-01T00:00:00.000Z",
											"reviewed_by": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"square_item_name": "string",
												"variation_name": "string",
												"variation_key": "string",
												"suggested_recipe_id": 1,
												"confidence": 1,
												"match_method": "string",
												"status": "string",
												"source_seen_count": 1,
												"last_seen_at": "2026-01-01T00:00:00.000Z",
												"evidence": ["string"],
												"first_seen_at": "2026-01-01T00:00:00.000Z",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"square_item_key": "string",
										"square_item_name": "string",
										"variation_name": "string",
										"variation_key": "string",
										"suggested_recipe_id": 1,
										"confidence": 1,
										"match_method": "string",
										"status": "string",
										"source_seen_count": 1,
										"last_seen_at": "2026-01-01T00:00:00.000Z",
										"evidence": ["string"],
										"first_seen_at": "2026-01-01T00:00:00.000Z",
										"reviewed_by": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"square_item_key": "string",
											"square_item_name": "string",
											"variation_name": "string",
											"variation_key": "string",
											"suggested_recipe_id": 1,
											"confidence": 1,
											"match_method": "string",
											"status": "string",
											"source_seen_count": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"evidence": ["string"],
											"first_seen_at": "2026-01-01T00:00:00.000Z",
											"reviewed_by": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"variation_name": "string",
												"variation_key": "string",
												"recipe_id": 1,
												"quantity_per_sale": 1,
												"quantity_unit_id": 1,
												"deplete_subrecipes": true,
												"track_parent_inventory": true,
												"active": true,
												"square_item_name": "string",
												"confidence": 1,
												"match_method": "string",
												"notes": "string",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"variation_name": "string",
												"variation_key": "string",
												"recipe_id": 1,
												"quantity_per_sale": 1,
												"quantity_unit_id": 1,
												"deplete_subrecipes": true,
												"track_parent_inventory": true,
												"active": true,
												"square_item_name": "string",
												"confidence": 1,
												"match_method": "string",
												"notes": "string",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"square_item_key": "string",
										"variation_name": "string",
										"variation_key": "string",
										"recipe_id": 1,
										"quantity_per_sale": 1,
										"quantity_unit_id": 1,
										"deplete_subrecipes": true,
										"track_parent_inventory": true,
										"active": true,
										"square_item_name": "string",
										"confidence": 1,
										"match_method": "string",
										"notes": "string",
										"reviewed_by": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"square_item_key": "string",
											"variation_name": "string",
											"variation_key": "string",
											"recipe_id": 1,
											"quantity_per_sale": 1,
											"quantity_unit_id": 1,
											"deplete_subrecipes": true,
											"track_parent_inventory": true,
											"active": true,
											"square_item_name": "string",
											"confidence": 1,
											"match_method": "string",
											"notes": "string",
											"reviewed_by": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"variation_name": "string",
												"variation_key": "string",
												"recipe_id": 1,
												"quantity_per_sale": 1,
												"quantity_unit_id": 1,
												"deplete_subrecipes": true,
												"track_parent_inventory": true,
												"active": true,
												"square_item_name": "string",
												"confidence": 1,
												"match_method": "string",
												"notes": "string",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"square_item_key": "string",
										"variation_name": "string",
										"variation_key": "string",
										"recipe_id": 1,
										"quantity_per_sale": 1,
										"quantity_unit_id": 1,
										"deplete_subrecipes": true,
										"track_parent_inventory": true,
										"active": true,
										"square_item_name": "string",
										"confidence": 1,
										"match_method": "string",
										"notes": "string",
										"reviewed_by": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"square_item_key": "string",
											"variation_name": "string",
											"variation_key": "string",
											"recipe_id": 1,
											"quantity_per_sale": 1,
											"quantity_unit_id": 1,
											"deplete_subrecipes": true,
											"track_parent_inventory": true,
											"active": true,
											"square_item_name": "string",
											"confidence": 1,
											"match_method": "string",
											"notes": "string",
											"reviewed_by": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"square_item_key": "string",
												"variation_name": "string",
												"variation_key": "string",
												"recipe_id": 1,
												"quantity_per_sale": 1,
												"quantity_unit_id": 1,
												"deplete_subrecipes": true,
												"track_parent_inventory": true,
												"active": true,
												"square_item_name": "string",
												"confidence": 1,
												"match_method": "string",
												"notes": "string",
												"reviewed_by": "00000000-0000-0000-0000-000000000000",
												"reviewed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"square_item_key": "string",
										"variation_name": "string",
										"variation_key": "string",
										"recipe_id": 1,
										"quantity_per_sale": 1,
										"quantity_unit_id": 1,
										"deplete_subrecipes": true,
										"track_parent_inventory": true,
										"active": true,
										"square_item_name": "string",
										"confidence": 1,
										"match_method": "string",
										"notes": "string",
										"reviewed_by": "00000000-0000-0000-0000-000000000000",
										"reviewed_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"square_item_key": "string",
											"variation_name": "string",
											"variation_key": "string",
											"recipe_id": 1,
											"quantity_per_sale": 1,
											"quantity_unit_id": 1,
											"deplete_subrecipes": true,
											"track_parent_inventory": true,
											"active": true,
											"square_item_name": "string",
											"confidence": 1,
											"match_method": "string",
											"notes": "string",
											"reviewed_by": "00000000-0000-0000-0000-000000000000",
											"reviewed_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"sub_ingredients": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"sub_ingredients": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"sub_ingredients": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"sub_ingredients": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"sub_ingredients": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"sub_ingredients": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"sub_ingredients": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"item_id": 1,
												"sub_ingredients": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"sub_ingredients": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"sub_ingredients": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"item_id": 1,
											"sub_ingredients": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"item_id": 1,
										"sub_ingredients": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"item_id": 1,
											"sub_ingredients": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"unitName": "string",
												"unitAbbreviation": "string",
												"visible": true,
												"conversionFactor": 1,
												"nutrient": true,
												"metricUnit": 1,
												"standard_unit": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"unitName": "string",
												"unitAbbreviation": "string",
												"visible": true,
												"conversionFactor": 1,
												"nutrient": true,
												"metricUnit": 1,
												"standard_unit": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"unitName": "string",
										"unitAbbreviation": "string",
										"visible": true,
										"conversionFactor": 1,
										"nutrient": true,
										"metricUnit": 1,
										"standard_unit": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"unitName": "string",
											"unitAbbreviation": "string",
											"visible": true,
											"conversionFactor": 1,
											"nutrient": true,
											"metricUnit": 1,
											"standard_unit": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"unitName": "string",
												"unitAbbreviation": "string",
												"visible": true,
												"conversionFactor": 1,
												"nutrient": true,
												"metricUnit": 1,
												"standard_unit": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"unitName": "string",
										"unitAbbreviation": "string",
										"visible": true,
										"conversionFactor": 1,
										"nutrient": true,
										"metricUnit": 1,
										"standard_unit": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"unitName": "string",
											"unitAbbreviation": "string",
											"visible": true,
											"conversionFactor": 1,
											"nutrient": true,
											"metricUnit": 1,
											"standard_unit": true
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"unitName": "string",
												"unitAbbreviation": "string",
												"visible": true,
												"conversionFactor": 1,
												"nutrient": true,
												"metricUnit": 1,
												"standard_unit": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"unitName": "string",
										"unitAbbreviation": "string",
										"visible": true,
										"conversionFactor": 1,
										"nutrient": true,
										"metricUnit": 1,
										"standard_unit": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"unitName": "string",
											"unitAbbreviation": "string",
											"visible": true,
											"conversionFactor": 1,
											"nutrient": true,
											"metricUnit": 1,
											"standard_unit": true
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"location_id": 1,
												"active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"restricted": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"location_id": 1,
												"active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"restricted": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"location_id": 1,
										"active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"restricted": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"location_id": 1,
											"active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"restricted": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"location_id": 1,
												"active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"restricted": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"location_id": 1,
										"active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"restricted": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"location_id": 1,
											"active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"restricted": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"location_id": 1,
												"active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"restricted": true,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"location_id": 1,
										"active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"restricted": true,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"location_id": 1,
											"active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"restricted": true,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"required": true,
												"weight": 1,
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"required": true,
												"weight": 1,
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"required": true,
										"weight": 1,
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"required": true,
											"weight": 1,
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"required": true,
												"weight": 1,
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"required": true,
										"weight": 1,
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"required": true,
											"weight": 1,
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"category_id": "00000000-0000-0000-0000-000000000000",
												"title": "string",
												"description": "string",
												"required": true,
												"weight": 1,
												"display_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"required": true,
										"weight": 1,
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"required": true,
											"weight": 1,
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"required": true,
											"weight": 1,
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"category_id": "00000000-0000-0000-0000-000000000000",
										"title": "string",
										"description": "string",
										"required": true,
										"weight": 1,
										"display_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"category_id": "00000000-0000-0000-0000-000000000000",
											"title": "string",
											"description": "string",
											"required": true,
											"weight": 1,
											"display_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"item_id": "00000000-0000-0000-0000-000000000000",
												"passed": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"item_id": "00000000-0000-0000-0000-000000000000",
												"passed": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"item_id": "00000000-0000-0000-0000-000000000000",
										"passed": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"item_id": "00000000-0000-0000-0000-000000000000",
											"passed": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"item_id": "00000000-0000-0000-0000-000000000000",
												"passed": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"item_id": "00000000-0000-0000-0000-000000000000",
										"passed": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"item_id": "00000000-0000-0000-0000-000000000000",
											"passed": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"item_id": "00000000-0000-0000-0000-000000000000",
												"passed": true,
												"notes": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"item_id": "00000000-0000-0000-0000-000000000000",
										"passed": true,
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"item_id": "00000000-0000-0000-0000-000000000000",
											"passed": true,
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"total_items": 1,
												"items_passed": 1,
												"items_flagged": 1,
												"score_percent": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"total_items": 1,
												"items_passed": 1,
												"items_flagged": 1,
												"score_percent": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspected_at": "2026-01-01T00:00:00.000Z",
										"total_items": 1,
										"items_passed": 1,
										"items_flagged": 1,
										"score_percent": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspected_at": "2026-01-01T00:00:00.000Z",
											"total_items": 1,
											"items_passed": 1,
											"items_flagged": 1,
											"score_percent": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"total_items": 1,
												"items_passed": 1,
												"items_flagged": 1,
												"score_percent": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspected_at": "2026-01-01T00:00:00.000Z",
										"total_items": 1,
										"items_passed": 1,
										"items_flagged": 1,
										"score_percent": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspected_at": "2026-01-01T00:00:00.000Z",
											"total_items": 1,
											"items_passed": 1,
											"items_flagged": 1,
											"score_percent": 1
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"inspection_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"total_items": 1,
												"items_passed": 1,
												"items_flagged": 1,
												"score_percent": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"inspection_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"inspected_at": "2026-01-01T00:00:00.000Z",
										"total_items": 1,
										"items_passed": 1,
										"items_flagged": 1,
										"score_percent": 1
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"inspection_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"inspected_at": "2026-01-01T00:00:00.000Z",
											"total_items": 1,
											"items_passed": 1,
											"items_flagged": 1,
											"score_percent": 1
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"inspected_by": "00000000-0000-0000-0000-000000000000",
												"overall_notes": "string",
												"total_items": 1,
												"items_passed": 1,
												"score_percent": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"summary": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"inspected_by": "00000000-0000-0000-0000-000000000000",
												"overall_notes": "string",
												"total_items": 1,
												"items_passed": 1,
												"score_percent": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"summary": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"inspected_at": "2026-01-01T00:00:00.000Z",
										"inspected_by": "00000000-0000-0000-0000-000000000000",
										"overall_notes": "string",
										"total_items": 1,
										"items_passed": 1,
										"score_percent": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"summary": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"inspected_at": "2026-01-01T00:00:00.000Z",
											"inspected_by": "00000000-0000-0000-0000-000000000000",
											"overall_notes": "string",
											"total_items": 1,
											"items_passed": 1,
											"score_percent": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"summary": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"inspected_by": "00000000-0000-0000-0000-000000000000",
												"overall_notes": "string",
												"total_items": 1,
												"items_passed": 1,
												"score_percent": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"summary": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"inspected_at": "2026-01-01T00:00:00.000Z",
										"inspected_by": "00000000-0000-0000-0000-000000000000",
										"overall_notes": "string",
										"total_items": 1,
										"items_passed": 1,
										"score_percent": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"summary": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"inspected_at": "2026-01-01T00:00:00.000Z",
											"inspected_by": "00000000-0000-0000-0000-000000000000",
											"overall_notes": "string",
											"total_items": 1,
											"items_passed": 1,
											"score_percent": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"summary": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"checklist_id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"inspected_at": "2026-01-01T00:00:00.000Z",
												"inspected_by": "00000000-0000-0000-0000-000000000000",
												"overall_notes": "string",
												"total_items": 1,
												"items_passed": 1,
												"score_percent": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"summary": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"checklist_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"inspected_at": "2026-01-01T00:00:00.000Z",
										"inspected_by": "00000000-0000-0000-0000-000000000000",
										"overall_notes": "string",
										"total_items": 1,
										"items_passed": 1,
										"score_percent": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"summary": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"checklist_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"inspected_at": "2026-01-01T00:00:00.000Z",
											"inspected_by": "00000000-0000-0000-0000-000000000000",
											"overall_notes": "string",
											"total_items": 1,
											"items_passed": 1,
											"score_percent": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"summary": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"frequency": "string",
												"interval": 1,
												"day_of_month": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"days_of_week": ["string"],
												"week_of_month": ["string"],
												"exclusion_dates": ["2026-01-01"],
												"end_type": "string",
												"end_occurrences": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"frequency": "string",
												"interval": 1,
												"day_of_month": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"days_of_week": ["string"],
												"week_of_month": ["string"],
												"exclusion_dates": ["2026-01-01"],
												"end_type": "string",
												"end_occurrences": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"frequency": "string",
										"interval": 1,
										"day_of_month": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"days_of_week": ["string"],
										"week_of_month": ["string"],
										"exclusion_dates": ["2026-01-01"],
										"end_type": "string",
										"end_occurrences": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"frequency": "string",
											"interval": 1,
											"day_of_month": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"days_of_week": ["string"],
											"week_of_month": ["string"],
											"exclusion_dates": ["2026-01-01"],
											"end_type": "string",
											"end_occurrences": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"frequency": "string",
												"interval": 1,
												"day_of_month": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"days_of_week": ["string"],
												"week_of_month": ["string"],
												"exclusion_dates": ["2026-01-01"],
												"end_type": "string",
												"end_occurrences": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"frequency": "string",
										"interval": 1,
										"day_of_month": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"days_of_week": ["string"],
										"week_of_month": ["string"],
										"exclusion_dates": ["2026-01-01"],
										"end_type": "string",
										"end_occurrences": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"frequency": "string",
											"interval": 1,
											"day_of_month": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"days_of_week": ["string"],
											"week_of_month": ["string"],
											"exclusion_dates": ["2026-01-01"],
											"end_type": "string",
											"end_occurrences": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"frequency": "string",
												"interval": 1,
												"day_of_month": 1,
												"start_date": "2026-01-01",
												"end_date": "2026-01-01",
												"days_of_week": ["string"],
												"week_of_month": ["string"],
												"exclusion_dates": ["2026-01-01"],
												"end_type": "string",
												"end_occurrences": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"frequency": "string",
										"interval": 1,
										"day_of_month": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"days_of_week": ["string"],
										"week_of_month": ["string"],
										"exclusion_dates": ["2026-01-01"],
										"end_type": "string",
										"end_occurrences": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"frequency": "string",
											"interval": 1,
											"day_of_month": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"days_of_week": ["string"],
											"week_of_month": ["string"],
											"exclusion_dates": ["2026-01-01"],
											"end_type": "string",
											"end_occurrences": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"frequency": "string",
											"interval": 1,
											"day_of_month": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"days_of_week": ["string"],
											"week_of_month": ["string"],
											"exclusion_dates": ["2026-01-01"],
											"end_type": "string",
											"end_occurrences": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"frequency": "string",
										"interval": 1,
										"day_of_month": 1,
										"start_date": "2026-01-01",
										"end_date": "2026-01-01",
										"days_of_week": ["string"],
										"week_of_month": ["string"],
										"exclusion_dates": ["2026-01-01"],
										"end_type": "string",
										"end_occurrences": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"frequency": "string",
											"interval": 1,
											"day_of_month": 1,
											"start_date": "2026-01-01",
											"end_date": "2026-01-01",
											"days_of_week": ["string"],
											"week_of_month": ["string"],
											"exclusion_dates": ["2026-01-01"],
											"end_type": "string",
											"end_occurrences": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"location_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"location_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"location_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"location_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"location_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"location_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"location_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"location_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"location_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"location_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"title": "string",
											"location_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"location_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"location_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"user_id": "00000000-0000-0000-0000-000000000000",
												"note": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"note": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"note": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"priority": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"priority": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"priority": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"priority": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"priority": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"priority": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"priority": "string"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"priority": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"priority": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"priority": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"description": "string",
												"location_id": 1,
												"assigned_to": "00000000-0000-0000-0000-000000000000",
												"requires_review": true,
												"recurring_pattern_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"list_order": 1,
												"priority_id": 1,
												"parent_task_id": 1,
												"is_template": true,
												"due_date": "2026-01-01",
												"area_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"description": "string",
												"location_id": 1,
												"assigned_to": "00000000-0000-0000-0000-000000000000",
												"requires_review": true,
												"recurring_pattern_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"list_order": 1,
												"priority_id": 1,
												"parent_task_id": 1,
												"is_template": true,
												"due_date": "2026-01-01",
												"area_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"description": "string",
										"location_id": 1,
										"assigned_to": "00000000-0000-0000-0000-000000000000",
										"requires_review": true,
										"recurring_pattern_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"list_order": 1,
										"priority_id": 1,
										"parent_task_id": 1,
										"is_template": true,
										"due_date": "2026-01-01",
										"area_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"description": "string",
											"location_id": 1,
											"assigned_to": "00000000-0000-0000-0000-000000000000",
											"requires_review": true,
											"recurring_pattern_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"list_order": 1,
											"priority_id": 1,
											"parent_task_id": 1,
											"is_template": true,
											"due_date": "2026-01-01",
											"area_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"description": "string",
												"location_id": 1,
												"assigned_to": "00000000-0000-0000-0000-000000000000",
												"requires_review": true,
												"recurring_pattern_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"list_order": 1,
												"priority_id": 1,
												"parent_task_id": 1,
												"is_template": true,
												"due_date": "2026-01-01",
												"area_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"description": "string",
										"location_id": 1,
										"assigned_to": "00000000-0000-0000-0000-000000000000",
										"requires_review": true,
										"recurring_pattern_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"list_order": 1,
										"priority_id": 1,
										"parent_task_id": 1,
										"is_template": true,
										"due_date": "2026-01-01",
										"area_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"description": "string",
											"location_id": 1,
											"assigned_to": "00000000-0000-0000-0000-000000000000",
											"requires_review": true,
											"recurring_pattern_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"list_order": 1,
											"priority_id": 1,
											"parent_task_id": 1,
											"is_template": true,
											"due_date": "2026-01-01",
											"area_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"title": "string",
												"description": "string",
												"location_id": 1,
												"assigned_to": "00000000-0000-0000-0000-000000000000",
												"requires_review": true,
												"recurring_pattern_id": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"list_order": 1,
												"priority_id": 1,
												"parent_task_id": 1,
												"is_template": true,
												"due_date": "2026-01-01",
												"area_id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"description": "string",
										"location_id": 1,
										"assigned_to": "00000000-0000-0000-0000-000000000000",
										"requires_review": true,
										"recurring_pattern_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"list_order": 1,
										"priority_id": 1,
										"parent_task_id": 1,
										"is_template": true,
										"due_date": "2026-01-01",
										"area_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"description": "string",
											"location_id": 1,
											"assigned_to": "00000000-0000-0000-0000-000000000000",
											"requires_review": true,
											"recurring_pattern_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"list_order": 1,
											"priority_id": 1,
											"parent_task_id": 1,
											"is_template": true,
											"due_date": "2026-01-01",
											"area_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"title": "string",
											"description": "string",
											"location_id": 1,
											"assigned_to": "00000000-0000-0000-0000-000000000000",
											"requires_review": true,
											"recurring_pattern_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"list_order": 1,
											"priority_id": 1,
											"parent_task_id": 1,
											"is_template": true,
											"due_date": "2026-01-01",
											"area_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"title": "string",
										"description": "string",
										"location_id": 1,
										"assigned_to": "00000000-0000-0000-0000-000000000000",
										"requires_review": true,
										"recurring_pattern_id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"list_order": 1,
										"priority_id": 1,
										"parent_task_id": 1,
										"is_template": true,
										"due_date": "2026-01-01",
										"area_id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"title": "string",
											"description": "string",
											"location_id": 1,
											"assigned_to": "00000000-0000-0000-0000-000000000000",
											"requires_review": true,
											"recurring_pattern_id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"list_order": 1,
											"priority_id": 1,
											"parent_task_id": 1,
											"is_template": true,
											"due_date": "2026-01-01",
											"area_id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"completed_by": "00000000-0000-0000-0000-000000000000",
												"completed_at": "2026-01-01T00:00:00.000Z",
												"note": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"completed_by": "00000000-0000-0000-0000-000000000000",
												"completed_at": "2026-01-01T00:00:00.000Z",
												"note": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"completed_by": "00000000-0000-0000-0000-000000000000",
										"completed_at": "2026-01-01T00:00:00.000Z",
										"note": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"completed_at": "2026-01-01T00:00:00.000Z",
											"note": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"completed_by": "00000000-0000-0000-0000-000000000000",
												"completed_at": "2026-01-01T00:00:00.000Z",
												"note": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"completed_by": "00000000-0000-0000-0000-000000000000",
										"completed_at": "2026-01-01T00:00:00.000Z",
										"note": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"completed_at": "2026-01-01T00:00:00.000Z",
											"note": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"task_id": 1,
												"completed_by": "00000000-0000-0000-0000-000000000000",
												"completed_at": "2026-01-01T00:00:00.000Z",
												"note": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"completed_by": "00000000-0000-0000-0000-000000000000",
										"completed_at": "2026-01-01T00:00:00.000Z",
										"note": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"completed_at": "2026-01-01T00:00:00.000Z",
											"note": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"task_id": 1,
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"completed_at": "2026-01-01T00:00:00.000Z",
											"note": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"task_id": 1,
										"completed_by": "00000000-0000-0000-0000-000000000000",
										"completed_at": "2026-01-01T00:00:00.000Z",
										"note": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"task_id": 1,
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"completed_at": "2026-01-01T00:00:00.000Z",
											"note": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingAccounts"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"code": "string",
												"name": "string",
												"type": "string",
												"parent_id": "00000000-0000-0000-0000-000000000000",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingAccounts"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"code": "string",
											"name": "string",
											"type": "string",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingAccounts"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingAccounts"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"code": "string",
										"name": "string",
										"type": "string",
										"parent_id": "00000000-0000-0000-0000-000000000000",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"code": "string",
											"name": "string",
											"type": "string",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingAccounts"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"code": "string",
												"name": "string",
												"type": "string",
												"parent_id": "00000000-0000-0000-0000-000000000000",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingAccounts"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"code": "string",
											"name": "string",
											"type": "string",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingAccounts"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingAccounts"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"code": "string",
										"name": "string",
										"type": "string",
										"parent_id": "00000000-0000-0000-0000-000000000000",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"code": "string",
											"name": "string",
											"type": "string",
											"parent_id": "00000000-0000-0000-0000-000000000000",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/Location"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"name": "string",
											"visible": true,
											"hub": true,
											"aggregate_orders": true,
											"street1": "string",
											"street2": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone": "string",
											"email": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"name": "string",
										"visible": true,
										"hub": true,
										"aggregate_orders": true,
										"street1": "string",
										"street2": "string",
										"city": "string",
										"state": "string",
										"zip": "string",
										"phone": "string",
										"email": "string",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"name": "string",
											"visible": true,
											"hub": true,
											"aggregate_orders": true,
											"street1": "string",
											"street2": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone": "string",
											"email": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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/link": {
			"post": {
				"tags": ["accounting"],
				"summary": "Upsert link",
				"operationId": "postApiV1AccountingArLink",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountingTransactions"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"posting_date": "2026-01-01",
											"memo": "string",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"vendor_id": "00000000-0000-0000-0000-000000000000",
											"reference": "string",
											"source": "string",
											"is_posted": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingTransactions"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingTransactions"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"posting_date": "2026-01-01",
										"memo": "string",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"vendor_id": "00000000-0000-0000-0000-000000000000",
										"reference": "string",
										"source": "string",
										"is_posted": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"posting_date": "2026-01-01",
											"memo": "string",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"vendor_id": "00000000-0000-0000-0000-000000000000",
											"reference": "string",
											"source": "string",
											"is_posted": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/ExpenseDocuments"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"uploaded_by": "00000000-0000-0000-0000-000000000000",
										"storage_bucket": "string",
										"storage_path": "string",
										"original_filename": "string",
										"mime_type": "string",
										"size_bytes": 1,
										"sha256": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/ExpenseDocuments"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"uploaded_by": "00000000-0000-0000-0000-000000000000",
										"storage_bucket": "string",
										"storage_path": "string",
										"original_filename": "string",
										"mime_type": "string",
										"size_bytes": 1,
										"sha256": "string",
										"status": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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}/posted-transactions": {
			"get": {
				"tags": ["accounting"],
				"summary": "List posted transactions",
				"operationId": "getApiV1AccountingAutomationByIdPosted-transactions",
				"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": []
					}
				]
			}
		},
		"/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": {
									"$ref": "#/components/schemas/ExpenseDocumentExtractions"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"method": "string",
											"extracted_text": "string",
											"extracted_json": {
												"text_length": 1
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"expense_document_id": "00000000-0000-0000-0000-000000000000",
										"method": "string",
										"extracted_text": "string",
										"extracted_json": {
											"text_length": 1
										},
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"expense_document_id": "00000000-0000-0000-0000-000000000000",
											"method": "string",
											"extracted_text": "string",
											"extracted_json": {
												"text_length": 1
											},
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/GoogleDriveConnections"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": "string",
											"token_cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": "string",
										"token_cipher_algo": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": "string",
											"token_cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/GoogleDriveConnections"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": "string",
												"token_cipher_algo": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/ExpenseDocuments"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"uploaded_by": "00000000-0000-0000-0000-000000000000",
												"storage_bucket": "string",
												"storage_path": "string",
												"original_filename": "string",
												"mime_type": "string",
												"size_bytes": 1,
												"sha256": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/ExpenseDocuments"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"uploaded_by": "00000000-0000-0000-0000-000000000000",
												"storage_bucket": "string",
												"storage_path": "string",
												"original_filename": "string",
												"mime_type": "string",
												"size_bytes": 1,
												"sha256": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/ExpenseDocuments"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"uploaded_by": "00000000-0000-0000-0000-000000000000",
											"storage_bucket": "string",
											"storage_path": "string",
											"original_filename": "string",
											"mime_type": "string",
											"size_bytes": 1,
											"sha256": "string",
											"status": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/ExpenseDocuments"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/ExpenseDocuments"
										}
									}
								]
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingBankFeedItems"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"source_connection_id": "00000000-0000-0000-0000-000000000000",
												"source_account_id": "string",
												"source_transaction_id": "string",
												"source_hash": "string",
												"occurred_at": "2026-01-01T00:00:00.000Z",
												"amount": 1,
												"currency": "string",
												"description": "string",
												"raw": {
													"filename": "string",
													"fit_id": "string",
													"memo": "string",
													"name": "string",
													"posted_at": "string",
													"trn_type": "string"
												},
												"status": "string",
												"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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}/ai-draft": {
			"post": {
				"tags": ["accounting"],
				"summary": "Upsert ai draft",
				"operationId": "postApiV1AccountingBank-feedsByIdAi-draft",
				"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}/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": {
									"$ref": "#/components/schemas/AccountingBankFeedItems"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_connection_id": "00000000-0000-0000-0000-000000000000",
											"source_account_id": "string",
											"source_transaction_id": "string",
											"source_hash": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"amount": 1,
											"currency": "string",
											"description": "string",
											"raw": {
												"filename": "string",
												"fit_id": "string",
												"memo": "string",
												"name": "string",
												"posted_at": "string",
												"trn_type": "string"
											},
											"status": "string",
											"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedItems"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedItems"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"source_connection_id": "00000000-0000-0000-0000-000000000000",
										"source_account_id": "string",
										"source_transaction_id": "string",
										"source_hash": "string",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"amount": 1,
										"currency": "string",
										"description": "string",
										"raw": {
											"filename": "string",
											"fit_id": "string",
											"memo": "string",
											"name": "string",
											"posted_at": "string",
											"trn_type": "string"
										},
										"status": "string",
										"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_connection_id": "00000000-0000-0000-0000-000000000000",
											"source_account_id": "string",
											"source_transaction_id": "string",
											"source_hash": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"amount": 1,
											"currency": "string",
											"description": "string",
											"raw": {
												"filename": "string",
												"fit_id": "string",
												"memo": "string",
												"name": "string",
												"posted_at": "string",
												"trn_type": "string"
											},
											"status": "string",
											"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingBankFeedItems"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_connection_id": "00000000-0000-0000-0000-000000000000",
											"source_account_id": "string",
											"source_transaction_id": "string",
											"source_hash": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"amount": 1,
											"currency": "string",
											"description": "string",
											"raw": {
												"filename": "string",
												"fit_id": "string",
												"memo": "string",
												"name": "string",
												"posted_at": "string",
												"trn_type": "string"
											},
											"status": "string",
											"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedItems"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedItems"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"source_connection_id": "00000000-0000-0000-0000-000000000000",
										"source_account_id": "string",
										"source_transaction_id": "string",
										"source_hash": "string",
										"occurred_at": "2026-01-01T00:00:00.000Z",
										"amount": 1,
										"currency": "string",
										"description": "string",
										"raw": {
											"filename": "string",
											"fit_id": "string",
											"memo": "string",
											"name": "string",
											"posted_at": "string",
											"trn_type": "string"
										},
										"status": "string",
										"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_connection_id": "00000000-0000-0000-0000-000000000000",
											"source_account_id": "string",
											"source_transaction_id": "string",
											"source_hash": "string",
											"occurred_at": "2026-01-01T00:00:00.000Z",
											"amount": 1,
											"currency": "string",
											"description": "string",
											"raw": {
												"filename": "string",
												"fit_id": "string",
												"memo": "string",
												"name": "string",
												"posted_at": "string",
												"trn_type": "string"
											},
											"status": "string",
											"matched_accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/api/v1/accounting/bank-feeds/ai-draft": {
			"post": {
				"tags": ["accounting"],
				"summary": "Upsert ai draft",
				"operationId": "postApiV1AccountingBank-feedsAi-draft",
				"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/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": {
									"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_account_id": "string",
											"source_bank_id": "string",
											"source_bank_name": "string",
											"source_account_type": "string",
											"source_account_label": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"last_import_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
										}
									}
								]
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"source": "string",
												"source_account_id": "string",
												"source_bank_id": "string",
												"source_bank_name": "string",
												"source_account_type": "string",
												"source_account_label": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"last_import_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_account_id": "string",
											"source_bank_id": "string",
											"source_bank_name": "string",
											"source_account_type": "string",
											"source_account_label": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"last_import_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedAccountMappings"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"source": "string",
										"source_account_id": "string",
										"source_bank_id": "string",
										"source_bank_name": "string",
										"source_account_type": "string",
										"source_account_label": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"last_import_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"source": "string",
											"source_account_id": "string",
											"source_bank_id": "string",
											"source_bank_name": "string",
											"source_account_type": "string",
											"source_account_label": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"last_import_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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": {
									"$ref": "#/components/schemas/Profiles"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/Profiles"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"user_id": "00000000-0000-0000-0000-000000000000",
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"user_id": "00000000-0000-0000-0000-000000000000",
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingSquarePayoutEntries"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_entry_id": "string",
											"payout_id": "string",
											"type": "string",
											"payment_id": "string",
											"refund_id": "string",
											"gross_cents": 1,
											"fee_cents": 1,
											"net_cents": 1,
											"effective_at": "2026-01-01T00:00:00.000Z",
											"raw_entry": {
												"effectiveAt": "string",
												"feeAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"grossAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"id": "string",
												"netAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"payoutId": "string",
												"type": "string",
												"typeSquareCapitalPaymentDetails": {
													"paymentId": "string"
												}
											}
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"payout_entry_id": "string",
										"payout_id": "string",
										"type": "string",
										"payment_id": "string",
										"refund_id": "string",
										"gross_cents": 1,
										"fee_cents": 1,
										"net_cents": 1,
										"effective_at": "2026-01-01T00:00:00.000Z",
										"raw_entry": {
											"effectiveAt": "string",
											"feeAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"grossAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"id": "string",
											"netAmountMoney": {
												"amount": "string",
												"currency_code": "string"
											},
											"payoutId": "string",
											"type": "string",
											"typeSquareCapitalPaymentDetails": {
												"paymentId": "string"
											}
										}
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"payout_entry_id": "string",
											"payout_id": "string",
											"type": "string",
											"payment_id": "string",
											"refund_id": "string",
											"gross_cents": 1,
											"fee_cents": 1,
											"net_cents": 1,
											"effective_at": "2026-01-01T00:00:00.000Z",
											"raw_entry": {
												"effectiveAt": "string",
												"feeAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"grossAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"id": "string",
												"netAmountMoney": {
													"amount": "string",
													"currency_code": "string"
												},
												"payoutId": "string",
												"type": "string",
												"typeSquareCapitalPaymentDetails": {
													"paymentId": "string"
												}
											}
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingLoans"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_type": "string",
										"name": "string",
										"square_location_id": "string",
										"start_date": "2026-01-01",
										"status": "string",
										"advance_amount_cents": 1,
										"fixed_fee_cents": 1,
										"total_owed_cents": 1,
										"interest_ratio_bps": "string",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingLoans"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_type": "string",
										"name": "string",
										"square_location_id": "string",
										"start_date": "2026-01-01",
										"status": "string",
										"advance_amount_cents": 1,
										"fixed_fee_cents": 1,
										"total_owed_cents": 1,
										"interest_ratio_bps": "string",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingLoans"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"loan_type": "string",
										"name": "string",
										"square_location_id": "string",
										"start_date": "2026-01-01",
										"status": "string",
										"advance_amount_cents": 1,
										"fixed_fee_cents": 1,
										"total_owed_cents": 1,
										"interest_ratio_bps": "string",
										"notes": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"loan_type": "string",
											"name": "string",
											"square_location_id": "string",
											"start_date": "2026-01-01",
											"status": "string",
											"advance_amount_cents": 1,
											"fixed_fee_cents": 1,
											"total_owed_cents": 1,
											"interest_ratio_bps": "string",
											"notes": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_active": true,
												"mercury_api_key_encrypted": "string",
												"mercury_api_key_last4": "string",
												"default_mercury_account_id": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"sync_cursor": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_active": true,
												"mercury_api_key_encrypted": "string",
												"mercury_api_key_last4": "string",
												"default_mercury_account_id": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"sync_cursor": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"patch": {
				"tags": ["accounting"],
				"summary": "Update connections",
				"operationId": "patchApiV1AccountingMercuryConnections",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"delete": {
				"tags": ["accounting"],
				"summary": "Delete connections",
				"operationId": "deleteApiV1AccountingMercuryConnections",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"verified_method": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": "string",
										"cipher_algo": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"verified_at": "2026-01-01T00:00:00.000Z",
										"verified_method": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"verified_method": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_active": true,
												"mercury_api_key_encrypted": "string",
												"mercury_api_key_last4": "string",
												"default_mercury_account_id": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"sync_cursor": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_active": true,
												"mercury_api_key_encrypted": "string",
												"mercury_api_key_last4": "string",
												"default_mercury_account_id": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"sync_cursor": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_active": true,
												"mercury_api_key_encrypted": "string",
												"mercury_api_key_last4": "string",
												"default_mercury_account_id": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"sync_cursor": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"is_active": true,
												"mercury_api_key_encrypted": "string",
												"mercury_api_key_last4": "string",
												"default_mercury_account_id": "string",
												"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
												"settings": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"sync_cursor": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingIntegrationsMercury"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingIntegrationsMercury"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingIntegrationsMercury"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"mercury_api_key_encrypted": "string",
										"mercury_api_key_last4": "string",
										"default_mercury_account_id": "string",
										"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
										"settings": {
											"status": "string",
											"source": "string",
											"note": "string"
										},
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"sync_cursor": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"mercury_api_key_encrypted": "string",
											"mercury_api_key_last4": "string",
											"default_mercury_account_id": "string",
											"mapped_accounting_account_id": "00000000-0000-0000-0000-000000000000",
											"settings": {
												"status": "string",
												"source": "string",
												"note": "string"
											},
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"sync_cursor": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"verified_method": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": "string",
										"cipher_algo": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"verified_at": "2026-01-01T00:00:00.000Z",
										"verified_method": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"verified_at": "2026-01-01T00:00:00.000Z",
											"verified_method": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/PayrollEmployeeBankIdentity"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"employee_user_id": "00000000-0000-0000-0000-000000000000",
												"routing_ciphertext": "string",
												"routing_nonce": "string",
												"account_ciphertext": "string",
												"account_nonce": "string",
												"routing_last4": "string",
												"account_last4": "string",
												"key_version": "string",
												"cipher_algo": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"verified_at": "2026-01-01T00:00:00.000Z",
												"verified_method": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/PayrollTaxDeposits"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"jurisdiction": "string",
												"state_code": "string",
												"frequency": "string",
												"payment_date": "2026-01-01",
												"period_start": "2026-01-01",
												"period_end": "2026-01-01",
												"amount_cents": 1,
												"payment_account_id": "00000000-0000-0000-0000-000000000000",
												"liability_account_id": "00000000-0000-0000-0000-000000000000",
												"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
												"form_codes": "string",
												"notes": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/PayrollTaxDeposits"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"jurisdiction": "string",
											"state_code": "string",
											"frequency": "string",
											"payment_date": "2026-01-01",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"amount_cents": 1,
											"payment_account_id": "00000000-0000-0000-0000-000000000000",
											"liability_account_id": "00000000-0000-0000-0000-000000000000",
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"form_codes": "string",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollTaxDeposits"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollTaxDeposits"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"jurisdiction": "string",
										"state_code": "string",
										"frequency": "string",
										"payment_date": "2026-01-01",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"amount_cents": 1,
										"payment_account_id": "00000000-0000-0000-0000-000000000000",
										"liability_account_id": "00000000-0000-0000-0000-000000000000",
										"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"form_codes": "string",
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"jurisdiction": "string",
											"state_code": "string",
											"frequency": "string",
											"payment_date": "2026-01-01",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"amount_cents": 1,
											"payment_account_id": "00000000-0000-0000-0000-000000000000",
											"liability_account_id": "00000000-0000-0000-0000-000000000000",
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"form_codes": "string",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"delete": {
				"tags": ["accounting"],
				"summary": "Delete deposits",
				"operationId": "deleteApiV1AccountingPayrollDeposits",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PayrollTaxDeposits"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"jurisdiction": "string",
											"state_code": "string",
											"frequency": "string",
											"payment_date": "2026-01-01",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"amount_cents": 1,
											"payment_account_id": "00000000-0000-0000-0000-000000000000",
											"liability_account_id": "00000000-0000-0000-0000-000000000000",
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"form_codes": "string",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollTaxDeposits"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollTaxDeposits"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"jurisdiction": "string",
										"state_code": "string",
										"frequency": "string",
										"payment_date": "2026-01-01",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"amount_cents": 1,
										"payment_account_id": "00000000-0000-0000-0000-000000000000",
										"liability_account_id": "00000000-0000-0000-0000-000000000000",
										"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
										"form_codes": "string",
										"notes": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"jurisdiction": "string",
											"state_code": "string",
											"frequency": "string",
											"payment_date": "2026-01-01",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"amount_cents": 1,
											"payment_account_id": "00000000-0000-0000-0000-000000000000",
											"liability_account_id": "00000000-0000-0000-0000-000000000000",
											"accounting_transaction_id": "00000000-0000-0000-0000-000000000000",
											"form_codes": "string",
											"notes": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/PayrollPaystub"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"payroll_run_employee_id": "00000000-0000-0000-0000-000000000000",
												"paystub_number": "string",
												"rendered_html": "string",
												"rendered_pdf_path": "string",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/PayrollTaxFormFilings"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"form_code": "string",
												"filing_kind": "string",
												"jurisdiction": "string",
												"state_code": "string",
												"tax_year": 1,
												"tax_quarter": 1,
												"period_start": "2026-01-01",
												"period_end": "2026-01-01",
												"due_date": "2026-01-01",
												"reminder_date": "2026-01-01",
												"status": "string",
												"submitted_at": "2026-01-01T00:00:00.000Z",
												"submitted_by": "00000000-0000-0000-0000-000000000000",
												"submission_method": "string",
												"notes": "string",
												"artifact_bucket": "string",
												"artifact_path": "string",
												"artifact_public_url": "string",
												"artifact_mime_type": "string",
												"artifact_generated_at": "2026-01-01T00:00:00.000Z",
												"artifact_data": {
													"fields": [
														{
															"label": "string",
															"line": "string",
															"value": 1
														}
													],
													"form_code": "string",
													"period_label": "string"
												},
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/PayrollRun"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"pay_date": "2026-01-01",
										"status": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/PayrollRun"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"period_start": "2026-01-01",
										"period_end": "2026-01-01",
										"pay_date": "2026-01-01",
										"status": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"finalized_at": "2026-01-01T00:00:00.000Z",
										"finalized_by": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"period_start": "2026-01-01",
											"period_end": "2026-01-01",
											"pay_date": "2026-01-01",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"finalized_at": "2026-01-01T00:00:00.000Z",
											"finalized_by": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
											"request_type": "string",
											"new_ssn_ciphertext": "string",
											"new_ssn_nonce": "string",
											"new_ssn_last4": "string",
											"new_routing_ciphertext": "string",
											"new_routing_nonce": "string",
											"new_routing_last4": "string",
											"new_account_ciphertext": "string",
											"new_account_nonce": "string",
											"new_account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"status": "string",
											"email_token_hash": "string",
											"email_sent_to": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"applied_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
										"request_type": "string",
										"new_ssn_ciphertext": "string",
										"new_ssn_nonce": "string",
										"new_ssn_last4": "string",
										"new_routing_ciphertext": "string",
										"new_routing_nonce": "string",
										"new_routing_last4": "string",
										"new_account_ciphertext": "string",
										"new_account_nonce": "string",
										"new_account_last4": "string",
										"key_version": "string",
										"cipher_algo": "string",
										"status": "string",
										"email_token_hash": "string",
										"email_sent_to": "string",
										"expires_at": "2026-01-01T00:00:00.000Z",
										"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"applied_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
											"request_type": "string",
											"new_ssn_ciphertext": "string",
											"new_ssn_nonce": "string",
											"new_ssn_last4": "string",
											"new_routing_ciphertext": "string",
											"new_routing_nonce": "string",
											"new_routing_last4": "string",
											"new_account_ciphertext": "string",
											"new_account_nonce": "string",
											"new_account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"status": "string",
											"email_token_hash": "string",
											"email_sent_to": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"applied_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
											"request_type": "string",
											"new_ssn_ciphertext": "string",
											"new_ssn_nonce": "string",
											"new_ssn_last4": "string",
											"new_routing_ciphertext": "string",
											"new_routing_nonce": "string",
											"new_routing_last4": "string",
											"new_account_ciphertext": "string",
											"new_account_nonce": "string",
											"new_account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"status": "string",
											"email_token_hash": "string",
											"email_sent_to": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"applied_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
										"request_type": "string",
										"new_ssn_ciphertext": "string",
										"new_ssn_nonce": "string",
										"new_ssn_last4": "string",
										"new_routing_ciphertext": "string",
										"new_routing_nonce": "string",
										"new_routing_last4": "string",
										"new_account_ciphertext": "string",
										"new_account_nonce": "string",
										"new_account_last4": "string",
										"key_version": "string",
										"cipher_algo": "string",
										"status": "string",
										"email_token_hash": "string",
										"email_sent_to": "string",
										"expires_at": "2026-01-01T00:00:00.000Z",
										"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"applied_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
											"request_type": "string",
											"new_ssn_ciphertext": "string",
											"new_ssn_nonce": "string",
											"new_ssn_last4": "string",
											"new_routing_ciphertext": "string",
											"new_routing_nonce": "string",
											"new_routing_last4": "string",
											"new_account_ciphertext": "string",
											"new_account_nonce": "string",
											"new_account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"status": "string",
											"email_token_hash": "string",
											"email_sent_to": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"applied_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"employee_user_id": "00000000-0000-0000-0000-000000000000",
												"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
												"request_type": "string",
												"new_ssn_ciphertext": "string",
												"new_ssn_nonce": "string",
												"new_ssn_last4": "string",
												"new_routing_ciphertext": "string",
												"new_routing_nonce": "string",
												"new_routing_last4": "string",
												"new_account_ciphertext": "string",
												"new_account_nonce": "string",
												"new_account_last4": "string",
												"key_version": "string",
												"cipher_algo": "string",
												"status": "string",
												"email_token_hash": "string",
												"email_sent_to": "string",
												"expires_at": "2026-01-01T00:00:00.000Z",
												"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
												"approved_at": "2026-01-01T00:00:00.000Z",
												"applied_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/PayrollEmployeeTaxIdentity"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"ssn": "string",
											"ssn_last4": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollEmployeeTaxIdentity"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollEmployeeTaxIdentity"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"ssn": "string",
										"ssn_last4": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"ssn": "string",
											"ssn_last4": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/PayrollEmployeeTaxIdentity"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"ssn": "string",
												"ssn_last4": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"employee_user_id": "00000000-0000-0000-0000-000000000000",
												"w2_electronic_consent": true,
												"consent_updated_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"w2_electronic_consent": true,
											"consent_updated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"w2_electronic_consent": true,
										"consent_updated_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"w2_electronic_consent": true,
											"consent_updated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"employee_user_id": "00000000-0000-0000-0000-000000000000",
												"w2_electronic_consent": true,
												"consent_updated_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"w2_electronic_consent": true,
											"consent_updated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollEmployeeTaxPreferences"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"w2_electronic_consent": true,
										"consent_updated_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"w2_electronic_consent": true,
											"consent_updated_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingBankReconciliationSessions"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"statement_start_date": "2026-01-01",
											"statement_end_date": "2026-01-01",
											"summary": {
												"beginning_balance": 1,
												"ending_balance": 1,
												"manual_statement": {
													"beginning_balance_cents": 1,
													"beginning_input": "string",
													"deposits_cents": 1,
													"deposits_input": "string",
													"ending_balance_cents": 1,
													"ending_input": "string",
													"withdrawals_cents": 1,
													"withdrawals_input": "string"
												},
												"statement_period": {
													"end_date": "string",
													"start_date": "string"
												}
											},
											"summary_check": {
												"difference": 1,
												"expected_ending_balance": 1,
												"ok": true
											},
											"line_item_totals": {
												"total_credits": 1,
												"total_credits_count": 1,
												"total_debits": 1,
												"total_debits_count": 1
											},
											"line_item_check": {
												"difference": 1,
												"expected_ending_balance": 1,
												"ok": true
											},
											"match_summary": {
												"manual_reconciled_transaction_ids": ["string"]
											},
											"source_file_name": "string",
											"source_file_size": 1,
											"source_file_hash": "string",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankReconciliationSessions"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankReconciliationSessions"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"statement_start_date": "2026-01-01",
										"statement_end_date": "2026-01-01",
										"summary": {
											"beginning_balance": 1,
											"ending_balance": 1,
											"manual_statement": {
												"beginning_balance_cents": 1,
												"beginning_input": "string",
												"deposits_cents": 1,
												"deposits_input": "string",
												"ending_balance_cents": 1,
												"ending_input": "string",
												"withdrawals_cents": 1,
												"withdrawals_input": "string"
											},
											"statement_period": {
												"end_date": "string",
												"start_date": "string"
											}
										},
										"summary_check": {
											"difference": 1,
											"expected_ending_balance": 1,
											"ok": true
										},
										"line_item_totals": {
											"total_credits": 1,
											"total_credits_count": 1,
											"total_debits": 1,
											"total_debits_count": 1
										},
										"line_item_check": {
											"difference": 1,
											"expected_ending_balance": 1,
											"ok": true
										},
										"match_summary": {
											"manual_reconciled_transaction_ids": ["string"]
										},
										"source_file_name": "string",
										"source_file_size": 1,
										"source_file_hash": "string",
										"status": "string",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"statement_start_date": "2026-01-01",
											"statement_end_date": "2026-01-01",
											"summary": {
												"beginning_balance": 1,
												"ending_balance": 1,
												"manual_statement": {
													"beginning_balance_cents": 1,
													"beginning_input": "string",
													"deposits_cents": 1,
													"deposits_input": "string",
													"ending_balance_cents": 1,
													"ending_input": "string",
													"withdrawals_cents": 1,
													"withdrawals_input": "string"
												},
												"statement_period": {
													"end_date": "string",
													"start_date": "string"
												}
											},
											"summary_check": {
												"difference": 1,
												"expected_ending_balance": 1,
												"ok": true
											},
											"line_item_totals": {
												"total_credits": 1,
												"total_credits_count": 1,
												"total_debits": 1,
												"total_debits_count": 1
											},
											"line_item_check": {
												"difference": 1,
												"expected_ending_balance": 1,
												"ok": true
											},
											"match_summary": {
												"manual_reconciled_transaction_ids": ["string"]
											},
											"source_file_name": "string",
											"source_file_size": 1,
											"source_file_hash": "string",
											"status": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/Customers"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"kind": "string",
												"status": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"is_accounting_enabled": true,
												"normalized_name": "string",
												"notes": "string",
												"external_ids": {
													"google_place_id": "string"
												},
												"created_by": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/AccountingBankFeedRules"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"description_pattern": "string",
												"amount_min": 1,
												"amount_max": 1,
												"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
												"apply_account_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingBankFeedRules"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"description_pattern": "string",
											"amount_min": 1,
											"amount_max": 1,
											"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
											"apply_account_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedRules"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedRules"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"description_pattern": "string",
										"amount_min": 1,
										"amount_max": 1,
										"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
										"apply_account_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"description_pattern": "string",
											"amount_min": 1,
											"amount_max": 1,
											"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
											"apply_account_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingBankFeedRules"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"description_pattern": "string",
											"amount_min": 1,
											"amount_max": 1,
											"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
											"apply_account_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedRules"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedRules"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"description_pattern": "string",
										"amount_min": 1,
										"amount_max": 1,
										"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
										"apply_account_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"description_pattern": "string",
											"amount_min": 1,
											"amount_max": 1,
											"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
											"apply_account_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			},
			"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": {
									"$ref": "#/components/schemas/AccountingBankFeedRules"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"description_pattern": "string",
											"amount_min": 1,
											"amount_max": 1,
											"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
											"apply_account_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingBankFeedRules"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingBankFeedRules"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"description_pattern": "string",
										"amount_min": 1,
										"amount_max": 1,
										"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
										"apply_account_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"description_pattern": "string",
											"amount_min": 1,
											"amount_max": 1,
											"apply_vendor_id": "00000000-0000-0000-0000-000000000000",
											"apply_account_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"description": "string",
												"is_active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingTaxExemptionReasons"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"description": "string",
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"description": "string",
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/AccountingTransactions"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"posting_date": "2026-01-01",
												"memo": "string",
												"customer_id": "00000000-0000-0000-0000-000000000000",
												"vendor_id": "00000000-0000-0000-0000-000000000000",
												"reference": "string",
												"source": "string",
												"is_posted": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AccountingTransactions"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"posting_date": "2026-01-01",
											"memo": "string",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"vendor_id": "00000000-0000-0000-0000-000000000000",
											"reference": "string",
											"source": "string",
											"is_posted": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingTransactions"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingTransactions"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"posting_date": "2026-01-01",
										"memo": "string",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"vendor_id": "00000000-0000-0000-0000-000000000000",
										"reference": "string",
										"source": "string",
										"is_posted": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"posting_date": "2026-01-01",
											"memo": "string",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"vendor_id": "00000000-0000-0000-0000-000000000000",
											"reference": "string",
											"source": "string",
											"is_posted": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/VendorConfig"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"vendorName": "string",
												"visible": true,
												"vendorDepartment": true,
												"breaksCase": true,
												"delivery_minimum": 1,
												"delivery_minimum_money": true,
												"order_method_id": 1,
												"order_method_details": {
													"Email": "string",
													"Subject": "string",
													"URL": "string"
												},
												"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
												"is_special_vendor": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/VendorConfig"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendorName": "string",
										"visible": true,
										"vendorDepartment": true,
										"breaksCase": true,
										"delivery_minimum": 1,
										"delivery_minimum_money": true,
										"order_method_id": 1,
										"order_method_details": {
											"Email": "string",
											"Subject": "string",
											"URL": "string"
										},
										"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
										"is_special_vendor": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/VendorConfig"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"vendorName": "string",
										"visible": true,
										"vendorDepartment": true,
										"breaksCase": true,
										"delivery_minimum": 1,
										"delivery_minimum_money": true,
										"order_method_id": 1,
										"order_method_details": {
											"Email": "string",
											"Subject": "string",
											"URL": "string"
										},
										"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
										"is_special_vendor": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_id": "00000000-0000-0000-0000-000000000000"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"vendorName": "string",
											"visible": true,
											"vendorDepartment": true,
											"breaksCase": true,
											"delivery_minimum": 1,
											"delivery_minimum_money": true,
											"order_method_id": 1,
											"order_method_details": {
												"Email": "string",
												"Subject": "string",
												"URL": "string"
											},
											"accounting_vendor_id": "00000000-0000-0000-0000-000000000000",
											"is_special_vendor": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/DashboardWidgets"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"route": "string",
												"feed_id": "string",
												"viz_type": "string",
												"config": {
													"date_range": {
														"end": {
															"id": "string",
															"name": "string",
															"status": "string"
														},
														"preset": "string",
														"start": {
															"id": "string",
															"name": "string",
															"status": "string"
														}
													},
													"feed": {
														"allowedViz": ["string"],
														"description": "string",
														"dimensions": [
															{
																"key": "string",
																"label": "string",
																"type": "string"
															}
														],
														"execution": {
															"fn": "string",
															"schema": "string",
															"type": "string"
														},
														"feedId": "string",
														"filters": {
															"location_ids": true,
															"source_types": true,
															"weekdays": true
														},
														"label": "string",
														"measures": [
															{
																"field": "string",
																"format": "string",
																"key": "string",
																"label": "string",
																"ops": ["string"]
															}
														],
														"requiresDateRange": true,
														"timeField": "string"
													},
													"feed_id": "string",
													"filters": {
														"location_ids": [1],
														"source_types": ["string"],
														"weekdays": [1]
													},
													"options": {
														"limit": 1
													},
													"viz": {
														"type": "string",
														"x": "string",
														"y": [
															{
																"as": "string",
																"field": "string",
																"op": "string"
															}
														]
													}
												},
												"is_active": true,
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/DashboardWidgets"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/DashboardWidgets"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/DashboardWidgets"
										}
									}
								]
							},
							"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": {
									"$ref": "#/components/schemas/DashboardWidgets"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/DashboardWidgets"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/DashboardWidgets"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"route": "string",
										"feed_id": "string",
										"viz_type": "string",
										"config": {
											"date_range": {
												"end": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"preset": "string",
												"start": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"feed": {
												"allowedViz": ["string"],
												"description": "string",
												"dimensions": [
													{
														"key": "string",
														"label": "string",
														"type": "string"
													}
												],
												"execution": {
													"fn": "string",
													"schema": "string",
													"type": "string"
												},
												"feedId": "string",
												"filters": {
													"location_ids": true,
													"source_types": true,
													"weekdays": true
												},
												"label": "string",
												"measures": [
													{
														"field": "string",
														"format": "string",
														"key": "string",
														"label": "string",
														"ops": ["string"]
													}
												],
												"requiresDateRange": true,
												"timeField": "string"
											},
											"feed_id": "string",
											"filters": {
												"location_ids": [1],
												"source_types": ["string"],
												"weekdays": [1]
											},
											"options": {
												"limit": 1
											},
											"viz": {
												"type": "string",
												"x": "string",
												"y": [
													{
														"as": "string",
														"field": "string",
														"op": "string"
													}
												]
											}
										},
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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": {
									"$ref": "#/components/schemas/DashboardWidgets"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/DashboardWidgets"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/DashboardWidgets"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"route": "string",
										"feed_id": "string",
										"viz_type": "string",
										"config": {
											"date_range": {
												"end": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"preset": "string",
												"start": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"feed": {
												"allowedViz": ["string"],
												"description": "string",
												"dimensions": [
													{
														"key": "string",
														"label": "string",
														"type": "string"
													}
												],
												"execution": {
													"fn": "string",
													"schema": "string",
													"type": "string"
												},
												"feedId": "string",
												"filters": {
													"location_ids": true,
													"source_types": true,
													"weekdays": true
												},
												"label": "string",
												"measures": [
													{
														"field": "string",
														"format": "string",
														"key": "string",
														"label": "string",
														"ops": ["string"]
													}
												],
												"requiresDateRange": true,
												"timeField": "string"
											},
											"feed_id": "string",
											"filters": {
												"location_ids": [1],
												"source_types": ["string"],
												"weekdays": [1]
											},
											"options": {
												"limit": 1
											},
											"viz": {
												"type": "string",
												"x": "string",
												"y": [
													{
														"as": "string",
														"field": "string",
														"op": "string"
													}
												]
											}
										},
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/DashboardWidgets"
								},
								"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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/DashboardWidgets"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/DashboardWidgets"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"route": "string",
										"feed_id": "string",
										"viz_type": "string",
										"config": {
											"date_range": {
												"end": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"preset": "string",
												"start": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"feed": {
												"allowedViz": ["string"],
												"description": "string",
												"dimensions": [
													{
														"key": "string",
														"label": "string",
														"type": "string"
													}
												],
												"execution": {
													"fn": "string",
													"schema": "string",
													"type": "string"
												},
												"feedId": "string",
												"filters": {
													"location_ids": true,
													"source_types": true,
													"weekdays": true
												},
												"label": "string",
												"measures": [
													{
														"field": "string",
														"format": "string",
														"key": "string",
														"label": "string",
														"ops": ["string"]
													}
												],
												"requiresDateRange": true,
												"timeField": "string"
											},
											"feed_id": "string",
											"filters": {
												"location_ids": [1],
												"source_types": ["string"],
												"weekdays": [1]
											},
											"options": {
												"limit": 1
											},
											"viz": {
												"type": "string",
												"x": "string",
												"y": [
													{
														"as": "string",
														"field": "string",
														"op": "string"
													}
												]
											}
										},
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/DashboardWidgets"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/DashboardWidgets"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/DashboardWidgets"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"route": "string",
										"feed_id": "string",
										"viz_type": "string",
										"config": {
											"date_range": {
												"end": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"preset": "string",
												"start": {
													"id": "string",
													"name": "string",
													"status": "string"
												}
											},
											"feed": {
												"allowedViz": ["string"],
												"description": "string",
												"dimensions": [
													{
														"key": "string",
														"label": "string",
														"type": "string"
													}
												],
												"execution": {
													"fn": "string",
													"schema": "string",
													"type": "string"
												},
												"feedId": "string",
												"filters": {
													"location_ids": true,
													"source_types": true,
													"weekdays": true
												},
												"label": "string",
												"measures": [
													{
														"field": "string",
														"format": "string",
														"key": "string",
														"label": "string",
														"ops": ["string"]
													}
												],
												"requiresDateRange": true,
												"timeField": "string"
											},
											"feed_id": "string",
											"filters": {
												"location_ids": [1],
												"source_types": ["string"],
												"weekdays": [1]
											},
											"options": {
												"limit": 1
											},
											"viz": {
												"type": "string",
												"x": "string",
												"y": [
													{
														"as": "string",
														"field": "string",
														"op": "string"
													}
												]
											}
										},
										"is_active": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"route": "string",
											"feed_id": "string",
											"viz_type": "string",
											"config": {
												"date_range": {
													"end": {
														"id": "string",
														"name": "string",
														"status": "string"
													},
													"preset": "string",
													"start": {
														"id": "string",
														"name": "string",
														"status": "string"
													}
												},
												"feed": {
													"allowedViz": ["string"],
													"description": "string",
													"dimensions": [
														{
															"key": "string",
															"label": "string",
															"type": "string"
														}
													],
													"execution": {
														"fn": "string",
														"schema": "string",
														"type": "string"
													},
													"feedId": "string",
													"filters": {
														"location_ids": true,
														"source_types": true,
														"weekdays": true
													},
													"label": "string",
													"measures": [
														{
															"field": "string",
															"format": "string",
															"key": "string",
															"label": "string",
															"ops": ["string"]
														}
													],
													"requiresDateRange": true,
													"timeField": "string"
												},
												"feed_id": "string",
												"filters": {
													"location_ids": [1],
													"source_types": ["string"],
													"weekdays": [1]
												},
												"options": {
													"limit": 1
												},
												"viz": {
													"type": "string",
													"x": "string",
													"y": [
														{
															"as": "string",
															"field": "string",
															"op": "string"
														}
													]
												}
											},
											"is_active": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/CompanyMemberships"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"role": 1,
											"is_default": true,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/CompanyMemberships"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/CompanyMemberships"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"role": 1,
										"is_default": true,
										"is_active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"role": 1,
											"is_default": true,
											"is_active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/Companies"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"slug": "string",
												"name": "string",
												"timezone": "string",
												"is_active": true,
												"is_default": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/Companies"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"slug": "string",
											"name": "string",
											"timezone": "string",
											"is_active": true,
											"is_default": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/Companies"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/Companies"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"slug": "string",
										"name": "string",
										"timezone": "string",
										"is_active": true,
										"is_default": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"slug": "string",
											"name": "string",
											"timezone": "string",
											"is_active": true,
											"is_default": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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/company-onboarding-goals": {
			"get": {
				"tags": ["config"],
				"summary": "List company onboarding goals",
				"operationId": "getApiV1ConfigCompany-onboarding-goals",
				"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 goals",
				"operationId": "patchApiV1ConfigCompany-onboarding-goals",
				"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": {
									"$ref": "#/components/schemas/KdsSetupCode"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"code": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"used_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KdsSetupCode"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KdsSetupCode"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"code": "string",
										"expires_at": "2026-01-01T00:00:00.000Z",
										"used_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"code": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"used_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/KdsOrderClearEvent"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"device_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"source": "string",
											"is_test": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"main_started_at": "2026-01-01T00:00:00.000Z",
											"cleared_at": "2026-01-01T00:00:00.000Z",
											"seconds_to_clear": 1,
											"within_goal": true,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KdsOrderClearEvent"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KdsOrderClearEvent"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"order_id": "00000000-0000-0000-0000-000000000000",
										"device_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"source": "string",
										"is_test": true,
										"received_at": "2026-01-01T00:00:00.000Z",
										"main_started_at": "2026-01-01T00:00:00.000Z",
										"cleared_at": "2026-01-01T00:00:00.000Z",
										"seconds_to_clear": 1,
										"within_goal": true,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"order_id": "00000000-0000-0000-0000-000000000000",
											"device_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"source": "string",
											"is_test": true,
											"received_at": "2026-01-01T00:00:00.000Z",
											"main_started_at": "2026-01-01T00:00:00.000Z",
											"cleared_at": "2026-01-01T00:00:00.000Z",
											"seconds_to_clear": 1,
											"within_goal": true,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/KdsTestOrderTemplate"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"location_id": 1,
												"order_source": "string",
												"fulfillment_method": "string",
												"is_scheduled": true,
												"due_in_minutes": 1,
												"order_total_cents": 1,
												"order_note": "string",
												"fulfillment_note": "string",
												"line_items": [
													{
														"modifiers": [
															{
																"name": "string",
																"quantity": "string"
															}
														],
														"name": "string",
														"note": "string",
														"quantity": "string",
														"totalMoney": {
															"amount": "string",
															"currency": "string"
														},
														"uid": "string"
													}
												],
												"active": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/KdsTestOrderTemplate"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"location_id": 1,
											"order_source": "string",
											"fulfillment_method": "string",
											"is_scheduled": true,
											"due_in_minutes": 1,
											"order_total_cents": 1,
											"order_note": "string",
											"fulfillment_note": "string",
											"line_items": [
												{
													"modifiers": [
														{
															"name": "string",
															"quantity": "string"
														}
													],
													"name": "string",
													"note": "string",
													"quantity": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"uid": "string"
												}
											],
											"active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KdsTestOrderTemplate"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KdsTestOrderTemplate"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"location_id": 1,
										"order_source": "string",
										"fulfillment_method": "string",
										"is_scheduled": true,
										"due_in_minutes": 1,
										"order_total_cents": 1,
										"order_note": "string",
										"fulfillment_note": "string",
										"line_items": [
											{
												"modifiers": [
													{
														"name": "string",
														"quantity": "string"
													}
												],
												"name": "string",
												"note": "string",
												"quantity": "string",
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"uid": "string"
											}
										],
										"active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"location_id": 1,
											"order_source": "string",
											"fulfillment_method": "string",
											"is_scheduled": true,
											"due_in_minutes": 1,
											"order_total_cents": 1,
											"order_note": "string",
											"fulfillment_note": "string",
											"line_items": [
												{
													"modifiers": [
														{
															"name": "string",
															"quantity": "string"
														}
													],
													"name": "string",
													"note": "string",
													"quantity": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"uid": "string"
												}
											],
											"active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"patch": {
				"tags": ["config"],
				"summary": "Update test templates",
				"operationId": "patchApiV1ConfigKdsTest-templates",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/KdsTestOrderTemplate"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"location_id": 1,
											"order_source": "string",
											"fulfillment_method": "string",
											"is_scheduled": true,
											"due_in_minutes": 1,
											"order_total_cents": 1,
											"order_note": "string",
											"fulfillment_note": "string",
											"line_items": [
												{
													"modifiers": [
														{
															"name": "string",
															"quantity": "string"
														}
													],
													"name": "string",
													"note": "string",
													"quantity": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"uid": "string"
												}
											],
											"active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KdsTestOrderTemplate"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KdsTestOrderTemplate"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"location_id": 1,
										"order_source": "string",
										"fulfillment_method": "string",
										"is_scheduled": true,
										"due_in_minutes": 1,
										"order_total_cents": 1,
										"order_note": "string",
										"fulfillment_note": "string",
										"line_items": [
											{
												"modifiers": [
													{
														"name": "string",
														"quantity": "string"
													}
												],
												"name": "string",
												"note": "string",
												"quantity": "string",
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"uid": "string"
											}
										],
										"active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"location_id": 1,
											"order_source": "string",
											"fulfillment_method": "string",
											"is_scheduled": true,
											"due_in_minutes": 1,
											"order_total_cents": 1,
											"order_note": "string",
											"fulfillment_note": "string",
											"line_items": [
												{
													"modifiers": [
														{
															"name": "string",
															"quantity": "string"
														}
													],
													"name": "string",
													"note": "string",
													"quantity": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"uid": "string"
												}
											],
											"active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"delete": {
				"tags": ["config"],
				"summary": "Delete test templates",
				"operationId": "deleteApiV1ConfigKdsTest-templates",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/KdsTestOrderTemplate"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"location_id": 1,
											"order_source": "string",
											"fulfillment_method": "string",
											"is_scheduled": true,
											"due_in_minutes": 1,
											"order_total_cents": 1,
											"order_note": "string",
											"fulfillment_note": "string",
											"line_items": [
												{
													"modifiers": [
														{
															"name": "string",
															"quantity": "string"
														}
													],
													"name": "string",
													"note": "string",
													"quantity": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"uid": "string"
												}
											],
											"active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KdsTestOrderTemplate"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KdsTestOrderTemplate"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"location_id": 1,
										"order_source": "string",
										"fulfillment_method": "string",
										"is_scheduled": true,
										"due_in_minutes": 1,
										"order_total_cents": 1,
										"order_note": "string",
										"fulfillment_note": "string",
										"line_items": [
											{
												"modifiers": [
													{
														"name": "string",
														"quantity": "string"
													}
												],
												"name": "string",
												"note": "string",
												"quantity": "string",
												"totalMoney": {
													"amount": "string",
													"currency": "string"
												},
												"uid": "string"
											}
										],
										"active": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"location_id": 1,
											"order_source": "string",
											"fulfillment_method": "string",
											"is_scheduled": true,
											"due_in_minutes": 1,
											"order_total_cents": 1,
											"order_note": "string",
											"fulfillment_note": "string",
											"line_items": [
												{
													"modifiers": [
														{
															"name": "string",
															"quantity": "string"
														}
													],
													"name": "string",
													"note": "string",
													"quantity": "string",
													"totalMoney": {
														"amount": "string",
														"currency": "string"
													},
													"uid": "string"
												}
											],
											"active": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
			"get": {
				"tags": ["config"],
				"summary": "List upload",
				"operationId": "getApiV1ConfigTv-displaysMediaUpload",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/Location"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"name": "string",
												"visible": true,
												"hub": true,
												"aggregate_orders": true,
												"street1": "string",
												"street2": "string",
												"city": "string",
												"state": "string",
												"zip": "string",
												"phone": "string",
												"email": "string",
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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 upload",
				"operationId": "postApiV1ConfigTv-displaysMediaUpload",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Location"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"name": "string",
											"visible": true,
											"hub": true,
											"aggregate_orders": true,
											"street1": "string",
											"street2": "string",
											"city": "string",
											"state": "string",
											"zip": "string",
											"phone": "string",
											"email": "string",
											"company_id": "00000000-0000-0000-0000-000000000000"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/Location"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/Location"
										}
									}
								]
							}
						}
					}
				}
			}
		},
		"/api/v1/config/tv-displays/menu-overrides": {
			"get": {
				"tags": ["config"],
				"summary": "List menu overrides",
				"operationId": "getApiV1ConfigTv-displaysMenu-overrides",
				"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 menu overrides",
				"operationId": "postApiV1ConfigTv-displaysMenu-overrides",
				"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 menu overrides",
				"operationId": "deleteApiV1ConfigTv-displaysMenu-overrides",
				"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/promos": {
			"get": {
				"tags": ["config"],
				"summary": "List promos",
				"operationId": "getApiV1ConfigTv-displaysPromos",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/TvDisplayPromo"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"company_id": "00000000-0000-0000-0000-000000000000",
												"name": "string",
												"active": true,
												"sort_order": 1,
												"type": "string",
												"headline": "string",
												"body_text": "string",
												"cta_text": "string",
												"image_url": "string",
												"media_urls": "string",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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 promos",
				"operationId": "postApiV1ConfigTv-displaysPromos",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TvDisplayPromo"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"active": true,
											"sort_order": 1,
											"type": "string",
											"headline": "string",
											"body_text": "string",
											"cta_text": "string",
											"image_url": "string",
											"media_urls": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TvDisplayPromo"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TvDisplayPromo"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"active": true,
										"sort_order": 1,
										"type": "string",
										"headline": "string",
										"body_text": "string",
										"cta_text": "string",
										"image_url": "string",
										"media_urls": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"active": true,
											"sort_order": 1,
											"type": "string",
											"headline": "string",
											"body_text": "string",
											"cta_text": "string",
											"image_url": "string",
											"media_urls": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"patch": {
				"tags": ["config"],
				"summary": "Update promos",
				"operationId": "patchApiV1ConfigTv-displaysPromos",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TvDisplayPromo"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"active": true,
											"sort_order": 1,
											"type": "string",
											"headline": "string",
											"body_text": "string",
											"cta_text": "string",
											"image_url": "string",
											"media_urls": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TvDisplayPromo"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TvDisplayPromo"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"active": true,
										"sort_order": 1,
										"type": "string",
										"headline": "string",
										"body_text": "string",
										"cta_text": "string",
										"image_url": "string",
										"media_urls": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"active": true,
											"sort_order": 1,
											"type": "string",
											"headline": "string",
											"body_text": "string",
											"cta_text": "string",
											"image_url": "string",
											"media_urls": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"delete": {
				"tags": ["config"],
				"summary": "Delete promos",
				"operationId": "deleteApiV1ConfigTv-displaysPromos",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TvDisplayPromo"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"active": true,
											"sort_order": 1,
											"type": "string",
											"headline": "string",
											"body_text": "string",
											"cta_text": "string",
											"image_url": "string",
											"media_urls": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TvDisplayPromo"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TvDisplayPromo"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"active": true,
										"sort_order": 1,
										"type": "string",
										"headline": "string",
										"body_text": "string",
										"cta_text": "string",
										"image_url": "string",
										"media_urls": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"active": true,
											"sort_order": 1,
											"type": "string",
											"headline": "string",
											"body_text": "string",
											"cta_text": "string",
											"image_url": "string",
											"media_urls": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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/config/tv-displays/smart-menu-update": {
			"post": {
				"tags": ["config"],
				"summary": "Upsert smart menu update",
				"operationId": "postApiV1ConfigTv-displaysSmart-menu-update",
				"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/{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": {
									"$ref": "#/components/schemas/AccountingSalesChannels"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"default_location_id": "string",
											"clearing_account_id": "00000000-0000-0000-0000-000000000000",
											"fee_account_id": "00000000-0000-0000-0000-000000000000",
											"default_income_account_id": "00000000-0000-0000-0000-000000000000",
											"default_sales_tax_payable_account_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingSalesChannels"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingSalesChannels"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"name": "string",
										"is_active": true,
										"default_location_id": "string",
										"clearing_account_id": "00000000-0000-0000-0000-000000000000",
										"fee_account_id": "00000000-0000-0000-0000-000000000000",
										"default_income_account_id": "00000000-0000-0000-0000-000000000000",
										"default_sales_tax_payable_account_id": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"name": "string",
											"is_active": true,
											"default_location_id": "string",
											"clearing_account_id": "00000000-0000-0000-0000-000000000000",
											"fee_account_id": "00000000-0000-0000-0000-000000000000",
											"default_income_account_id": "00000000-0000-0000-0000-000000000000",
											"default_sales_tax_payable_account_id": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/AccountingTransactions"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"posting_date": "2026-01-01",
											"memo": "string",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"vendor_id": "00000000-0000-0000-0000-000000000000",
											"reference": "string",
											"source": "string",
											"is_posted": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/AccountingTransactions"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/AccountingTransactions"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"posting_date": "2026-01-01",
										"memo": "string",
										"customer_id": "00000000-0000-0000-0000-000000000000",
										"vendor_id": "00000000-0000-0000-0000-000000000000",
										"reference": "string",
										"source": "string",
										"is_posted": true,
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"posting_date": "2026-01-01",
											"memo": "string",
											"customer_id": "00000000-0000-0000-0000-000000000000",
											"vendor_id": "00000000-0000-0000-0000-000000000000",
											"reference": "string",
											"source": "string",
											"is_posted": true,
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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
							}
						},
						"application/json": {
							"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": {
									"$ref": "#/components/schemas/Feedback"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"description": "string",
											"type": "string",
											"page": "string",
											"priority": "string",
											"title": "string",
											"route_path": "string",
											"route_key": "string",
											"route_category": "string",
											"status": "string",
											"developer_status": "string",
											"telemetry": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_by_name": "string",
											"created_by_email": "string",
											"thumbs_up_count": 1,
											"comment_count": 1,
											"completed_at": "2026-01-01T00:00:00.000Z",
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_name": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/Feedback"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/Feedback"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"description": "string",
										"type": "string",
										"page": "string",
										"priority": "string",
										"title": "string",
										"route_path": "string",
										"route_key": "string",
										"route_category": "string",
										"status": "string",
										"developer_status": "string",
										"telemetry": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_by_name": "string",
										"created_by_email": "string",
										"thumbs_up_count": 1,
										"comment_count": 1,
										"completed_at": "2026-01-01T00:00:00.000Z",
										"completed_by": "00000000-0000-0000-0000-000000000000",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"company_name": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"description": "string",
											"type": "string",
											"page": "string",
											"priority": "string",
											"title": "string",
											"route_path": "string",
											"route_key": "string",
											"route_category": "string",
											"status": "string",
											"developer_status": "string",
											"telemetry": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_by_name": "string",
											"created_by_email": "string",
											"thumbs_up_count": 1,
											"comment_count": 1,
											"completed_at": "2026-01-01T00:00:00.000Z",
											"completed_by": "00000000-0000-0000-0000-000000000000",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"company_name": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/IntegrationsGoogleConnections"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"product": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": 1,
												"token_cipher_algo": "string",
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"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": {
										"$ref": "#/components/schemas/IntegrationsGoogleConnections"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"product": "string",
												"google_user_email": "string",
												"access_token_encrypted": "string",
												"access_token_nonce": "string",
												"refresh_token_encrypted": "string",
												"refresh_token_nonce": "string",
												"token_expiry": "2026-01-01T00:00:00.000Z",
												"scopes": "string",
												"token_key_version": 1,
												"token_cipher_algo": "string",
												"last_sync_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/IntegrationsGoogleConnections"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"product": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": 1,
											"token_cipher_algo": "string",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"provider": "string",
										"product": "string",
										"google_user_email": "string",
										"access_token_encrypted": "string",
										"access_token_nonce": "string",
										"refresh_token_encrypted": "string",
										"refresh_token_nonce": "string",
										"token_expiry": "2026-01-01T00:00:00.000Z",
										"scopes": "string",
										"token_key_version": 1,
										"token_cipher_algo": "string",
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"provider": "string",
											"product": "string",
											"google_user_email": "string",
											"access_token_encrypted": "string",
											"access_token_nonce": "string",
											"refresh_token_encrypted": "string",
											"refresh_token_nonce": "string",
											"token_expiry": "2026-01-01T00:00:00.000Z",
											"scopes": "string",
											"token_key_version": 1,
											"token_cipher_algo": "string",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/GbpLocation"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"location_name": "string",
											"store_code": "string",
											"primary_phone": "string",
											"address": {
												"addressLines": ["string"],
												"administrativeArea": "string",
												"languageCode": "string",
												"locality": "string",
												"postalCode": "string",
												"regionCode": "string"
											},
											"time_zone": "string",
											"verification_state": "string",
											"suspension_reason": "string",
											"regular_hours": {
												"periods": [
													{
														"closeDay": "string",
														"closeTime": {
															"hours": 1,
															"minutes": 1
														},
														"openDay": "string",
														"openTime": {
															"hours": 1
														}
													}
												]
											},
											"special_hours": {
												"specialHourPeriods": [
													{
														"closed": true,
														"endDate": {
															"day": 1,
															"month": 1,
															"year": 1
														},
														"startDate": {
															"day": 1,
															"month": 1,
															"year": 1
														}
													}
												]
											},
											"metadata": {
												"canDelete": true,
												"canHaveFoodMenus": true,
												"canModifyServiceList": true,
												"hasVoiceOfMerchant": true,
												"mapsUri": "string",
												"newReviewUri": "string",
												"placeId": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"account_id": "00000000-0000-0000-0000-000000000000",
										"location_id": "string",
										"location_name": "string",
										"store_code": "string",
										"primary_phone": "string",
										"address": {
											"addressLines": ["string"],
											"administrativeArea": "string",
											"languageCode": "string",
											"locality": "string",
											"postalCode": "string",
											"regionCode": "string"
										},
										"time_zone": "string",
										"verification_state": "string",
										"suspension_reason": "string",
										"regular_hours": {
											"periods": [
												{
													"closeDay": "string",
													"closeTime": {
														"hours": 1,
														"minutes": 1
													},
													"openDay": "string",
													"openTime": {
														"hours": 1
													}
												}
											]
										},
										"special_hours": {
											"specialHourPeriods": [
												{
													"closed": true,
													"endDate": {
														"day": 1,
														"month": 1,
														"year": 1
													},
													"startDate": {
														"day": 1,
														"month": 1,
														"year": 1
													}
												}
											]
										},
										"metadata": {
											"canDelete": true,
											"canHaveFoodMenus": true,
											"canModifyServiceList": true,
											"hasVoiceOfMerchant": true,
											"mapsUri": "string",
											"newReviewUri": "string",
											"placeId": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"account_id": "00000000-0000-0000-0000-000000000000",
											"location_id": "string",
											"location_name": "string",
											"store_code": "string",
											"primary_phone": "string",
											"address": {
												"addressLines": ["string"],
												"administrativeArea": "string",
												"languageCode": "string",
												"locality": "string",
												"postalCode": "string",
												"regionCode": "string"
											},
											"time_zone": "string",
											"verification_state": "string",
											"suspension_reason": "string",
											"regular_hours": {
												"periods": [
													{
														"closeDay": "string",
														"closeTime": {
															"hours": 1,
															"minutes": 1
														},
														"openDay": "string",
														"openTime": {
															"hours": 1
														}
													}
												]
											},
											"special_hours": {
												"specialHourPeriods": [
													{
														"closed": true,
														"endDate": {
															"day": 1,
															"month": 1,
															"year": 1
														},
														"startDate": {
															"day": 1,
															"month": 1,
															"year": 1
														}
													}
												]
											},
											"metadata": {
												"canDelete": true,
												"canHaveFoodMenus": true,
												"canModifyServiceList": true,
												"hasVoiceOfMerchant": true,
												"mapsUri": "string",
												"newReviewUri": "string",
												"placeId": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/GbpReview"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"review_id": "string",
										"rating": 1,
										"comment": "string",
										"reviewer_name": "string",
										"reviewer_profile_photo_url": "string",
										"reviewer_is_anonymous": true,
										"created_time": "2026-01-01T00:00:00.000Z",
										"updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply": "string",
										"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply_author": "string",
										"reply_status": "string",
										"raw": {
											"comment": "string",
											"createTime": "string",
											"name": "string",
											"reviewId": "string",
											"reviewReply": {
												"comment": "string",
												"reviewReplyState": "string",
												"updateTime": "string"
											},
											"reviewer": {
												"displayName": "string",
												"profilePhotoUrl": "string"
											},
											"starRating": "string",
											"updateTime": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/GbpReview"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"org_id": "00000000-0000-0000-0000-000000000000",
										"gbp_location_id": "00000000-0000-0000-0000-000000000000",
										"review_id": "string",
										"rating": 1,
										"comment": "string",
										"reviewer_name": "string",
										"reviewer_profile_photo_url": "string",
										"reviewer_is_anonymous": true,
										"created_time": "2026-01-01T00:00:00.000Z",
										"updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply": "string",
										"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
										"owner_reply_author": "string",
										"reply_status": "string",
										"raw": {
											"comment": "string",
											"createTime": "string",
											"name": "string",
											"reviewId": "string",
											"reviewReply": {
												"comment": "string",
												"reviewReplyState": "string",
												"updateTime": "string"
											},
											"reviewer": {
												"displayName": "string",
												"profilePhotoUrl": "string"
											},
											"starRating": "string",
											"updateTime": "string"
										},
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"org_id": "00000000-0000-0000-0000-000000000000",
											"gbp_location_id": "00000000-0000-0000-0000-000000000000",
											"review_id": "string",
											"rating": 1,
											"comment": "string",
											"reviewer_name": "string",
											"reviewer_profile_photo_url": "string",
											"reviewer_is_anonymous": true,
											"created_time": "2026-01-01T00:00:00.000Z",
											"updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply": "string",
											"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
											"owner_reply_author": "string",
											"reply_status": "string",
											"raw": {
												"comment": "string",
												"createTime": "string",
												"name": "string",
												"reviewId": "string",
												"reviewReply": {
													"comment": "string",
													"reviewReplyState": "string",
													"updateTime": "string"
												},
												"reviewer": {
													"displayName": "string",
													"profilePhotoUrl": "string"
												},
												"starRating": "string",
												"updateTime": "string"
											},
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/GbpReview"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"org_id": "00000000-0000-0000-0000-000000000000",
												"gbp_location_id": "00000000-0000-0000-0000-000000000000",
												"review_id": "string",
												"rating": 1,
												"comment": "string",
												"reviewer_name": "string",
												"reviewer_profile_photo_url": "string",
												"reviewer_is_anonymous": true,
												"created_time": "2026-01-01T00:00:00.000Z",
												"updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply": "string",
												"owner_reply_updated_time": "2026-01-01T00:00:00.000Z",
												"owner_reply_author": "string",
												"reply_status": "string",
												"raw": {
													"comment": "string",
													"createTime": "string",
													"name": "string",
													"reviewId": "string",
													"reviewReply": {
														"comment": "string",
														"reviewReplyState": "string",
														"updateTime": "string"
													},
													"reviewer": {
														"displayName": "string",
														"profilePhotoUrl": "string"
													},
													"starRating": "string",
													"updateTime": "string"
												},
												"last_synced_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/AiSkillLibrary"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"content": "string",
											"source_url": "string",
											"checksum": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server 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"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"key": "string",
										"content": "string",
										"source_url": "string",
										"checksum": "string",
										"last_synced_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"key": "string",
											"content": "string",
											"source_url": "string",
											"checksum": "string",
											"last_synced_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/TenantSocialAccounts"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"platform": "string",
											"meta_user_id": "string",
											"meta_page_id": "string",
											"meta_instagram_account_id": "string",
											"account_name": "string",
											"username": "string",
											"access_token_encrypted": "string",
											"refresh_token_encrypted": "string",
											"token_expires_at": "2026-01-01T00:00:00.000Z",
											"scopes": ["string"],
											"status": "string",
											"metadata": {
												"connected_via": "string",
												"meta_user_name": "string",
												"oauth_connected_at": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"last_error": "string"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TenantSocialAccounts"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TenantSocialAccounts"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"company_id": "00000000-0000-0000-0000-000000000000",
										"platform": "string",
										"meta_user_id": "string",
										"meta_page_id": "string",
										"meta_instagram_account_id": "string",
										"account_name": "string",
										"username": "string",
										"access_token_encrypted": "string",
										"refresh_token_encrypted": "string",
										"token_expires_at": "2026-01-01T00:00:00.000Z",
										"scopes": ["string"],
										"status": "string",
										"metadata": {
											"connected_via": "string",
											"meta_user_name": "string",
											"oauth_connected_at": "string"
										},
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z",
										"last_sync_at": "2026-01-01T00:00:00.000Z",
										"last_error": "string"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"company_id": "00000000-0000-0000-0000-000000000000",
											"platform": "string",
											"meta_user_id": "string",
											"meta_page_id": "string",
											"meta_instagram_account_id": "string",
											"account_name": "string",
											"username": "string",
											"access_token_encrypted": "string",
											"refresh_token_encrypted": "string",
											"token_expires_at": "2026-01-01T00:00:00.000Z",
											"scopes": ["string"],
											"status": "string",
											"metadata": {
												"connected_via": "string",
												"meta_user_name": "string",
												"oauth_connected_at": "string"
											},
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"last_sync_at": "2026-01-01T00:00:00.000Z",
											"last_error": "string"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/TenantSocialOauthPendingConnections"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"company_id": "00000000-0000-0000-0000-000000000000",
												"user_id": "00000000-0000-0000-0000-000000000000",
												"provider": "string",
												"access_token_encrypted": "string",
												"token_expires_at": "2026-01-01T00:00:00.000Z",
												"scopes": ["string"],
												"options": {
													"status": "string",
													"source": "string",
													"note": "string"
												},
												"expires_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"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": {
										"$ref": "#/components/schemas/Companies"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"slug": "string",
												"name": "string",
												"timezone": "string",
												"is_active": true,
												"is_default": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/WholesaleRoutePlans"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"route_date": "2026-01-01",
												"fulfillment_location_id": 1,
												"hub_location_id": 1,
												"hub_lat": 1,
												"hub_lng": 1,
												"status": "string",
												"optimized_at": "2026-01-01T00:00:00.000Z",
												"route_polyline": "string",
												"total_distance_meters": 1,
												"total_drive_seconds": 1,
												"total_stop_seconds": 1,
												"total_estimated_seconds": 1,
												"stop_time_minutes": 1,
												"eta_mode": "string",
												"last_routed_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/WholesaleSavedAdjustments"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"label": "string",
												"amount": 1,
												"is_percentage": true,
												"is_visible": true,
												"created_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/WholesaleSavedAdjustments"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"amount": 1,
											"is_percentage": true,
											"is_visible": true,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/WholesaleSavedAdjustments"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/WholesaleSavedAdjustments"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"amount": 1,
										"is_percentage": true,
										"is_visible": true,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"amount": 1,
											"is_percentage": true,
											"is_visible": true,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/WholesaleSavedAdjustments"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"amount": 1,
											"is_percentage": true,
											"is_visible": true,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/WholesaleSavedAdjustments"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/WholesaleSavedAdjustments"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"label": "string",
										"amount": 1,
										"is_percentage": true,
										"is_visible": true,
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"label": "string",
											"amount": 1,
											"is_percentage": true,
											"is_visible": true,
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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
							}
						},
						"application/json": {
							"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": {
										"$ref": "#/components/schemas/KnowledgeAssets"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"storage_path": "string",
												"file_name": "string",
												"file_extension": "string",
												"mime_type": "string",
												"file_size": 1,
												"checksum": "string",
												"description": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"equipment_file_kind": "string",
													"equipment_id": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
										"$ref": "#/components/schemas/KnowledgeAssets"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"storage_path": "string",
												"file_name": "string",
												"file_extension": "string",
												"mime_type": "string",
												"file_size": 1,
												"checksum": "string",
												"description": "string",
												"created_by": "00000000-0000-0000-0000-000000000000",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z",
												"last_used_at": "2026-01-01T00:00:00.000Z",
												"metadata": {
													"equipment_file_kind": "string",
													"equipment_id": "string"
												}
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/KnowledgeAssets"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"storage_path": "string",
											"file_name": "string",
											"file_extension": "string",
											"mime_type": "string",
											"file_size": 1,
											"checksum": "string",
											"description": "string",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z",
											"last_used_at": "2026-01-01T00:00:00.000Z",
											"metadata": {
												"equipment_file_kind": "string",
												"equipment_id": "string"
											}
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KnowledgeAssets"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KnowledgeAssets"
										}
									}
								]
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/KnowledgeFileSyncJobs"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"source_table": "string",
											"source_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"status": "string",
											"attempt_count": 1,
											"last_error": "string",
											"payload": {
												"gemini_source_checksum": {
													"status": "string",
													"source": "string",
													"note": "string"
												}
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/KnowledgeFileSyncJobs"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/KnowledgeFileSyncJobs"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"source_table": "string",
										"source_id": "00000000-0000-0000-0000-000000000000",
										"action": "string",
										"status": "string",
										"attempt_count": 1,
										"last_error": "string",
										"payload": {
											"gemini_source_checksum": {
												"status": "string",
												"source": "string",
												"note": "string"
											}
										},
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"source_table": "string",
											"source_id": "00000000-0000-0000-0000-000000000000",
											"action": "string",
											"status": "string",
											"attempt_count": 1,
											"last_error": "string",
											"payload": {
												"gemini_source_checksum": {
													"status": "string",
													"source": "string",
													"note": "string"
												}
											},
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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/internal_transfers/cost_summary": {
			"get": {
				"tags": ["order"],
				"summary": "List cost summary",
				"operationId": "getApiV1OrderInternal_transfersCost_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/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": {
									"$ref": "#/components/schemas/RecipeUserStars"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"user_id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"scale_multiple": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/RecipeUserStars"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/RecipeUserStars"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"user_id": "00000000-0000-0000-0000-000000000000",
										"recipe_id": 1,
										"scale_multiple": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"user_id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"scale_multiple": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"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": {
									"$ref": "#/components/schemas/RecipeUserStars"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"user_id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"scale_multiple": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/RecipeUserStars"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/RecipeUserStars"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"user_id": "00000000-0000-0000-0000-000000000000",
										"recipe_id": 1,
										"scale_multiple": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"user_id": "00000000-0000-0000-0000-000000000000",
											"recipe_id": 1,
											"scale_multiple": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/TimeclockPolicy"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"location_id": 1,
												"allow_early_clock_in_minutes": 1,
												"allow_late_clock_in_minutes": 1,
												"restrict_to_scheduled_shift": true,
												"require_photo": true,
												"allow_offline_queue": true,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/TimeclockPolicy"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"location_id": 1,
											"allow_early_clock_in_minutes": 1,
											"allow_late_clock_in_minutes": 1,
											"restrict_to_scheduled_shift": true,
											"require_photo": true,
											"allow_offline_queue": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TimeclockPolicy"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TimeclockPolicy"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"location_id": 1,
										"allow_early_clock_in_minutes": 1,
										"allow_late_clock_in_minutes": 1,
										"restrict_to_scheduled_shift": true,
										"require_photo": true,
										"allow_offline_queue": true,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"location_id": 1,
											"allow_early_clock_in_minutes": 1,
											"allow_late_clock_in_minutes": 1,
											"restrict_to_scheduled_shift": true,
											"require_photo": true,
											"allow_offline_queue": true,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/ShiftRole"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"name": "string",
												"is_active": true,
												"sort_order": 1,
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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": {
									"$ref": "#/components/schemas/ShiftRole"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"name": "string",
											"is_active": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/ShiftRole"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/ShiftRole"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"name": "string",
										"is_active": true,
										"sort_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"name": "string",
											"is_active": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			},
			"patch": {
				"tags": ["schedule"],
				"summary": "Update roles",
				"operationId": "patchApiV1ScheduleRoles",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ShiftRole"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"name": "string",
											"is_active": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/ShiftRole"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/ShiftRole"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"name": "string",
										"is_active": true,
										"sort_order": 1,
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"name": "string",
											"is_active": true,
											"sort_order": 1,
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/TimeEntry"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"clock_in_at": "2026-01-01T00:00:00.000Z",
											"clock_out_at": "2026-01-01T00:00:00.000Z",
											"clock_in_photo_url": "string",
											"clock_out_photo_url": "string",
											"source_device_id": "00000000-0000-0000-0000-000000000000",
											"manually_edited": true,
											"edit_reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TimeEntry"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TimeEntry"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"user_id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"clock_in_at": "2026-01-01T00:00:00.000Z",
										"clock_out_at": "2026-01-01T00:00:00.000Z",
										"clock_in_photo_url": "string",
										"clock_out_photo_url": "string",
										"source_device_id": "00000000-0000-0000-0000-000000000000",
										"manually_edited": true,
										"edit_reason": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"user_id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"clock_in_at": "2026-01-01T00:00:00.000Z",
											"clock_out_at": "2026-01-01T00:00:00.000Z",
											"clock_in_photo_url": "string",
											"clock_out_photo_url": "string",
											"source_device_id": "00000000-0000-0000-0000-000000000000",
											"manually_edited": true,
											"edit_reason": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
									"$ref": "#/components/schemas/TimeclockSetupCode"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"code": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"used_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TimeclockSetupCode"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TimeclockSetupCode"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"code": "string",
										"expires_at": "2026-01-01T00:00:00.000Z",
										"used_at": "2026-01-01T00:00:00.000Z",
										"created_by": "00000000-0000-0000-0000-000000000000",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"code": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"used_at": "2026-01-01T00:00:00.000Z",
											"created_by": "00000000-0000-0000-0000-000000000000",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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/accounting/bank-feeds/nightly": {
			"post": {
				"tags": ["accounting"],
				"summary": "Upsert nightly",
				"operationId": "postApiInternalAccountingBank-feedsNightly",
				"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/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/mcp": {
			"post": {
				"tags": ["misc"],
				"summary": "Upsert mcp",
				"operationId": "postApiMcp",
				"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": ["misc"],
				"summary": "List mcp",
				"operationId": "getApiMcp",
				"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": ["misc"],
				"summary": "Delete mcp",
				"operationId": "deleteApiMcp",
				"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/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": {
										"$ref": "#/components/schemas/UsdaNutrientDefinitions"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"nutrient_id": 1,
												"nutrient_name": "string",
												"unit_name": "string",
												"display_order": 1,
												"recommended_daily_value": 1
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"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": {
									"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
											"request_type": "string",
											"new_ssn_ciphertext": "string",
											"new_ssn_nonce": "string",
											"new_ssn_last4": "string",
											"new_routing_ciphertext": "string",
											"new_routing_nonce": "string",
											"new_routing_last4": "string",
											"new_account_ciphertext": "string",
											"new_account_nonce": "string",
											"new_account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"status": "string",
											"email_token_hash": "string",
											"email_sent_to": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"applied_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/PayrollSensitiveChangeRequests"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"employee_user_id": "00000000-0000-0000-0000-000000000000",
										"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
										"request_type": "string",
										"new_ssn_ciphertext": "string",
										"new_ssn_nonce": "string",
										"new_ssn_last4": "string",
										"new_routing_ciphertext": "string",
										"new_routing_nonce": "string",
										"new_routing_last4": "string",
										"new_account_ciphertext": "string",
										"new_account_nonce": "string",
										"new_account_last4": "string",
										"key_version": "string",
										"cipher_algo": "string",
										"status": "string",
										"email_token_hash": "string",
										"email_sent_to": "string",
										"expires_at": "2026-01-01T00:00:00.000Z",
										"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
										"approved_at": "2026-01-01T00:00:00.000Z",
										"applied_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"employee_user_id": "00000000-0000-0000-0000-000000000000",
											"requested_by_user_id": "00000000-0000-0000-0000-000000000000",
											"request_type": "string",
											"new_ssn_ciphertext": "string",
											"new_ssn_nonce": "string",
											"new_ssn_last4": "string",
											"new_routing_ciphertext": "string",
											"new_routing_nonce": "string",
											"new_routing_last4": "string",
											"new_account_ciphertext": "string",
											"new_account_nonce": "string",
											"new_account_last4": "string",
											"key_version": "string",
											"cipher_algo": "string",
											"status": "string",
											"email_token_hash": "string",
											"email_sent_to": "string",
											"expires_at": "2026-01-01T00:00:00.000Z",
											"approved_by_user_id": "00000000-0000-0000-0000-000000000000",
											"approved_at": "2026-01-01T00:00:00.000Z",
											"applied_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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": {
										"$ref": "#/components/schemas/RecipeComponents"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"recipe_id": 1,
												"item_id": 1,
												"unit_id": 1,
												"quantity": 1,
												"recipe_order": 1,
												"company_id": "00000000-0000-0000-0000-000000000000"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"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": {
										"$ref": "#/components/schemas/Recipes"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"category_id": 1,
												"yield": 1,
												"nutrition_published": true,
												"units_unit_id": 1,
												"units_per_case": 1,
												"preferred_price": 1,
												"baker_percent": true,
												"directions": [
													{
														"id": 1,
														"text": "string"
													}
												],
												"notes": "string",
												"planning_visible": true,
												"batch": true,
												"bread_recipe": true,
												"bread_fermentation_time_minutes": 1,
												"bread_fermentation_temp_f": 1,
												"bread_mix_type": "string"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"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": {
										"$ref": "#/components/schemas/Units"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": 1,
												"unitName": "string",
												"unitAbbreviation": "string",
												"visible": true,
												"conversionFactor": 1,
												"nutrient": true,
												"metricUnit": 1,
												"standard_unit": true
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"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": {
									"$ref": "#/components/schemas/UserOnboarding"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": true
										}
									}
								}
							}
						}
					},
					"400": {
						"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": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/UserOnboarding"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/UserOnboarding"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": 1,
										"email": "string",
										"created_at": "2026-01-01T00:00:00.000Z",
										"name": "string",
										"birthdate": "2026-01-01",
										"locations": [1],
										"role": 1,
										"active": true,
										"phone": "string",
										"address": "string",
										"city": "string",
										"state": "string",
										"zip": 1,
										"emergency_name": "string",
										"emergency_phone": "string",
										"processed": true,
										"password": "string",
										"ssn_last4": "string",
										"tax_info_skipped": true,
										"federal_json": {
											"deductions": 1,
											"dependents_amount": 1,
											"exempt": true,
											"extra_withholding": 1,
											"filing_status": "string",
											"multiple_jobs": true,
											"other_income": 1,
											"w4_year": 1
										},
										"az_json": {
											"extra_withholding": 1,
											"rate": 1,
											"zero_withholding": true
										},
										"ssn_ciphertext": "string",
										"ssn_nonce": "string",
										"routing_ciphertext": "string",
										"routing_nonce": "string",
										"account_ciphertext": "string",
										"account_nonce": "string",
										"routing_last4": "string",
										"account_last4": "string",
										"key_version": 1,
										"cipher_algo": "string",
										"w2_electronic_consent": true,
										"company_id": "00000000-0000-0000-0000-000000000000",
										"accepted_terms_of_service": true,
										"acknowledged_privacy_policy": true
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": 1,
											"email": "string",
											"created_at": "2026-01-01T00:00:00.000Z",
											"name": "string",
											"birthdate": "2026-01-01",
											"locations": [1],
											"role": 1,
											"active": true,
											"phone": "string",
											"address": "string",
											"city": "string",
											"state": "string",
											"zip": 1,
											"emergency_name": "string",
											"emergency_phone": "string",
											"processed": true,
											"password": "string",
											"ssn_last4": "string",
											"tax_info_skipped": true,
											"federal_json": {
												"deductions": 1,
												"dependents_amount": 1,
												"exempt": true,
												"extra_withholding": 1,
												"filing_status": "string",
												"multiple_jobs": true,
												"other_income": 1,
												"w4_year": 1
											},
											"az_json": {
												"extra_withholding": 1,
												"rate": 1,
												"zero_withholding": true
											},
											"ssn_ciphertext": "string",
											"ssn_nonce": "string",
											"routing_ciphertext": "string",
											"routing_nonce": "string",
											"account_ciphertext": "string",
											"account_nonce": "string",
											"routing_last4": "string",
											"account_last4": "string",
											"key_version": 1,
											"cipher_algo": "string",
											"w2_electronic_consent": true,
											"company_id": "00000000-0000-0000-0000-000000000000",
											"accepted_terms_of_service": true,
											"acknowledged_privacy_policy": 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/command": {
			"get": {
				"tags": ["misc"],
				"summary": "List command",
				"operationId": "getApiTvCommand",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"type": "array",
									"items": {
										"$ref": "#/components/schemas/TvDisplayDevice"
									}
								},
								"examples": {
									"success": {
										"summary": "Successful list response",
										"value": [
											{
												"id": "00000000-0000-0000-0000-000000000000",
												"location_id": 1,
												"nickname": "string",
												"device_token_hash": "string",
												"enabled": true,
												"sync_enabled": true,
												"orientation": "string",
												"rotation_seconds": 1,
												"theme": "string",
												"theme_mode": "string",
												"show_background_motion": true,
												"holiday_theme_enabled": true,
												"holiday_theme_overrides": {
													"id": "string",
													"name": "string",
													"status": "string"
												},
												"force_revalidate_after_days": 1,
												"last_seen_at": "2026-01-01T00:00:00.000Z",
												"revoked_at": "2026-01-01T00:00:00.000Z",
												"created_at": "2026-01-01T00:00:00.000Z",
												"updated_at": "2026-01-01T00:00:00.000Z"
											}
										]
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"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 command",
				"operationId": "postApiTvCommand",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TvDisplayDevice"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"nickname": "string",
											"device_token_hash": "string",
											"enabled": true,
											"sync_enabled": true,
											"orientation": "string",
											"rotation_seconds": 1,
											"theme": "string",
											"theme_mode": "string",
											"show_background_motion": true,
											"holiday_theme_enabled": true,
											"holiday_theme_overrides": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"force_revalidate_after_days": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"revoked_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TvDisplayDevice"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TvDisplayDevice"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"nickname": "string",
										"device_token_hash": "string",
										"enabled": true,
										"sync_enabled": true,
										"orientation": "string",
										"rotation_seconds": 1,
										"theme": "string",
										"theme_mode": "string",
										"show_background_motion": true,
										"holiday_theme_enabled": true,
										"holiday_theme_overrides": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"force_revalidate_after_days": 1,
										"last_seen_at": "2026-01-01T00:00:00.000Z",
										"revoked_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"nickname": "string",
											"device_token_hash": "string",
											"enabled": true,
											"sync_enabled": true,
											"orientation": "string",
											"rotation_seconds": 1,
											"theme": "string",
											"theme_mode": "string",
											"show_background_motion": true,
											"holiday_theme_enabled": true,
											"holiday_theme_overrides": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"force_revalidate_after_days": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"revoked_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/api/tv/setup": {
			"post": {
				"tags": ["misc"],
				"summary": "Upsert setup",
				"operationId": "postApiTvSetup",
				"description": "API endpoint.",
				"parameters": [],
				"responses": {
					"200": {
						"description": "Successful response.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/TvDisplayDevice"
								},
								"examples": {
									"success": {
										"summary": "Successful record response",
										"value": {
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"nickname": "string",
											"device_token_hash": "string",
											"enabled": true,
											"sync_enabled": true,
											"orientation": "string",
											"rotation_seconds": 1,
											"theme": "string",
											"theme_mode": "string",
											"show_background_motion": true,
											"holiday_theme_enabled": true,
											"holiday_theme_overrides": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"force_revalidate_after_days": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"revoked_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									}
								}
							}
						}
					},
					"400": {
						"description": "Bad request.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					},
					"500": {
						"description": "Server error.",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Error"
								}
							}
						}
					}
				},
				"security": [
					{
						"apiKeyAuth": []
					},
					{
						"bearerAuth": []
					},
					{
						"supabaseCookie": []
					}
				],
				"requestBody": {
					"required": true,
					"content": {
						"application/json": {
							"schema": {
								"anyOf": [
									{
										"$ref": "#/components/schemas/TvDisplayDevice"
									},
									{
										"type": "array",
										"items": {
											"$ref": "#/components/schemas/TvDisplayDevice"
										}
									}
								]
							},
							"examples": {
								"single": {
									"summary": "Single record",
									"value": {
										"id": "00000000-0000-0000-0000-000000000000",
										"location_id": 1,
										"nickname": "string",
										"device_token_hash": "string",
										"enabled": true,
										"sync_enabled": true,
										"orientation": "string",
										"rotation_seconds": 1,
										"theme": "string",
										"theme_mode": "string",
										"show_background_motion": true,
										"holiday_theme_enabled": true,
										"holiday_theme_overrides": {
											"id": "string",
											"name": "string",
											"status": "string"
										},
										"force_revalidate_after_days": 1,
										"last_seen_at": "2026-01-01T00:00:00.000Z",
										"revoked_at": "2026-01-01T00:00:00.000Z",
										"created_at": "2026-01-01T00:00:00.000Z",
										"updated_at": "2026-01-01T00:00:00.000Z"
									}
								},
								"bulk": {
									"summary": "Bulk array",
									"value": [
										{
											"id": "00000000-0000-0000-0000-000000000000",
											"location_id": 1,
											"nickname": "string",
											"device_token_hash": "string",
											"enabled": true,
											"sync_enabled": true,
											"orientation": "string",
											"rotation_seconds": 1,
											"theme": "string",
											"theme_mode": "string",
											"show_background_motion": true,
											"holiday_theme_enabled": true,
											"holiday_theme_overrides": {
												"id": "string",
												"name": "string",
												"status": "string"
											},
											"force_revalidate_after_days": 1,
											"last_seen_at": "2026-01-01T00:00:00.000Z",
											"revoked_at": "2026-01-01T00:00:00.000Z",
											"created_at": "2026-01-01T00:00:00.000Z",
											"updated_at": "2026-01-01T00:00:00.000Z"
										}
									]
								}
							}
						}
					}
				}
			}
		},
		"/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'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_payable_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"interest_expense_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"checking_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"loan_id",
					"loan_payable_account_id",
					"interest_expense_account_id",
					"created_at",
					"updated_at"
				]
			},
			"AccountingLoanExtraPayments": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_loan_extra_payments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_id": {
						"type": "string",
						"format": "uuid"
					},
					"payment_date": {
						"type": "string",
						"format": "date"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"memo": {
						"type": "string"
					},
					"posted_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"status": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"loan_id",
					"payment_date",
					"amount_cents",
					"status",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"AccountingLoanOpeningEntries": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_loan_opening_entries'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_id": {
						"type": "string",
						"format": "uuid"
					},
					"cutover_date": {
						"type": "string",
						"format": "date"
					},
					"opening_principal_cents": {
						"type": "integer",
						"format": "int64"
					},
					"posted_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"loan_id",
					"cutover_date",
					"opening_principal_cents",
					"created_at",
					"company_id"
				]
			},
			"AccountingLoanPaymentPosts": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_loan_payment_posts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_id": {
						"type": "string",
						"format": "uuid"
					},
					"square_payout_entry_id": {
						"type": "string",
						"format": "uuid"
					},
					"square_capital_payment_id": {
						"type": "string"
					},
					"payout_id": {
						"type": "string"
					},
					"effective_at": {
						"type": "string",
						"format": "date-time"
					},
					"entry_type": {
						"type": "string"
					},
					"gross_cents": {
						"type": "integer",
						"format": "int64"
					},
					"payment_cents": {
						"type": "integer",
						"format": "int64"
					},
					"principal_cents": {
						"type": "integer",
						"format": "int64"
					},
					"interest_cents": {
						"type": "integer",
						"format": "int64"
					},
					"accounting_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"status": {
						"type": "string"
					},
					"reversal_of_post_id": {
						"type": "string",
						"format": "uuid"
					},
					"error_message": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"loan_id",
					"square_payout_entry_id",
					"effective_at",
					"entry_type",
					"gross_cents",
					"payment_cents",
					"principal_cents",
					"interest_cents",
					"status",
					"created_at",
					"updated_at"
				]
			},
			"AccountingLoanScheduleLines": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_loan_schedule_lines'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_id": {
						"type": "string",
						"format": "uuid"
					},
					"installment_number": {
						"type": "integer",
						"format": "int32"
					},
					"due_date": {
						"type": "string",
						"format": "date"
					},
					"payment_amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"interest_cents": {
						"type": "integer",
						"format": "int64"
					},
					"principal_cents": {
						"type": "integer",
						"format": "int64"
					},
					"remaining_principal_cents": {
						"type": "integer",
						"format": "int64"
					},
					"status": {
						"type": "string"
					},
					"approved_at": {
						"type": "string",
						"format": "date-time"
					},
					"posted_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"loan_id",
					"installment_number",
					"due_date",
					"payment_amount_cents",
					"interest_cents",
					"principal_cents",
					"remaining_principal_cents",
					"status",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"AccountingLoans": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_loans'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"loan_type": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"square_location_id": {
						"type": "string"
					},
					"start_date": {
						"type": "string",
						"format": "date"
					},
					"status": {
						"type": "string"
					},
					"advance_amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"fixed_fee_cents": {
						"type": "integer",
						"format": "int64"
					},
					"total_owed_cents": {
						"type": "integer",
						"format": "int64"
					},
					"interest_ratio_bps": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"loan_type",
					"name",
					"square_location_id",
					"start_date",
					"status",
					"advance_amount_cents",
					"fixed_fee_cents",
					"total_owed_cents",
					"interest_ratio_bps",
					"created_at",
					"updated_at"
				]
			},
			"AccountingSquareLocationMap": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_location_map'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"square_location_id": {
						"type": "string"
					},
					"location_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["square_location_id", "location_id", "created_at"]
			},
			"AccountingSquarePayments": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_payments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payment_id": {
						"type": "string"
					},
					"location_id_square": {
						"type": "string"
					},
					"order_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"source_type": {
						"type": "string"
					},
					"external_source": {
						"type": "string"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"currency": {
						"type": "string"
					},
					"tax_cents": {
						"type": "integer",
						"format": "int64"
					},
					"tip_cents": {
						"type": "integer",
						"format": "int64"
					},
					"fee_cents": {
						"type": "integer",
						"format": "int64"
					},
					"created_at_square": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at_square": {
						"type": "string",
						"format": "date-time"
					},
					"raw_payment": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"amountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"applicationDetails": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"applicationId": {
										"type": "string"
									},
									"squareProduct": {
										"type": "string"
									}
								}
							},
							"approvedMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"buyerEmailAddress": {
								"type": "string"
							},
							"cardDetails": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"authResultCode": {
										"type": "string"
									},
									"avsStatus": {
										"type": "string"
									},
									"card": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"bin": {
												"type": "string"
											},
											"cardBrand": {
												"type": "string"
											},
											"cardType": {
												"type": "string"
											},
											"expMonth": {
												"type": "string"
											},
											"expYear": {
												"type": "string"
											},
											"fingerprint": {
												"type": "string"
											},
											"last4": {
												"type": "string"
											},
											"payment_account_reference": {
												"type": "string"
											},
											"prepaidType": {
												"type": "string"
											}
										}
									},
									"cardPaymentTimeline": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"authorizedAt": {
												"type": "string"
											},
											"capturedAt": {
												"type": "string"
											}
										}
									},
									"cvvStatus": {
										"type": "string"
									},
									"entryMethod": {
										"type": "string"
									},
									"statementDescription": {
										"type": "string"
									},
									"status": {
										"type": "string"
									}
								}
							},
							"createdAt": {
								"type": "string"
							},
							"customerId": {
								"type": "string"
							},
							"delayAction": {
								"type": "string"
							},
							"delayDuration": {
								"type": "string"
							},
							"delayedUntil": {
								"type": "string"
							},
							"employeeId": {
								"type": "string"
							},
							"id": {
								"type": "string"
							},
							"locationId": {
								"type": "string"
							},
							"orderId": {
								"type": "string"
							},
							"processingFee": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"amountMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"effectiveAt": {
											"type": "string"
										},
										"type": {
											"type": "string"
										}
									}
								}
							},
							"receiptNumber": {
								"type": "string"
							},
							"receiptUrl": {
								"type": "string"
							},
							"riskEvaluation": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"createdAt": {
										"type": "string"
									},
									"riskLevel": {
										"type": "string"
									}
								}
							},
							"sourceType": {
								"type": "string"
							},
							"status": {
								"type": "string"
							},
							"teamMemberId": {
								"type": "string"
							},
							"totalMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"updatedAt": {
								"type": "string"
							},
							"versionToken": {
								"type": "string"
							}
						}
					},
					"raw_order": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"closedAt": {
								"type": "string"
							},
							"createdAt": {
								"type": "string"
							},
							"customerId": {
								"type": "string"
							},
							"id": {
								"type": "string"
							},
							"lineItems": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"appliedTaxes": {
											"type": "array",
											"items": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"appliedMoney": {
														"type": "object",
														"additionalProperties": false,
														"properties": {
															"amount": {
																"type": "object",
																"additionalProperties": false,
																"properties": {
																	"id": {
																		"type": "string"
																	},
																	"name": {
																		"type": "string"
																	},
																	"status": {
																		"type": "string"
																	}
																}
															},
															"currency": {
																"type": "object",
																"additionalProperties": false,
																"properties": {
																	"id": {
																		"type": "string"
																	},
																	"name": {
																		"type": "string"
																	},
																	"status": {
																		"type": "string"
																	}
																}
															}
														}
													},
													"taxUid": {
														"type": "string"
													},
													"uid": {
														"type": "string"
													}
												}
											}
										},
										"basePriceMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"catalogObjectId": {
											"type": "string"
										},
										"catalogVersion": {
											"type": "string"
										},
										"grossSalesMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"itemType": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"quantity": {
											"type": "string"
										},
										"totalDiscountMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"totalMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"totalServiceChargeMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"totalTaxMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"total_card_surcharge_money": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "integer"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"uid": {
											"type": "string"
										},
										"variationName": {
											"type": "string"
										},
										"variationTotalPriceMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										}
									}
								}
							},
							"locationId": {
								"type": "string"
							},
							"netAmountDueMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"netAmounts": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"card_surcharge_money": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"amount": {
												"type": "integer"
											},
											"currency": {
												"type": "string"
											}
										}
									},
									"discountMoney": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"amount": {
												"type": "string"
											},
											"currency": {
												"type": "string"
											}
										}
									},
									"serviceChargeMoney": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"amount": {
												"type": "string"
											},
											"currency": {
												"type": "string"
											}
										}
									},
									"taxMoney": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"amount": {
												"type": "string"
											},
											"currency": {
												"type": "string"
											}
										}
									},
									"tipMoney": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"amount": {
												"type": "string"
											},
											"currency": {
												"type": "string"
											}
										}
									},
									"totalMoney": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"amount": {
												"type": "string"
											},
											"currency": {
												"type": "string"
											}
										}
									}
								}
							},
							"source": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"name": {
										"type": "string"
									}
								}
							},
							"state": {
								"type": "string"
							},
							"taxes": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"appliedMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"catalogObjectId": {
											"type": "string"
										},
										"catalogVersion": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"percentage": {
											"type": "string"
										},
										"scope": {
											"type": "string"
										},
										"type": {
											"type": "string"
										},
										"uid": {
											"type": "string"
										}
									}
								}
							},
							"tenders": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"amountMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"cardDetails": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"card": {
													"type": "object",
													"additionalProperties": false,
													"properties": {
														"bin": {
															"type": "string"
														},
														"cardBrand": {
															"type": "string"
														},
														"cardType": {
															"type": "string"
														},
														"expMonth": {
															"type": "string"
														},
														"expYear": {
															"type": "string"
														},
														"fingerprint": {
															"type": "string"
														},
														"last4": {
															"type": "string"
														},
														"prepaidType": {
															"type": "string"
														}
													}
												},
												"entryMethod": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"createdAt": {
											"type": "string"
										},
										"id": {
											"type": "string"
										},
										"locationId": {
											"type": "string"
										},
										"paymentId": {
											"type": "string"
										},
										"transactionId": {
											"type": "string"
										},
										"type": {
											"type": "string"
										}
									}
								}
							},
							"totalDiscountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"totalMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"totalServiceChargeMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"totalTaxMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"totalTipMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"total_card_surcharge_money": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "integer"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"updatedAt": {
								"type": "string"
							},
							"version": {
								"type": "integer"
							}
						}
					},
					"import_status": {
						"type": "string"
					},
					"import_error": {
						"type": "string"
					},
					"imported_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"payment_id",
					"location_id_square",
					"amount_cents",
					"currency",
					"tax_cents",
					"tip_cents",
					"fee_cents",
					"raw_payment",
					"import_status",
					"created_at",
					"updated_at"
				]
			},
			"AccountingSquarePayoutEntries": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_payout_entries'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payout_entry_id": {
						"type": "string"
					},
					"payout_id": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"payment_id": {
						"type": "string"
					},
					"refund_id": {
						"type": "string"
					},
					"gross_cents": {
						"type": "integer",
						"format": "int64"
					},
					"fee_cents": {
						"type": "integer",
						"format": "int64"
					},
					"net_cents": {
						"type": "integer",
						"format": "int64"
					},
					"effective_at": {
						"type": "string",
						"format": "date-time"
					},
					"raw_entry": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"effectiveAt": {
								"type": "string"
							},
							"feeAmountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency_code": {
										"type": "string"
									}
								}
							},
							"grossAmountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency_code": {
										"type": "string"
									}
								}
							},
							"id": {
								"type": "string"
							},
							"netAmountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency_code": {
										"type": "string"
									}
								}
							},
							"payoutId": {
								"type": "string"
							},
							"type": {
								"type": "string"
							},
							"typeSquareCapitalPaymentDetails": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"paymentId": {
										"type": "string"
									}
								}
							}
						}
					}
				},
				"required": [
					"payout_entry_id",
					"payout_id",
					"type",
					"gross_cents",
					"fee_cents",
					"net_cents",
					"raw_entry"
				]
			},
			"AccountingSquarePayouts": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_payouts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payout_id": {
						"type": "string"
					},
					"location_id_square": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"currency": {
						"type": "string"
					},
					"arrival_date": {
						"type": "string",
						"format": "date"
					},
					"destination_type": {
						"type": "string"
					},
					"destination_id": {
						"type": "string"
					},
					"created_at_square": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at_square": {
						"type": "string",
						"format": "date-time"
					},
					"raw_payout": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"amountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency_code": {
										"type": "string"
									}
								}
							},
							"arrivalDate": {
								"type": "string"
							},
							"createdAt": {
								"type": "string"
							},
							"destination": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"id": {
										"type": "string"
									},
									"type": {
										"type": "string"
									}
								}
							},
							"endToEndId": {
								"type": "string"
							},
							"id": {
								"type": "string"
							},
							"locationId": {
								"type": "string"
							},
							"status": {
								"type": "string"
							},
							"type": {
								"type": "string"
							},
							"updatedAt": {
								"type": "string"
							},
							"version": {
								"type": "integer"
							}
						}
					},
					"import_status": {
						"type": "string"
					},
					"import_error": {
						"type": "string"
					},
					"imported_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"payout_id",
					"location_id_square",
					"amount_cents",
					"currency",
					"raw_payout",
					"import_status",
					"created_at",
					"updated_at"
				]
			},
			"AccountingSquareRefunds": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_refunds'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"refund_id": {
						"type": "string"
					},
					"payment_id": {
						"type": "string"
					},
					"order_id": {
						"type": "string"
					},
					"location_id_square": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"currency": {
						"type": "string"
					},
					"tax_cents": {
						"type": "integer",
						"format": "int64"
					},
					"tip_cents": {
						"type": "integer",
						"format": "int64"
					},
					"fee_cents": {
						"type": "integer",
						"format": "int64"
					},
					"reason": {
						"type": "string"
					},
					"created_at_square": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at_square": {
						"type": "string",
						"format": "date-time"
					},
					"raw_refund": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"amountMoney": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"amount": {
										"type": "string"
									},
									"currency": {
										"type": "string"
									}
								}
							},
							"createdAt": {
								"type": "string"
							},
							"destinationType": {
								"type": "string"
							},
							"id": {
								"type": "string"
							},
							"locationId": {
								"type": "string"
							},
							"orderId": {
								"type": "string"
							},
							"paymentId": {
								"type": "string"
							},
							"processingFee": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"amountMoney": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"amount": {
													"type": "string"
												},
												"currency": {
													"type": "string"
												}
											}
										},
										"effectiveAt": {
											"type": "string"
										},
										"type": {
											"type": "string"
										}
									}
								}
							},
							"reason": {
								"type": "string"
							},
							"status": {
								"type": "string"
							},
							"updatedAt": {
								"type": "string"
							}
						}
					},
					"import_status": {
						"type": "string"
					},
					"import_error": {
						"type": "string"
					},
					"imported_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"refund_id",
					"location_id_square",
					"amount_cents",
					"currency",
					"tax_cents",
					"tip_cents",
					"fee_cents",
					"raw_refund",
					"import_status",
					"created_at",
					"updated_at"
				]
			},
			"AccountingSquareSourceMap": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_source_map'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"source_key": {
						"type": "string"
					},
					"source_label": {
						"type": "string"
					},
					"sales_channel_id": {
						"type": "string",
						"format": "uuid"
					},
					"enabled": {
						"type": "boolean"
					},
					"ignore": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"location_id",
					"source_key",
					"source_label",
					"enabled",
					"ignore",
					"created_at",
					"updated_at"
				]
			},
			"AccountingSquareWebhookEvents": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_square_webhook_events'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"event_id": {
						"type": "string"
					},
					"event_type": {
						"type": "string"
					},
					"merchant_id": {
						"type": "string"
					},
					"payload": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"created_at": {
								"type": "string"
							},
							"data": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"id": {
										"type": "string"
									},
									"object": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"payout": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"amount_money": {
														"type": "object",
														"additionalProperties": false,
														"properties": {
															"amount": {
																"type": "integer"
															},
															"currency_code": {
																"type": "string"
															}
														}
													},
													"arrival_date": {
														"type": "string"
													},
													"created_at": {
														"type": "string"
													},
													"destination": {
														"type": "object",
														"additionalProperties": false,
														"properties": {
															"id": {
																"type": "string"
															},
															"type": {
																"type": "string"
															}
														}
													},
													"end_to_end_id": {
														"type": "string"
													},
													"id": {
														"type": "string"
													},
													"location_id": {
														"type": "string"
													},
													"status": {
														"type": "string"
													},
													"type": {
														"type": "string"
													},
													"updated_at": {
														"type": "string"
													},
													"version": {
														"type": "integer"
													}
												}
											}
										}
									},
									"type": {
										"type": "string"
									}
								}
							},
							"event_id": {
								"type": "string"
							},
							"location_id": {
								"type": "string"
							},
							"merchant_id": {
								"type": "string"
							},
							"type": {
								"type": "string"
							}
						}
					},
					"signature_valid": {
						"type": "boolean"
					},
					"received_at": {
						"type": "string",
						"format": "date-time"
					},
					"processed_at": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					}
				},
				"required": [
					"event_id",
					"event_type",
					"payload",
					"signature_valid",
					"received_at",
					"status"
				]
			},
			"AccountingStripePayments": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_stripe_payments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"charge_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"payment_method_type": {
						"type": "string"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"currency": {
						"type": "string"
					},
					"fee_cents": {
						"type": "integer",
						"format": "int64"
					},
					"created_at_stripe": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at_stripe": {
						"type": "string",
						"format": "date-time"
					},
					"raw_charge": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"object": {
								"type": "string"
							},
							"status": {
								"type": "string"
							},
							"type": {
								"type": "string"
							}
						}
					},
					"import_status": {
						"type": "string"
					},
					"import_error": {
						"type": "string"
					},
					"imported_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				}
			},
			"AccountingStripePayouts": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_stripe_payouts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payout_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"currency": {
						"type": "string"
					},
					"arrival_date": {
						"type": "string",
						"format": "date"
					},
					"destination_id": {
						"type": "string"
					},
					"raw_payout": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"object": {
								"type": "string"
							},
							"status": {
								"type": "string"
							},
							"type": {
								"type": "string"
							}
						}
					},
					"import_status": {
						"type": "string"
					},
					"import_error": {
						"type": "string"
					},
					"imported_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				}
			},
			"AccountingStripeWebhookEvents": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_stripe_webhook_events'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"event_id": {
						"type": "string"
					},
					"event_type": {
						"type": "string"
					},
					"account_id": {
						"type": "string"
					},
					"payload": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"account": {
								"type": "string"
							},
							"api_version": {
								"type": "string"
							},
							"context": {
								"type": "string"
							},
							"created": {
								"type": "integer"
							},
							"data": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"object": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"account_holder": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"customer": {
														"type": "string"
													},
													"type": {
														"type": "string"
													}
												}
											},
											"account_numbers": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"id": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"status": {
														"type": "string"
													}
												}
											},
											"balance": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"id": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"status": {
														"type": "string"
													}
												}
											},
											"balance_refresh": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"id": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"status": {
														"type": "string"
													}
												}
											},
											"category": {
												"type": "string"
											},
											"created": {
												"type": "integer"
											},
											"display_name": {
												"type": "string"
											},
											"id": {
												"type": "string"
											},
											"institution_name": {
												"type": "string"
											},
											"last4": {
												"type": "string"
											},
											"livemode": {
												"type": "boolean"
											},
											"object": {
												"type": "string"
											},
											"ownership": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"id": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"status": {
														"type": "string"
													}
												}
											},
											"ownership_refresh": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"id": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"status": {
														"type": "string"
													}
												}
											},
											"permissions": {
												"type": "array",
												"items": {
													"type": "string"
												}
											},
											"status": {
												"type": "string"
											},
											"subcategory": {
												"type": "string"
											},
											"subscriptions": {
												"type": "array",
												"items": {
													"type": "string"
												}
											},
											"supported_payment_method_types": {
												"type": "array",
												"items": {
													"type": "string"
												}
											},
											"transaction_refresh": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"id": {
														"type": "string"
													},
													"name": {
														"type": "string"
													},
													"status": {
														"type": "string"
													}
												}
											}
										}
									}
								}
							},
							"id": {
								"type": "string"
							},
							"livemode": {
								"type": "boolean"
							},
							"object": {
								"type": "string"
							},
							"pending_webhooks": {
								"type": "integer"
							},
							"request": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"id": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"id": {
												"type": "string"
											},
											"name": {
												"type": "string"
											},
											"status": {
												"type": "string"
											}
										}
									},
									"idempotency_key": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"id": {
												"type": "string"
											},
											"name": {
												"type": "string"
											},
											"status": {
												"type": "string"
											}
										}
									}
								}
							},
							"type": {
								"type": "string"
							}
						}
					},
					"signature_valid": {
						"type": "boolean"
					},
					"received_at": {
						"type": "string",
						"format": "date-time"
					},
					"processed_at": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					}
				}
			},
			"ExpenseDocumentExtractions": {
				"type": "object",
				"description": "Row from Supabase table 'expense_document_extractions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"expense_document_id": {
						"type": "string",
						"format": "uuid"
					},
					"method": {
						"type": "string"
					},
					"extracted_text": {
						"type": "string"
					},
					"extracted_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"text_length": {
								"type": "integer"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"expense_document_id",
					"method",
					"extracted_text",
					"extracted_json",
					"created_at"
				]
			},
			"ExpenseDocuments": {
				"type": "object",
				"description": "Row from Supabase table 'expense_documents'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"uploaded_by": {
						"type": "string",
						"format": "uuid"
					},
					"storage_bucket": {
						"type": "string"
					},
					"storage_path": {
						"type": "string"
					},
					"original_filename": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"size_bytes": {
						"type": "integer",
						"format": "int64"
					},
					"sha256": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"uploaded_by",
					"storage_bucket",
					"storage_path",
					"original_filename",
					"mime_type",
					"size_bytes",
					"status",
					"created_at",
					"updated_at"
				]
			},
			"ExpenseDrafts": {
				"type": "object",
				"description": "Row from Supabase table 'expense_drafts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"expense_document_id": {
						"type": "string",
						"format": "uuid"
					},
					"source": {
						"type": "string"
					},
					"model_name": {
						"type": "string"
					},
					"prompt_version": {
						"type": "string"
					},
					"draft_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"charge_account_id": {
								"type": "string"
							},
							"currency": {
								"type": "string"
							},
							"expense_account_id": {
								"type": "string"
							},
							"location_id": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"id": {
										"type": "string"
									},
									"name": {
										"type": "string"
									},
									"status": {
										"type": "string"
									}
								}
							},
							"memo": {
								"type": "string"
							},
							"notes": {
								"type": "string"
							},
							"overall_confidence": {
								"type": "number"
							},
							"splits": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"amount": {
											"type": "number"
										},
										"confidence": {
											"type": "number"
										},
										"evidence": {
											"type": "array",
											"items": {
												"type": "string"
											}
										},
										"expense_account_id": {
											"type": "string"
										},
										"location_id": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"memo": {
											"type": "string"
										}
									}
								}
							},
							"total_amount": {
								"type": "number"
							},
							"transaction_date": {
								"type": "string"
							},
							"vendor": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"confidence": {
										"type": "number"
									},
									"evidence": {
										"type": "array",
										"items": {
											"type": "string"
										}
									},
									"id": {
										"type": "string"
									},
									"name": {
										"type": "string"
									}
								}
							}
						}
					},
					"validation_errors": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"expense_document_id",
					"source",
					"prompt_version",
					"draft_json",
					"validation_errors",
					"created_at"
				]
			},
			"ExpenseRules": {
				"type": "object",
				"description": "Row from Supabase table 'expense_rules'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"enabled": {
						"type": "boolean"
					},
					"priority": {
						"type": "string"
					},
					"match_vendor_id": {
						"type": "string",
						"format": "uuid"
					},
					"match_contains_text": {
						"type": "string"
					},
					"match_min_amount": {
						"type": "number"
					},
					"match_max_amount": {
						"type": "number"
					},
					"match_charge_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"output_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"output_expense_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"output_charge_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"notes": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"enabled",
					"priority",
					"match_contains_text",
					"created_by",
					"created_at"
				]
			},
			"GoogleDriveConnections": {
				"type": "object",
				"description": "Row from Supabase table 'google_drive_connections'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"provider": {
						"type": "string"
					},
					"google_user_email": {
						"type": "string"
					},
					"access_token_encrypted": {
						"type": "string"
					},
					"access_token_nonce": {
						"type": "string"
					},
					"refresh_token_encrypted": {
						"type": "string"
					},
					"refresh_token_nonce": {
						"type": "string"
					},
					"token_expiry": {
						"type": "string",
						"format": "date-time"
					},
					"scopes": {
						"type": "string"
					},
					"token_key_version": {
						"type": "string"
					},
					"token_cipher_algo": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"user_id",
					"provider",
					"refresh_token_encrypted",
					"refresh_token_nonce",
					"scopes",
					"token_key_version",
					"token_cipher_algo",
					"created_at",
					"updated_at"
				]
			},
			"GoogleDriveImportJobs": {
				"type": "object",
				"description": "Row from Supabase table 'google_drive_import_jobs'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"monitor_id": {
						"type": "string",
						"format": "uuid"
					},
					"status": {
						"type": "string"
					},
					"cutoff_date": {
						"type": "string",
						"format": "date-time"
					},
					"next_page_token": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"started_at": {
						"type": "string",
						"format": "date-time"
					},
					"finished_at": {
						"type": "string",
						"format": "date-time"
					},
					"scanned_count": {
						"type": "string"
					},
					"imported_count": {
						"type": "string"
					},
					"skipped_count": {
						"type": "string"
					},
					"error_count": {
						"type": "string"
					},
					"errors": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"fileId": {
									"type": "string"
								},
								"message": {
									"type": "string"
								}
							}
						}
					}
				},
				"required": [
					"org_id",
					"user_id",
					"monitor_id",
					"status",
					"created_at",
					"scanned_count",
					"imported_count",
					"skipped_count",
					"error_count",
					"errors"
				]
			},
			"GoogleDriveMonitors": {
				"type": "object",
				"description": "Row from Supabase table 'google_drive_monitors'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"connection_id": {
						"type": "string",
						"format": "uuid"
					},
					"folder_id": {
						"type": "string"
					},
					"folder_name": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"allowed_mime_types": {
						"type": "string"
					},
					"processed_folder_id": {
						"type": "string"
					},
					"processed_folder_name": {
						"type": "string"
					},
					"last_page_token": {
						"type": "string"
					},
					"last_synced_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"user_id",
					"connection_id",
					"folder_id",
					"enabled",
					"allowed_mime_types",
					"created_at",
					"updated_at"
				]
			},
			"GoogleDriveSyncLogs": {
				"type": "object",
				"description": "Row from Supabase table 'google_drive_sync_logs'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"monitor_id": {
						"type": "string",
						"format": "uuid"
					},
					"sync_type": {
						"type": "string"
					},
					"started_at": {
						"type": "string",
						"format": "date-time"
					},
					"finished_at": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"scanned_count": {
						"type": "string"
					},
					"imported_count": {
						"type": "string"
					},
					"skipped_count": {
						"type": "string"
					},
					"error_count": {
						"type": "string"
					},
					"errors": {
						"type": "array",
						"items": {
							"type": "string"
						}
					}
				},
				"required": [
					"org_id",
					"user_id",
					"monitor_id",
					"sync_type",
					"started_at",
					"status",
					"scanned_count",
					"imported_count",
					"skipped_count",
					"error_count",
					"errors"
				]
			},
			"WeeklyPayrollData": {
				"type": "object",
				"description": "Row from Supabase table 'weekly_payroll_data'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"week_start_date": {
						"type": "string",
						"format": "date"
					},
					"week_end_date": {
						"type": "string",
						"format": "date"
					},
					"employee_summary": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"Catering": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"hours": {
											"type": "integer"
										},
										"location": {
											"type": "string"
										},
										"overtime": {
											"type": "integer"
										},
										"tips": {
											"type": "integer"
										}
									}
								},
								"Mesa": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"hours": {
											"type": "integer"
										},
										"location": {
											"type": "string"
										},
										"overtime": {
											"type": "integer"
										},
										"tips": {
											"type": "integer"
										}
									}
								},
								"Scottsdale": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"hours": {
											"type": "number"
										},
										"location": {
											"type": "string"
										},
										"overtime": {
											"type": "integer"
										},
										"tips": {
											"type": "number"
										}
									}
								},
								"Tempe": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"hours": {
											"type": "integer"
										},
										"location": {
											"type": "string"
										},
										"overtime": {
											"type": "integer"
										},
										"tips": {
											"type": "integer"
										}
									}
								},
								"Wholesale": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"hours": {
											"type": "integer"
										},
										"location": {
											"type": "string"
										},
										"overtime": {
											"type": "integer"
										},
										"tips": {
											"type": "integer"
										}
									}
								},
								"hours": {
									"type": "number"
								},
								"name": {
									"type": "string"
								},
								"overtime": {
									"type": "integer"
								},
								"tips": {
									"type": "number"
								}
							}
						}
					},
					"tips_summary": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"location": {
									"type": "string"
								},
								"sales": {
									"type": "string"
								},
								"tips": {
									"type": "string"
								}
							}
						}
					},
					"raw_timecards": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"actual": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"delta_ci": {
											"type": "integer"
										},
										"delta_co": {
											"type": "integer"
										},
										"duration": {
											"type": "integer"
										},
										"duration_paid": {
											"type": "integer"
										},
										"end_time": {
											"type": "string"
										},
										"paid_break": {
											"type": "integer"
										},
										"start_time": {
											"type": "string"
										},
										"unpaid_break": {
											"type": "integer"
										}
									}
								},
								"adj_at": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"status": {
											"type": "string"
										}
									}
								},
								"adj_by": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"status": {
											"type": "string"
										}
									}
								},
								"adjusted": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"delta_ci": {
											"type": "integer"
										},
										"delta_co": {
											"type": "integer"
										},
										"duration": {
											"type": "integer"
										},
										"duration_paid": {
											"type": "integer"
										},
										"end_time": {
											"type": "string"
										},
										"paid_break": {
											"type": "integer"
										},
										"start_time": {
											"type": "string"
										},
										"unpaid_break": {
											"type": "integer"
										}
									}
								},
								"approved_at": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"status": {
											"type": "string"
										}
									}
								},
								"approved_by": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"status": {
											"type": "string"
										}
									}
								},
								"costs": {
									"type": "array",
									"items": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"category": {
												"type": "string"
											},
											"cost": {
												"type": "integer"
											},
											"duration": {
												"type": "integer"
											},
											"factor": {
												"type": "integer"
											},
											"label": {
												"type": "string"
											},
											"rule_code": {
												"type": "string"
											},
											"rule_code_order": {
												"type": "integer"
											},
											"type": {
												"type": "string"
											}
										}
									}
								},
								"duration": {
									"type": "integer"
								},
								"events": {
									"type": "array",
									"items": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"bio_type": {
												"type": "string"
											},
											"bio_value": {
												"type": "string"
											},
											"event_time": {
												"type": "string"
											},
											"event_time_utc": {
												"type": "string"
											},
											"event_type": {
												"type": "string"
											},
											"id": {
												"type": "string"
											},
											"source": {
												"type": "string"
											}
										}
									}
								},
								"flagged": {
									"type": "boolean"
								},
								"id": {
									"type": "string"
								},
								"is_adjusted": {
									"type": "boolean"
								},
								"last_event_time": {
									"type": "string"
								},
								"location": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"avatar_url": {
											"type": "string"
										},
										"currency": {
											"type": "string"
										},
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										}
									}
								},
								"manager_notes": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										},
										"status": {
											"type": "string"
										}
									}
								},
								"marked_as": {
									"type": "string"
								},
								"marked_at": {
									"type": "string"
								},
								"marked_by": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"avatar_url": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										}
									}
								},
								"overtime": {
									"type": "integer"
								},
								"overtime_mins": {
									"type": "integer"
								},
								"payrolled": {
									"type": "boolean"
								},
								"schedule": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"avatar_url": {
											"type": "string"
										},
										"id": {
											"type": "string"
										},
										"locale": {
											"type": "string"
										},
										"location_id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										}
									}
								},
								"shift": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"address_label": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"address_type": {
											"type": "integer"
										},
										"duration": {
											"type": "integer"
										},
										"duration_paid": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"end_at": {
											"type": "string"
										},
										"end_at_utc": {
											"type": "string"
										},
										"id": {
											"type": "string"
										},
										"lat": {
											"type": "number"
										},
										"lng": {
											"type": "number"
										},
										"owner_id": {
											"type": "string"
										},
										"paid_break": {
											"type": "integer"
										},
										"paid_mins": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"position_id": {
											"type": "string"
										},
										"position_title": {
											"type": "string"
										},
										"rate": {
											"type": "integer"
										},
										"scheduled": {
											"type": "boolean"
										},
										"sections": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"skill_set_id": {
											"type": "integer"
										},
										"start_at": {
											"type": "string"
										},
										"start_at_utc": {
											"type": "string"
										},
										"timeline": {
											"type": "string"
										},
										"timezone": {
											"type": "string"
										},
										"unpaid_break": {
											"type": "integer"
										}
									}
								},
								"status": {
									"type": "string"
								},
								"timeline": {
									"type": "string"
								},
								"total_cost": {
									"type": "integer"
								},
								"updated_at": {
									"type": "string"
								},
								"warnings": {
									"type": "array",
									"items": {
										"type": "string"
									}
								},
								"worker": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"avatar_url": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"id": {
													"type": "string"
												},
												"name": {
													"type": "string"
												},
												"status": {
													"type": "string"
												}
											}
										},
										"id": {
											"type": "string"
										},
										"name": {
											"type": "string"
										}
									}
								},
								"worker_notes": {
									"type": "string"
								}
							}
						}
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"week_start_date",
					"week_end_date",
					"employee_summary",
					"tips_summary",
					"raw_timecards",
					"company_id"
				]
			},
			"PayrollAccountingAccountMap": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_accounting_account_map'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"component_key": {
						"type": "string"
					},
					"account_id": {
						"type": "string",
						"format": "uuid"
					},
					"entry_side": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["component_key", "created_at", "updated_at"]
			},
			"PayrollAzUiRate": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_az_ui_rate'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"effective_from": {
						"type": "string",
						"format": "date"
					},
					"rate": {
						"type": "number"
					},
					"wage_base": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["effective_from", "rate", "wage_base", "created_at"]
			},
			"PayrollCompensationProfile": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_compensation_profile'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"is_active": {
						"type": "boolean"
					},
					"pay_type": {
						"type": "string"
					},
					"base_rate": {
						"type": "number"
					},
					"salary_frequency": {
						"type": "string"
					},
					"overtime_eligible": {
						"type": "boolean"
					},
					"receives_tips": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"user_id",
					"is_active",
					"pay_type",
					"overtime_eligible",
					"receives_tips",
					"created_at",
					"updated_at"
				]
			},
			"PayrollEmployeeLeavePolicy": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_employee_leave_policy'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"leave_policy_id": {
						"type": "string",
						"format": "uuid"
					},
					"start_date": {
						"type": "string",
						"format": "date"
					},
					"end_date": {
						"type": "string",
						"format": "date"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["user_id", "leave_policy_id", "start_date", "created_at"]
			},
			"PayrollEmployeeTaxProfile": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_employee_tax_profile'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"effective_from": {
						"type": "string",
						"format": "date"
					},
					"effective_to": {
						"type": "string",
						"format": "date"
					},
					"federal_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"deductions": {
								"type": "integer"
							},
							"dependents_amount": {
								"type": "integer"
							},
							"exempt": {
								"type": "boolean"
							},
							"extra_withholding": {
								"type": "integer"
							},
							"filing_status": {
								"type": "string"
							},
							"multiple_jobs": {
								"type": "boolean"
							},
							"other_income": {
								"type": "integer"
							},
							"w4_year": {
								"type": "integer"
							}
						}
					},
					"az_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"extra_withholding": {
								"type": "integer"
							},
							"rate": {
								"type": "number"
							},
							"zero_withholding": {
								"type": "boolean"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"user_id",
					"effective_from",
					"federal_json",
					"az_json",
					"created_at",
					"updated_at"
				]
			},
			"PayrollHourlyRate": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_hourly_rate'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"compensation_profile_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"role_id": {
						"type": "string",
						"format": "uuid"
					},
					"hourly_rate": {
						"type": "number"
					},
					"effective_from": {
						"type": "string",
						"format": "date"
					},
					"effective_to": {
						"type": "string",
						"format": "date"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["compensation_profile_id", "hourly_rate", "effective_from", "created_at"]
			},
			"PayrollLeaveBalance": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_leave_balance'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"leave_policy_id": {
						"type": "string",
						"format": "uuid"
					},
					"as_of_date": {
						"type": "string",
						"format": "date"
					},
					"balance_hours": {
						"type": "number"
					},
					"source": {
						"type": "string"
					},
					"note": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"user_id",
					"leave_policy_id",
					"as_of_date",
					"balance_hours",
					"source",
					"created_at"
				]
			},
			"PayrollLeavePolicy": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_leave_policy'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"is_paid": {
						"type": "boolean"
					},
					"accrual_method": {
						"type": "string"
					},
					"accrual_rate": {
						"type": "number"
					},
					"max_balance_hours": {
						"type": "number"
					},
					"location_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"name",
					"is_paid",
					"accrual_method",
					"accrual_rate",
					"created_at",
					"updated_at"
				]
			},
			"PayrollPaystub": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_paystub'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payroll_run_employee_id": {
						"type": "string",
						"format": "uuid"
					},
					"paystub_number": {
						"type": "string"
					},
					"rendered_html": {
						"type": "string"
					},
					"rendered_pdf_path": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["payroll_run_employee_id", "rendered_html", "created_at"]
			},
			"PayrollRunEarningLine": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_run_earning_line'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payroll_run_employee_id": {
						"type": "string",
						"format": "uuid"
					},
					"earning_type": {
						"type": "string"
					},
					"hours": {
						"type": "number"
					},
					"rate": {
						"type": "number"
					},
					"amount": {
						"type": "number"
					},
					"source": {
						"type": "string"
					},
					"meta": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"payroll_run_employee_id",
					"earning_type",
					"amount",
					"source",
					"meta",
					"created_at"
				]
			},
			"PayrollRunEmployee": {
				"type": "object",
				"description": "Payroll run employees. One row per employee per run.",
				"additionalProperties": false,
				"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"
					},
					"total_taxes_employee": {
						"type": "number"
					},
					"total_taxes_employer": {
						"type": "number"
					},
					"ytd_gross": {
						"type": "number"
					},
					"ytd_net": {
						"type": "number"
					},
					"calculation_details": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"base_rate": {
								"type": "integer"
							},
							"earnings": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"hourly": {
										"type": "integer"
									},
									"overtime": {
										"type": "number"
									}
								}
							},
							"hours": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"hourly": {
										"type": "integer"
									},
									"overtime": {
										"type": "number"
									}
								}
							},
							"pay_frequency": {
								"type": "string"
							},
							"pay_type": {
								"type": "string"
							},
							"salary_frequency": {
								"type": "string"
							},
							"tax_details": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"az": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"rate": {
												"type": "number"
											}
										}
									},
									"federal": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"annual_tax": {
												"type": "number"
											},
											"annual_wages": {
												"type": "number"
											},
											"brackets_half": {
												"type": "boolean"
											},
											"multiple_jobs": {
												"type": "boolean"
											},
											"pay_periods": {
												"type": "integer"
											},
											"standard_deduction": {
												"type": "integer"
											}
										}
									},
									"futa_taxable": {
										"type": "number"
									},
									"ss_taxable": {
										"type": "number"
									}
								}
							},
							"taxes": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"az": {
										"type": "number"
									},
									"az_ui_employer": {
										"type": "number"
									},
									"federal": {
										"type": "number"
									},
									"futa_employer": {
										"type": "number"
									},
									"medicare_employee": {
										"type": "number"
									},
									"medicare_employer": {
										"type": "number"
									},
									"ss_employee": {
										"type": "number"
									},
									"ss_employer": {
										"type": "number"
									}
								}
							},
							"tracked_hours": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"overtime": {
										"type": "number"
									},
									"regular": {
										"type": "integer"
									},
									"total": {
										"type": "number"
									}
								}
							}
						}
					},
					"variance_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"contributors": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"delta": {
											"type": "number"
										},
										"type": {
											"type": "string"
										}
									}
								}
							},
							"delta": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"gross": {
										"type": "number"
									},
									"gross_pct": {
										"type": "number"
									},
									"net": {
										"type": "number"
									},
									"net_pct": {
										"type": "number"
									}
								}
							},
							"previous": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"gross": {
										"type": "number"
									},
									"net": {
										"type": "number"
									},
									"pay_date": {
										"type": "string"
									}
								}
							},
							"previous_run_employee_id": {
								"type": "string"
							},
							"warnings": {
								"type": "array",
								"items": {
									"type": "string"
								}
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"payroll_run_id",
					"user_id",
					"gross_pay",
					"total_taxes_employee",
					"total_taxes_employer",
					"net_pay",
					"ytd_gross",
					"ytd_net",
					"calculation_details",
					"variance_json",
					"created_at",
					"updated_at"
				]
			},
			"PayrollRunTaxLine": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_run_tax_line'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payroll_run_employee_id": {
						"type": "string",
						"format": "uuid"
					},
					"tax_type": {
						"type": "string"
					},
					"amount": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["payroll_run_employee_id", "tax_type", "amount", "created_at"]
			},
			"PayrollRunTipAllocation": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_run_tip_allocation'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payroll_run_id": {
						"type": "string",
						"format": "uuid"
					},
					"payroll_run_employee_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"hours_worked": {
						"type": "number"
					},
					"allocated_amount": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"payroll_run_id",
					"payroll_run_employee_id",
					"user_id",
					"location_id",
					"hours_worked",
					"allocated_amount",
					"created_at"
				]
			},
			"PayrollRunTipPool": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_run_tip_pool'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"payroll_run_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"tip_pool_amount": {
						"type": "number"
					},
					"source": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"payroll_run_id",
					"location_id",
					"tip_pool_amount",
					"source",
					"created_at",
					"updated_at"
				]
			},
			"PayrollRun": {
				"type": "object",
				"description": "Payroll runs. One row per payroll run.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"period_start": {
						"type": "string",
						"format": "date"
					},
					"period_end": {
						"type": "string",
						"format": "date"
					},
					"pay_date": {
						"type": "string",
						"format": "date"
					},
					"status": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"finalized_at": {
						"type": "string",
						"format": "date-time"
					},
					"finalized_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"location_id",
					"period_start",
					"period_end",
					"pay_date",
					"status",
					"created_at",
					"updated_at"
				]
			},
			"CompanySettings": {
				"type": "object",
				"description": "Row from Supabase table 'company_settings'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"key": {
						"type": "string"
					},
					"value": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"fulfill": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"picker_notes": {
										"type": "boolean"
									},
									"short_reason": {
										"type": "boolean"
									}
								}
							},
							"receive": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"receiver_notes": {
										"type": "boolean"
									}
								}
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["key", "value", "created_at", "updated_at"]
			},
			"Location": {
				"type": "object",
				"description": "Locations. One row per location.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"name": {
						"type": "string"
					},
					"visible": {
						"type": "boolean"
					},
					"hub": {
						"type": "boolean"
					},
					"aggregate_orders": {
						"type": "boolean"
					},
					"street1": {
						"type": "string"
					},
					"street2": {
						"type": "string"
					},
					"city": {
						"type": "string"
					},
					"state": {
						"type": "string"
					},
					"zip": {
						"type": "string"
					},
					"phone": {
						"type": "string"
					},
					"email": {
						"type": "string"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "visible", "aggregate_orders", "company_id"]
			},
			"UserRoutes": {
				"type": "object",
				"description": "Row from Supabase table 'user_routes'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"route_id": {
						"type": "integer",
						"format": "int64"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "company_id"]
			},
			"Routes": {
				"type": "object",
				"description": "Row from Supabase table 'routes'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"route": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["id", "route"]
			},
			"IntegrationsGoogleConnections": {
				"type": "object",
				"description": "Row from Supabase table 'integrations_google_connections'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"provider": {
						"type": "string"
					},
					"product": {
						"type": "string"
					},
					"google_user_email": {
						"type": "string"
					},
					"access_token_encrypted": {
						"type": "string"
					},
					"access_token_nonce": {
						"type": "string"
					},
					"refresh_token_encrypted": {
						"type": "string"
					},
					"refresh_token_nonce": {
						"type": "string"
					},
					"token_expiry": {
						"type": "string",
						"format": "date-time"
					},
					"scopes": {
						"type": "string"
					},
					"token_key_version": {
						"type": "integer",
						"format": "int32"
					},
					"token_cipher_algo": {
						"type": "string"
					},
					"last_sync_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"user_id",
					"provider",
					"product",
					"refresh_token_encrypted",
					"refresh_token_nonce",
					"scopes",
					"token_key_version",
					"token_cipher_algo",
					"created_at",
					"updated_at"
				]
			},
			"GbpAccount": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_account'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"connection_id": {
						"type": "string",
						"format": "uuid"
					},
					"account_id": {
						"type": "string"
					},
					"account_name": {
						"type": "string"
					},
					"account_type": {
						"type": "string"
					},
					"raw": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"accountName": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"type": {
								"type": "string"
							},
							"verificationState": {
								"type": "string"
							},
							"vettedState": {
								"type": "string"
							}
						}
					},
					"last_synced_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "account_id", "created_at", "updated_at"]
			},
			"GbpLocation": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_location'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"account_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string"
					},
					"location_name": {
						"type": "string"
					},
					"store_code": {
						"type": "string"
					},
					"primary_phone": {
						"type": "string"
					},
					"address": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"addressLines": {
								"type": "array",
								"items": {
									"type": "string"
								}
							},
							"administrativeArea": {
								"type": "string"
							},
							"languageCode": {
								"type": "string"
							},
							"locality": {
								"type": "string"
							},
							"postalCode": {
								"type": "string"
							},
							"regionCode": {
								"type": "string"
							}
						}
					},
					"time_zone": {
						"type": "string"
					},
					"verification_state": {
						"type": "string"
					},
					"suspension_reason": {
						"type": "string"
					},
					"regular_hours": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"periods": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"closeDay": {
											"type": "string"
										},
										"closeTime": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"hours": {
													"type": "integer"
												},
												"minutes": {
													"type": "integer"
												}
											}
										},
										"openDay": {
											"type": "string"
										},
										"openTime": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"hours": {
													"type": "integer"
												}
											}
										}
									}
								}
							}
						}
					},
					"special_hours": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"specialHourPeriods": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"closed": {
											"type": "boolean"
										},
										"endDate": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"day": {
													"type": "integer"
												},
												"month": {
													"type": "integer"
												},
												"year": {
													"type": "integer"
												}
											}
										},
										"startDate": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"day": {
													"type": "integer"
												},
												"month": {
													"type": "integer"
												},
												"year": {
													"type": "integer"
												}
											}
										}
									}
								}
							}
						}
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"canDelete": {
								"type": "boolean"
							},
							"canHaveFoodMenus": {
								"type": "boolean"
							},
							"canModifyServiceList": {
								"type": "boolean"
							},
							"hasVoiceOfMerchant": {
								"type": "boolean"
							},
							"mapsUri": {
								"type": "string"
							},
							"newReviewUri": {
								"type": "string"
							},
							"placeId": {
								"type": "string"
							}
						}
					},
					"last_synced_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "location_id", "created_at", "updated_at"]
			},
			"GbpLocationMapping": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_location_mapping'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"gbp_location_id": {
						"type": "string",
						"format": "uuid"
					},
					"wazi_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "gbp_location_id", "created_at", "updated_at"]
			},
			"GbpReview": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_review'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"gbp_location_id": {
						"type": "string",
						"format": "uuid"
					},
					"review_id": {
						"type": "string"
					},
					"rating": {
						"type": "integer",
						"format": "int32"
					},
					"comment": {
						"type": "string"
					},
					"reviewer_name": {
						"type": "string"
					},
					"reviewer_profile_photo_url": {
						"type": "string"
					},
					"reviewer_is_anonymous": {
						"type": "boolean"
					},
					"created_time": {
						"type": "string",
						"format": "date-time"
					},
					"updated_time": {
						"type": "string",
						"format": "date-time"
					},
					"owner_reply": {
						"type": "string"
					},
					"owner_reply_updated_time": {
						"type": "string",
						"format": "date-time"
					},
					"owner_reply_author": {
						"type": "string"
					},
					"reply_status": {
						"type": "string"
					},
					"raw": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"comment": {
								"type": "string"
							},
							"createTime": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"reviewId": {
								"type": "string"
							},
							"reviewReply": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"comment": {
										"type": "string"
									},
									"reviewReplyState": {
										"type": "string"
									},
									"updateTime": {
										"type": "string"
									}
								}
							},
							"reviewer": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"displayName": {
										"type": "string"
									},
									"profilePhotoUrl": {
										"type": "string"
									}
								}
							},
							"starRating": {
								"type": "string"
							},
							"updateTime": {
								"type": "string"
							}
						}
					},
					"last_synced_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "review_id", "created_at", "updated_at"]
			},
			"GbpReviewDraft": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_review_draft'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"gbp_review_id": {
						"type": "string",
						"format": "uuid"
					},
					"draft": {
						"type": "string"
					},
					"model": {
						"type": "string"
					},
					"prompt_version": {
						"type": "string"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"generated_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "gbp_review_id", "created_at", "updated_at"]
			},
			"GbpReviewReplyHistory": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_review_reply_history'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"gbp_review_id": {
						"type": "string",
						"format": "uuid"
					},
					"reply_text": {
						"type": "string"
					},
					"posted_by": {
						"type": "string",
						"format": "uuid"
					},
					"posted_at": {
						"type": "string",
						"format": "date-time"
					},
					"source": {
						"type": "string"
					},
					"quality_checklist": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"brand_voice_alignment": {
								"type": "boolean"
							},
							"clear_next_step": {
								"type": "boolean"
							},
							"compensation_policy_respected": {
								"type": "boolean"
							},
							"empathy_acknowledged": {
								"type": "boolean"
							},
							"personal_ownership_tone": {
								"type": "boolean"
							}
						}
					},
					"raw": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"comment": {
								"type": "string"
							},
							"updateTime": {
								"type": "string"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"gbp_review_id",
					"reply_text",
					"posted_at",
					"created_at",
					"updated_at"
				]
			},
			"GbpToneProfile": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_tone_profile'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"voice_text": {
						"type": "string"
					},
					"interview_payload": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"override_text": {
						"type": "string"
					},
					"generated_text": {
						"type": "string"
					},
					"updated_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "created_at", "updated_at"]
			},
			"GbpPolicy": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_policy'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"allow_public_compensation": {
						"type": "boolean"
					},
					"updated_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "allow_public_compensation", "created_at", "updated_at"]
			},
			"GbpInsightsSnapshot": {
				"type": "object",
				"description": "Row from Supabase table 'gbp_insights_snapshot'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"gbp_location_id": {
						"type": "string",
						"format": "uuid"
					},
					"period_days": {
						"type": "integer",
						"format": "int32"
					},
					"start_date": {
						"type": "string",
						"format": "date"
					},
					"end_date": {
						"type": "string",
						"format": "date"
					},
					"metrics": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"BUSINESS_CONVERSATIONS": {
								"type": "integer"
							},
							"BUSINESS_DIRECTION_REQUESTS": {
								"type": "integer"
							},
							"BUSINESS_IMPRESSIONS_DESKTOP_MAPS": {
								"type": "integer"
							},
							"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH": {
								"type": "integer"
							},
							"BUSINESS_IMPRESSIONS_MOBILE_MAPS": {
								"type": "integer"
							},
							"BUSINESS_IMPRESSIONS_MOBILE_SEARCH": {
								"type": "integer"
							},
							"CALL_CLICKS": {
								"type": "integer"
							},
							"WEBSITE_CLICKS": {
								"type": "integer"
							}
						}
					},
					"raw": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"multiDailyMetricTimeSeries": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"dailyMetricTimeSeries": {
											"type": "array",
											"items": {
												"type": "object",
												"additionalProperties": false,
												"properties": {
													"dailyMetric": {
														"type": "string"
													},
													"timeSeries": {
														"type": "object",
														"additionalProperties": false,
														"properties": {
															"datedValues": {
																"type": "object",
																"additionalProperties": false,
																"properties": {
																	"status": {
																		"type": "string"
																	},
																	"source": {
																		"type": "string"
																	},
																	"note": {
																		"type": "string"
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "period_days", "created_at"]
			},
			"CustomerCategories": {
				"type": "object",
				"description": "Row from Supabase table 'customer_categories'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "is_active", "created_at", "updated_at"]
			},
			"CustomerCategoryMemberships": {
				"type": "object",
				"description": "Row from Supabase table 'customer_category_memberships'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"category_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "category_id", "created_at", "updated_at"]
			},
			"CustomerContacts": {
				"type": "object",
				"description": "Customer contacts. One row per contact per customer.",
				"additionalProperties": false,
				"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"
					},
					"role": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "is_primary", "created_at", "updated_at"]
			},
			"CustomerEmailAutomations": {
				"type": "object",
				"description": "Row from Supabase table 'customer_email_automations'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"trigger": {
						"type": "string"
					},
					"delay_days": {
						"type": "integer",
						"format": "int32"
					},
					"is_enabled": {
						"type": "boolean"
					},
					"subject": {
						"type": "string"
					},
					"body_html": {
						"type": "string"
					},
					"body_text": {
						"type": "string"
					},
					"survey_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "trigger", "delay_days", "is_enabled", "created_at", "updated_at"]
			},
			"CustomerEmailOutbox": {
				"type": "object",
				"description": "Row from Supabase table 'customer_email_outbox'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"automation_id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"contact_email": {
						"type": "string"
					},
					"subject": {
						"type": "string"
					},
					"body_html": {
						"type": "string"
					},
					"body_text": {
						"type": "string"
					},
					"send_after": {
						"type": "string",
						"format": "date-time"
					},
					"sent_at": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"error": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"automation_id",
					"customer_id",
					"send_after",
					"status",
					"created_at",
					"updated_at"
				]
			},
			"CustomerInteractions": {
				"type": "object",
				"description": "Row from Supabase table 'customer_interactions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "string",
						"format": "uuid"
					},
					"type": {
						"type": "string"
					},
					"occurred_at": {
						"type": "string",
						"format": "date-time"
					},
					"owner_profile_id": {
						"type": "string",
						"format": "uuid"
					},
					"notes": {
						"type": "string"
					},
					"outcome": {
						"type": "string"
					},
					"next_action_at": {
						"type": "string",
						"format": "date-time"
					},
					"lat": {
						"type": "number"
					},
					"lng": {
						"type": "number"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "type", "occurred_at", "created_at", "updated_at"]
			},
			"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": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"label": {
						"type": "string"
					},
					"city": {
						"type": "string"
					},
					"region": {
						"type": "string"
					},
					"postal": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"street1": {
						"type": "string"
					},
					"street2": {
						"type": "string"
					},
					"country": {
						"type": "string"
					},
					"lat": {
						"type": "number"
					},
					"lng": {
						"type": "number"
					},
					"delivery_notes": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "created_at", "updated_at"]
			},
			"CustomerSurveyNotifications": {
				"type": "object",
				"description": "Row from Supabase table 'customer_survey_notifications'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"survey_id": {
						"type": "string",
						"format": "uuid"
					},
					"notify_emails": {
						"type": "string"
					},
					"notify_managers": {
						"type": "boolean"
					},
					"notify_location_ids": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"survey_id",
					"notify_emails",
					"notify_managers",
					"notify_location_ids",
					"created_at",
					"updated_at"
				]
			},
			"CustomerSurveyQuestions": {
				"type": "object",
				"description": "Row from Supabase table 'customer_survey_questions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"survey_id": {
						"type": "string",
						"format": "uuid"
					},
					"question_text": {
						"type": "string"
					},
					"question_type": {
						"type": "string"
					},
					"is_required": {
						"type": "boolean"
					},
					"sort_order": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"survey_id",
					"question_text",
					"question_type",
					"is_required",
					"sort_order",
					"created_at",
					"updated_at"
				]
			},
			"CustomerSurveyResponses": {
				"type": "object",
				"description": "Row from Supabase table 'customer_survey_responses'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"survey_id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"contact_email": {
						"type": "string"
					},
					"response_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"submitted_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["survey_id", "response_json", "submitted_at", "created_at", "updated_at"]
			},
			"CustomerSurveys": {
				"type": "object",
				"description": "Row from Supabase table 'customer_surveys'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"slug": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "is_active", "created_at", "updated_at"]
			},
			"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'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "user_id", "created_at"]
			},
			"Customers": {
				"type": "object",
				"description": "Customer master records.",
				"additionalProperties": false,
				"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"
					},
					"is_accounting_enabled": {
						"type": "boolean"
					},
					"normalized_name": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					},
					"external_ids": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"google_place_id": {
								"type": "string"
							}
						}
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["name", "kind", "status", "is_accounting_enabled", "created_at", "updated_at"]
			},
			"WholesaleClientOnboarding": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_client_onboarding'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"company_name": {
						"type": "string"
					},
					"street_address": {
						"type": "string"
					},
					"suite_number": {
						"type": "string"
					},
					"city": {
						"type": "string"
					},
					"state": {
						"type": "string"
					},
					"zip": {
						"type": "string"
					},
					"phone_number": {
						"type": "string"
					},
					"ordering_contact_name": {
						"type": "string"
					},
					"ordering_phone": {
						"type": "string"
					},
					"ordering_email": {
						"type": "string"
					},
					"billing_contact_name": {
						"type": "string"
					},
					"billing_phone": {
						"type": "string"
					},
					"billing_email": {
						"type": "string"
					},
					"billing_address": {
						"type": "string"
					},
					"billing_suite": {
						"type": "string"
					},
					"delivery_street_address": {
						"type": "string"
					},
					"delivery_suite": {
						"type": "string"
					},
					"delivery_city": {
						"type": "string"
					},
					"delivery_state": {
						"type": "string"
					},
					"delivery_zip": {
						"type": "string"
					},
					"receiving_days": {
						"type": "string"
					},
					"receiving_times": {
						"type": "string"
					},
					"receiving_special_instructions": {
						"type": "string"
					},
					"requested_payment_terms": {
						"type": "string"
					},
					"is_tax_exempt": {
						"type": "boolean"
					},
					"tax_exempt_certificate": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"certificate_address": {
								"type": "string"
							},
							"certificate_city": {
								"type": "string"
							},
							"certificate_period": {
								"type": "string"
							},
							"certificate_state": {
								"type": "string"
							},
							"certificate_zip": {
								"type": "string"
							},
							"certification": {
								"type": "boolean"
							},
							"precise_nature_of_business": {
								"type": "string"
							},
							"property_description": {
								"type": "string"
							},
							"sales_tax_license_no": {
								"type": "string"
							}
						}
					},
					"w9_form": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"address": {
								"type": "string"
							},
							"business_name": {
								"type": "string"
							},
							"certification": {
								"type": "boolean"
							},
							"city": {
								"type": "string"
							},
							"exempt_payee_code": {
								"type": "string"
							},
							"fatca_code": {
								"type": "string"
							},
							"federal_tax_classification": {
								"type": "string"
							},
							"llc_classification_code": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"signature": {
								"type": "string"
							},
							"signature_ip": {
								"type": "string"
							},
							"state": {
								"type": "string"
							},
							"tin": {
								"type": "string"
							},
							"zip": {
								"type": "string"
							}
						}
					},
					"signature_text": {
						"type": "string"
					},
					"signature_ip": {
						"type": "string"
					},
					"signature_timestamp": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"accepted_terms_of_service": {
						"type": "boolean"
					},
					"acknowledged_privacy_policy": {
						"type": "boolean"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"company_name",
					"street_address",
					"city",
					"state",
					"zip",
					"ordering_contact_name",
					"company_id",
					"accepted_terms_of_service",
					"acknowledged_privacy_policy"
				]
			},
			"WholesaleCustomerOrderGuide": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_customer_order_guide'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"item_id": {
						"type": "integer",
						"format": "int64"
					},
					"sort_order": {
						"type": "integer",
						"format": "int32"
					},
					"visible": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "item_id", "visible", "created_at", "updated_at"]
			},
			"WholesaleCustomerPaymentMethods": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_customer_payment_methods'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"payment_method_id": {
						"type": "string",
						"format": "uuid"
					},
					"enabled": {
						"type": "boolean"
					},
					"surcharge_pct": {
						"type": "number"
					},
					"discount_pct": {
						"type": "number"
					},
					"charge_timing": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "payment_method_id", "enabled", "created_at", "updated_at"]
			},
			"WholesaleCustomerPrices": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_customer_prices'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"item_id": {
						"type": "integer",
						"format": "int64"
					},
					"price": {
						"type": "number"
					},
					"unit_label": {
						"type": "string"
					},
					"pack_size": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "item_id", "price", "created_at", "updated_at"]
			},
			"WholesaleCustomerSettings": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_customer_settings'.",
				"additionalProperties": false,
				"properties": {
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"delivery_days": {
						"type": "string"
					},
					"pickup_days": {
						"type": "string"
					},
					"delivery_minimum": {
						"type": "number"
					},
					"pickup_minimum": {
						"type": "number"
					},
					"order_cutoff_time": {
						"type": "string",
						"format": "time"
					},
					"payment_terms": {
						"type": "string"
					},
					"payment_method": {
						"type": "string"
					},
					"tax_exempt": {
						"type": "boolean"
					},
					"reminder_days": {
						"type": "string"
					},
					"allow_delivery": {
						"type": "boolean"
					},
					"allow_pickup": {
						"type": "boolean"
					},
					"order_note_template": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["allow_delivery", "allow_pickup", "created_at", "updated_at"]
			},
			"WholesaleFulfillmentBlackouts": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_fulfillment_blackouts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"fulfillment_method": {
						"type": "string"
					},
					"blackout_date": {
						"type": "string",
						"format": "date"
					},
					"reason": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["fulfillment_method", "blackout_date", "created_at"]
			},
			"WholesaleFulfillmentMethods": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_fulfillment_methods'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"key": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["key", "label", "is_active", "created_at", "updated_at"]
			},
			"WholesaleItemAvailability": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_item_availability'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"item_id": {
						"type": "integer",
						"format": "int64"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"in_stock": {
						"type": "boolean"
					},
					"notes": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["item_id", "in_stock", "created_at", "updated_at"]
			},
			"WholesaleLocationSettings": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_location_settings'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"delivery_days": {
						"type": "string"
					},
					"pickup_days": {
						"type": "string"
					},
					"delivery_minimum": {
						"type": "number"
					},
					"pickup_minimum": {
						"type": "number"
					},
					"order_cutoff_time": {
						"type": "string",
						"format": "time"
					},
					"payment_methods": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"ach": {
								"type": "boolean"
							},
							"card": {
								"type": "boolean"
							},
							"cash": {
								"type": "boolean"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["location_id", "created_at", "updated_at"]
			},
			"WholesaleOrderItems": {
				"type": "object",
				"description": "Wholesale order lines. One row per item per wholesale order.",
				"additionalProperties": false,
				"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"
					},
					"name": {
						"type": "string"
					},
					"unit_label": {
						"type": "string"
					},
					"pack_size": {
						"type": "number"
					},
					"category_id": {
						"type": "integer",
						"format": "int64"
					},
					"category_name": {
						"type": "string"
					},
					"sort_order": {
						"type": "integer",
						"format": "int32"
					},
					"picked_quantity": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["order_id", "quantity", "created_at", "updated_at"]
			},
			"WholesaleOrderReminderOutbox": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_order_reminder_outbox'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"email": {
						"type": "string"
					},
					"send_after": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "email", "send_after", "status", "created_at"]
			},
			"WholesaleOrderTemplates": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_order_templates'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"items": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"last_used_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "name", "items", "created_at", "updated_at"]
			},
			"WholesaleOrders": {
				"type": "object",
				"description": "Wholesale orders. One row per order.",
				"additionalProperties": false,
				"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"
					},
					"placed_by_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"fulfillment_method": {
						"type": "string"
					},
					"fulfillment_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"delivery_location_id": {
						"type": "string",
						"format": "uuid"
					},
					"notes": {
						"type": "string"
					},
					"subtotal": {
						"type": "number"
					},
					"tax_amount": {
						"type": "number"
					},
					"payment_method": {
						"type": "string"
					},
					"payment_terms": {
						"type": "string"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "status", "created_at", "updated_at"]
			},
			"WholesalePaymentTerms": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_payment_terms'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"label": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"days_due": {
						"type": "integer",
						"format": "int32"
					},
					"is_cod": {
						"type": "boolean"
					},
					"archived_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["label", "is_cod", "created_at", "updated_at"]
			},
			"WholesalePaymentMethods": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_payment_methods'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"provider": {
						"type": "string"
					},
					"method_key": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"surcharge_pct": {
						"type": "number"
					},
					"discount_pct": {
						"type": "number"
					},
					"charge_timing": {
						"type": "string"
					},
					"settings": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"provider",
					"method_key",
					"label",
					"enabled",
					"charge_timing",
					"created_at",
					"updated_at"
				]
			},
			"WholesalePaymentProfiles": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_payment_profiles'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"provider": {
						"type": "string"
					},
					"provider_customer_id": {
						"type": "string"
					},
					"provider_payment_method_id": {
						"type": "string"
					},
					"provider_reference": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"email": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"id": {
										"type": "string"
									},
									"name": {
										"type": "string"
									},
									"status": {
										"type": "string"
									}
								}
							},
							"name": {
								"type": "string"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["customer_id", "provider", "status", "created_at", "updated_at"]
			},
			"WholesaleSettings": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_settings'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"default_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"default_delivery_days": {
						"type": "string"
					},
					"default_pickup_days": {
						"type": "string"
					},
					"default_delivery_minimum": {
						"type": "number"
					},
					"default_pickup_minimum": {
						"type": "number"
					},
					"order_cutoff_time": {
						"type": "string",
						"format": "time"
					},
					"payment_methods": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"default_payment_method": {
						"type": "string"
					},
					"default_payment_terms": {
						"type": "string"
					},
					"tax_exempt_default": {
						"type": "boolean"
					},
					"reminder_enabled": {
						"type": "boolean"
					},
					"reminder_send_hour": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["tax_exempt_default", "reminder_enabled", "created_at", "updated_at"]
			},
			"EquipmentAssets": {
				"type": "object",
				"description": "Row from Supabase table 'equipment_assets'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"category": {
						"type": "string"
					},
					"manufacturer": {
						"type": "string"
					},
					"model": {
						"type": "string"
					},
					"serial_number": {
						"type": "string"
					},
					"asset_tag": {
						"type": "string"
					},
					"lifecycle_status": {
						"type": "string"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"purchase_date": {
						"type": "string",
						"format": "date"
					},
					"purchase_vendor": {
						"type": "string"
					},
					"purchase_cost": {
						"type": "number"
					},
					"purchase_currency": {
						"type": "string"
					},
					"replacement_cost": {
						"type": "number"
					},
					"replacement_currency": {
						"type": "string"
					},
					"replacement_cost_source": {
						"type": "string"
					},
					"warranty_expires_at": {
						"type": "string",
						"format": "date"
					},
					"expected_life_years": {
						"type": "integer",
						"format": "int32"
					},
					"last_service_at": {
						"type": "string",
						"format": "date-time"
					},
					"next_service_due_at": {
						"type": "string",
						"format": "date-time"
					},
					"primary_photo_asset_id": {
						"type": "string",
						"format": "uuid"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"gemini_file_id": {
						"type": "string"
					},
					"gemini_last_synced_at": {
						"type": "string",
						"format": "date-time"
					},
					"gemini_sync_status": {
						"type": "string"
					},
					"gemini_sync_error": {
						"type": "string"
					},
					"gemini_source_checksum": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"updated_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"name",
					"lifecycle_status",
					"metadata",
					"gemini_sync_status",
					"created_at",
					"updated_at"
				]
			},
			"EquipmentChecklists": {
				"type": "object",
				"description": "Row from Supabase table 'equipment_checklists'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"equipment_id": {
						"type": "string",
						"format": "uuid"
					},
					"checklist_id": {
						"type": "string",
						"format": "uuid"
					},
					"interval_value": {
						"type": "integer",
						"format": "int32"
					},
					"interval_unit": {
						"type": "string"
					},
					"auto_generated": {
						"type": "boolean"
					},
					"last_completed_at": {
						"type": "string",
						"format": "date-time"
					},
					"next_due_at": {
						"type": "string",
						"format": "date-time"
					},
					"notes": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"equipment_id",
					"checklist_id",
					"interval_value",
					"interval_unit",
					"auto_generated",
					"created_at",
					"updated_at"
				]
			},
			"EquipmentFiles": {
				"type": "object",
				"description": "Row from Supabase table 'equipment_files'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"equipment_id": {
						"type": "string",
						"format": "uuid"
					},
					"asset_id": {
						"type": "string",
						"format": "uuid"
					},
					"kind": {
						"type": "string"
					},
					"is_primary": {
						"type": "boolean"
					},
					"notes": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["equipment_id", "asset_id", "kind", "is_primary", "created_at", "updated_at"]
			},
			"EquipmentMaintenanceLogs": {
				"type": "object",
				"description": "Row from Supabase table 'equipment_maintenance_logs'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"equipment_id": {
						"type": "string",
						"format": "uuid"
					},
					"service_date": {
						"type": "string",
						"format": "date-time"
					},
					"service_type": {
						"type": "string"
					},
					"summary": {
						"type": "string"
					},
					"details": {
						"type": "string"
					},
					"performed_by": {
						"type": "string",
						"format": "uuid"
					},
					"vendor": {
						"type": "string"
					},
					"cost": {
						"type": "number"
					},
					"cost_currency": {
						"type": "string"
					},
					"downtime_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"checklist_id": {
						"type": "string",
						"format": "uuid"
					},
					"inspection_id": {
						"type": "string",
						"format": "uuid"
					},
					"next_due_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["equipment_id", "service_date", "service_type", "created_at", "updated_at"]
			},
			"EquipmentNotes": {
				"type": "object",
				"description": "Row from Supabase table 'equipment_notes'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"equipment_id": {
						"type": "string",
						"format": "uuid"
					},
					"note": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["equipment_id", "note", "created_at", "updated_at"]
			},
			"CoreValues": {
				"type": "object",
				"description": "Row from Supabase table 'core_values'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"title": {
						"type": "string"
					},
					"image_url": {
						"type": "string"
					},
					"image_alt": {
						"type": "string"
					},
					"content_type": {
						"type": "string"
					},
					"paragraph_content": {
						"type": "string"
					},
					"list_items": {
						"type": "string"
					},
					"order": {
						"type": "integer",
						"format": "int32"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "title", "content_type", "company_id"]
			},
			"KnowledgeAssets": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_assets'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"storage_path": {
						"type": "string"
					},
					"file_name": {
						"type": "string"
					},
					"file_extension": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"file_size": {
						"type": "integer",
						"format": "int64"
					},
					"checksum": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"last_used_at": {
						"type": "string",
						"format": "date-time"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"equipment_file_kind": {
								"type": "string"
							},
							"equipment_id": {
								"type": "string"
							}
						}
					}
				},
				"required": ["storage_path", "file_name", "created_at", "updated_at", "metadata"]
			},
			"KnowledgeBrokenLinks": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_broken_links'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"link_id": {
						"type": "string",
						"format": "uuid"
					},
					"url": {
						"type": "string"
					},
					"status_code": {
						"type": "integer",
						"format": "int32"
					},
					"failure_reason": {
						"type": "string"
					},
					"first_detected_at": {
						"type": "string",
						"format": "date-time"
					},
					"last_checked_at": {
						"type": "string",
						"format": "date-time"
					},
					"resolved_at": {
						"type": "string",
						"format": "date-time"
					},
					"resolved_by": {
						"type": "string",
						"format": "uuid"
					},
					"occurrences": {
						"type": "integer",
						"format": "int32"
					},
					"notes": {
						"type": "string"
					}
				},
				"required": ["url", "first_detected_at", "occurrences"]
			},
			"KnowledgeCategories": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_categories'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"parent_id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"slug": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"display_order": {
						"type": "integer",
						"format": "int32"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "slug", "display_order", "is_active", "created_at", "updated_at"]
			},
			"KnowledgeDiscussionComments": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_discussion_comments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"discussion_id": {
						"type": "string",
						"format": "uuid"
					},
					"body_markdown": {
						"type": "string"
					},
					"body_rich_text": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"type": {
									"type": "string"
								},
								"text": {
									"type": "string"
								}
							}
						}
					},
					"body_plain": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"is_internal": {
						"type": "boolean"
					}
				},
				"required": ["discussion_id", "created_at", "updated_at", "is_internal"]
			},
			"KnowledgeDiscussions": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_discussions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"version_id": {
						"type": "string",
						"format": "uuid"
					},
					"status": {
						"type": "string"
					},
					"anchor": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"anchor_text": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"resolved_by": {
						"type": "string",
						"format": "uuid"
					},
					"resolved_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"is_inline": {
						"type": "boolean"
					},
					"last_commented_at": {
						"type": "string",
						"format": "date-time"
					},
					"title": {
						"type": "string"
					}
				},
				"required": ["page_id", "status", "anchor", "created_at", "updated_at", "is_inline"]
			},
			"KnowledgeDuplicateCandidates": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_duplicate_candidates'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"other_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"similarity": {
						"type": "number"
					},
					"detected_at": {
						"type": "string",
						"format": "date-time"
					},
					"resolved_at": {
						"type": "string",
						"format": "date-time"
					},
					"resolution": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["page_id", "other_page_id", "detected_at"]
			},
			"KnowledgeMentions": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_mentions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"version_id": {
						"type": "string",
						"format": "uuid"
					},
					"discussion_comment_id": {
						"type": "string",
						"format": "uuid"
					},
					"mentioned_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"context": {
						"type": "string"
					}
				},
				"required": ["page_id", "mentioned_user_id", "created_at"]
			},
			"KnowledgePageActivityLog": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_activity_log'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"action": {
						"type": "string"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["page_id", "action", "metadata", "created_at"]
			},
			"KnowledgePageAliases": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_aliases'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"alias": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["page_id", "alias", "created_at"]
			},
			"KnowledgePageAssets": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_assets'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"asset_id": {
						"type": "string",
						"format": "uuid"
					},
					"version_id": {
						"type": "string",
						"format": "uuid"
					},
					"attached_at": {
						"type": "string",
						"format": "date-time"
					},
					"attached_by": {
						"type": "string",
						"format": "uuid"
					},
					"usage_context": {
						"type": "string"
					}
				},
				"required": ["page_id", "asset_id", "attached_at"]
			},
			"KnowledgePageBacklinks": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_backlinks'.",
				"additionalProperties": false,
				"properties": {
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"linked_from_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"linked_from_title": {
						"type": "string"
					},
					"link_label": {
						"type": "string"
					},
					"link_destination": {
						"type": "string"
					},
					"detected_at": {
						"type": "string",
						"format": "date-time"
					},
					"is_resolved": {
						"type": "boolean"
					}
				}
			},
			"KnowledgePageLinks": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_links'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"source_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"target_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"link_label": {
						"type": "string"
					},
					"link_destination": {
						"type": "string"
					},
					"link_type": {
						"type": "string"
					},
					"detected_at": {
						"type": "string",
						"format": "date-time"
					},
					"last_checked_at": {
						"type": "string",
						"format": "date-time"
					},
					"is_resolved": {
						"type": "boolean"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"source_page_id",
					"link_destination",
					"link_type",
					"detected_at",
					"is_resolved"
				]
			},
			"KnowledgePageRelationships": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_relationships'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"source_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"target_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"relationship_type": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"note": {
						"type": "string"
					}
				},
				"required": ["source_page_id", "target_page_id", "relationship_type", "created_at"]
			},
			"KnowledgePageReviewAssignments": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_review_assignments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"review_by": {
						"type": "string",
						"format": "date"
					},
					"status": {
						"type": "string"
					},
					"reminder_sent_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["page_id", "user_id", "status", "created_at", "updated_at"]
			},
			"KnowledgePageReviews": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_reviews'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"reviewer_id": {
						"type": "string",
						"format": "uuid"
					},
					"reviewed_at": {
						"type": "string",
						"format": "date-time"
					},
					"outcome": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					},
					"next_review_at": {
						"type": "string",
						"format": "date"
					}
				},
				"required": ["page_id", "reviewed_at"]
			},
			"KnowledgePageSearchIndex": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_search_index'.",
				"additionalProperties": false,
				"properties": {
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"title": {
						"type": "string"
					},
					"slug": {
						"type": "string"
					},
					"summary": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"category_id": {
						"type": "string",
						"format": "uuid"
					},
					"owner_id": {
						"type": "string",
						"format": "uuid"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"published_at": {
						"type": "string",
						"format": "date-time"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"version_number": {
						"type": "integer",
						"format": "int32"
					},
					"version_created_at": {
						"type": "string",
						"format": "date-time"
					},
					"version_created_by": {
						"type": "string",
						"format": "uuid"
					},
					"is_major": {
						"type": "boolean"
					},
					"body_text": {
						"type": "string"
					},
					"search_vector": {
						"type": "string"
					},
					"tags": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"attachment_ids": {
						"type": "array",
						"items": {
							"type": "string",
							"format": "uuid"
						}
					}
				}
			},
			"KnowledgePageTags": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_tags'.",
				"additionalProperties": false,
				"properties": {
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"tag_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["page_id", "tag_id", "created_at"]
			},
			"KnowledgePageVersions": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_versions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"version_number": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"editor_mode": {
						"type": "string"
					},
					"change_summary": {
						"type": "string"
					},
					"content_markdown": {
						"type": "string"
					},
					"content_rich_text": {
						"type": "string"
					},
					"content_plain": {
						"type": "string"
					},
					"search_vector": {
						"type": "string"
					},
					"is_major": {
						"type": "boolean"
					},
					"is_published_snapshot": {
						"type": "boolean"
					},
					"restored_from_version_id": {
						"type": "string",
						"format": "uuid"
					},
					"diff_base_version_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"page_id",
					"version_number",
					"created_at",
					"editor_mode",
					"is_major",
					"is_published_snapshot"
				]
			},
			"KnowledgePageViews": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_page_views'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"viewed_at": {
						"type": "string",
						"format": "date-time"
					},
					"duration_seconds": {
						"type": "integer",
						"format": "int32"
					},
					"source": {
						"type": "string"
					},
					"context": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"path": {
								"type": "string"
							},
							"search": {
								"type": "string"
							},
							"slug": {
								"type": "string"
							}
						}
					}
				},
				"required": ["page_id", "viewed_at", "context"]
			},
			"KnowledgePages": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_pages'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"title": {
						"type": "string"
					},
					"slug": {
						"type": "string"
					},
					"summary": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"owner_id": {
						"type": "string",
						"format": "uuid"
					},
					"category_id": {
						"type": "string",
						"format": "uuid"
					},
					"is_stub": {
						"type": "boolean"
					},
					"review_by": {
						"type": "string",
						"format": "date"
					},
					"review_interval_days": {
						"type": "integer",
						"format": "int32"
					},
					"review_reminder_enabled": {
						"type": "boolean"
					},
					"next_review_at": {
						"type": "string",
						"format": "date"
					},
					"last_reviewed_at": {
						"type": "string",
						"format": "date-time"
					},
					"last_reviewed_by": {
						"type": "string",
						"format": "uuid"
					},
					"verified_by": {
						"type": "string",
						"format": "uuid"
					},
					"verified_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"published_at": {
						"type": "string",
						"format": "date-time"
					},
					"archived_at": {
						"type": "string",
						"format": "date-time"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"print_ready": {
						"type": "boolean"
					},
					"print_version_url": {
						"type": "string"
					},
					"review_notes": {
						"type": "string"
					},
					"primary_template_id": {
						"type": "string",
						"format": "uuid"
					},
					"current_version_id": {
						"type": "string",
						"format": "uuid"
					},
					"published_version_id": {
						"type": "string",
						"format": "uuid"
					},
					"title_search_vector": {
						"type": "string"
					}
				},
				"required": [
					"title",
					"slug",
					"status",
					"is_stub",
					"review_reminder_enabled",
					"created_at",
					"updated_at",
					"metadata",
					"print_ready"
				]
			},
			"KnowledgeRecentUpdates": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_recent_updates'.",
				"additionalProperties": false,
				"properties": {
					"page_id": {
						"type": "string",
						"format": "uuid"
					},
					"title": {
						"type": "string"
					},
					"version_number": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"change_summary": {
						"type": "string"
					},
					"is_major": {
						"type": "boolean"
					},
					"status": {
						"type": "string"
					}
				}
			},
			"KnowledgeSearchQueries": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_search_queries'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"query": {
						"type": "string"
					},
					"normalized_query": {
						"type": "string"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"occurred_at": {
						"type": "string",
						"format": "date-time"
					},
					"results_count": {
						"type": "integer",
						"format": "int32"
					},
					"top_result_page_id": {
						"type": "string",
						"format": "uuid"
					},
					"source": {
						"type": "string"
					},
					"duration_ms": {
						"type": "integer",
						"format": "int32"
					},
					"filters": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"category_id": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"id": {
										"type": "string"
									},
									"name": {
										"type": "string"
									},
									"status": {
										"type": "string"
									}
								}
							},
							"fuzzy_terms": {
								"type": "array",
								"items": {
									"type": "string"
								}
							},
							"status": {
								"type": "string"
							},
							"synonyms": {
								"type": "array",
								"items": {
									"type": "string"
								}
							}
						}
					}
				},
				"required": ["query", "occurred_at", "filters"]
			},
			"KnowledgeSearchQuerySummary": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_search_query_summary'.",
				"additionalProperties": false,
				"properties": {
					"day": {
						"type": "string",
						"format": "date-time"
					},
					"query_count": {
						"type": "integer",
						"format": "int64"
					},
					"zero_result_queries": {
						"type": "integer",
						"format": "int64"
					},
					"zero_result_terms": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"avg_latency_ms": {
						"type": "number"
					}
				}
			},
			"KnowledgeSearchSynonyms": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_search_synonyms'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"term": {
						"type": "string"
					},
					"synonyms": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["term", "synonyms", "created_at"]
			},
			"KnowledgeSearchTerms": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_search_terms'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"term": {
						"type": "string"
					},
					"normalized_term": {
						"type": "string"
					},
					"usage_count": {
						"type": "integer",
						"format": "int64"
					},
					"last_used_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["term", "normalized_term", "usage_count", "created_at"]
			},
			"KnowledgeTags": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_tags'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"label": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["label", "created_at", "updated_at"]
			},
			"AiSkillLibrary": {
				"type": "object",
				"description": "Row from Supabase table 'ai_skill_library'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"key": {
						"type": "string"
					},
					"content": {
						"type": "string"
					},
					"source_url": {
						"type": "string"
					},
					"checksum": {
						"type": "string"
					},
					"last_synced_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["key", "created_at", "updated_at"]
			},
			"QuizAnswerOptions": {
				"type": "object",
				"description": "Row from Supabase table 'quiz_answer_options'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"question_id": {
						"type": "string",
						"format": "uuid"
					},
					"option_text": {
						"type": "string"
					},
					"is_correct": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"question_id",
					"option_text",
					"is_correct",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"QuizQuestions": {
				"type": "object",
				"description": "Row from Supabase table 'quiz_questions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"course_id": {
						"type": "string",
						"format": "uuid"
					},
					"question_text": {
						"type": "string"
					},
					"question_order": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"course_id",
					"question_text",
					"question_order",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"TrainingCourses": {
				"type": "object",
				"description": "Row from Supabase table 'training_courses'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"title": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"video_url": {
						"type": "string"
					},
					"course_order": {
						"type": "integer",
						"format": "int32"
					},
					"has_quiz": {
						"type": "boolean"
					},
					"quiz_passing_score": {
						"type": "integer",
						"format": "int32"
					},
					"max_quiz_attempts": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"module_id": {
						"type": "string",
						"format": "uuid"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"title",
					"course_order",
					"has_quiz",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"TrainingModules": {
				"type": "object",
				"description": "Row from Supabase table 'training_modules'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"order_index": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "name", "order_index", "created_at", "updated_at", "company_id"]
			},
			"UserCourseProgress": {
				"type": "object",
				"description": "Row from Supabase table 'user_course_progress'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"course_id": {
						"type": "string",
						"format": "uuid"
					},
					"video_watched": {
						"type": "boolean"
					},
					"video_watched_at": {
						"type": "string",
						"format": "date-time"
					},
					"quiz_score": {
						"type": "integer",
						"format": "int32"
					},
					"quiz_passed": {
						"type": "boolean"
					},
					"quiz_completed_at": {
						"type": "string",
						"format": "date-time"
					},
					"demonstrated_competence": {
						"type": "boolean"
					},
					"demonstrated_at": {
						"type": "string",
						"format": "date-time"
					},
					"demonstrated_by_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"can_teach": {
						"type": "boolean"
					},
					"can_teach_signed_off_at": {
						"type": "string",
						"format": "date-time"
					},
					"can_teach_signed_off_by_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"client_mutation_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"user_id",
					"course_id",
					"video_watched",
					"quiz_passed",
					"demonstrated_competence",
					"can_teach",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"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'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"fulfillment_id": {
						"type": "string",
						"format": "uuid"
					},
					"order_item_id": {
						"type": "integer",
						"format": "int64"
					},
					"ordered_cases": {
						"type": "number"
					},
					"fulfilled_cases": {
						"type": "number"
					},
					"short_reason": {
						"type": "string"
					},
					"picker_notes": {
						"type": "string"
					},
					"base_case_cost_cents": {
						"type": "integer",
						"format": "int64"
					},
					"overhead_rate": {
						"type": "number"
					},
					"overhead_cents": {
						"type": "integer",
						"format": "int64"
					},
					"basis": {
						"type": "string"
					},
					"vendor_pricing_id": {
						"type": "integer",
						"format": "int64"
					},
					"recipe_id": {
						"type": "integer",
						"format": "int64"
					},
					"computed_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"fulfillment_id",
					"order_item_id",
					"ordered_cases",
					"fulfilled_cases",
					"base_case_cost_cents",
					"overhead_rate",
					"overhead_cents",
					"basis",
					"computed_at"
				]
			},
			"InternalTransferFulfillments": {
				"type": "object",
				"description": "Row from Supabase table 'internal_transfer_fulfillments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"order_id": {
						"type": "integer",
						"format": "int64"
					},
					"source_location_id": {
						"type": "string"
					},
					"destination_location_id": {
						"type": "string"
					},
					"fulfilled_by": {
						"type": "string",
						"format": "uuid"
					},
					"fulfilled_at": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					}
				},
				"required": [
					"order_id",
					"source_location_id",
					"destination_location_id",
					"fulfilled_at",
					"status"
				]
			},
			"InternalTransferReceiptLines": {
				"type": "object",
				"description": "Row from Supabase table 'internal_transfer_receipt_lines'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"receipt_id": {
						"type": "string",
						"format": "uuid"
					},
					"order_item_id": {
						"type": "integer",
						"format": "int64"
					},
					"received_cases": {
						"type": "number"
					},
					"receiver_notes": {
						"type": "string"
					}
				},
				"required": ["receipt_id", "order_item_id", "received_cases"]
			},
			"InternalTransferReceipts": {
				"type": "object",
				"description": "Row from Supabase table 'internal_transfer_receipts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"order_id": {
						"type": "integer",
						"format": "int64"
					},
					"received_by": {
						"type": "string",
						"format": "uuid"
					},
					"received_at": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					}
				},
				"required": ["order_id", "received_at", "status"]
			},
			"InternalTransferReports": {
				"type": "object",
				"description": "Row from Supabase table 'internal_transfer_reports'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"order_id": {
						"type": "integer",
						"format": "int64"
					},
					"status": {
						"type": "string"
					},
					"finalized_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"finalized_at": {
						"type": "string",
						"format": "date-time"
					},
					"finalized_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["order_id", "status", "created_at"]
			},
			"LocationDepartments": {
				"type": "object",
				"description": "Row from Supabase table 'location_departments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"department": {
						"type": "string"
					},
					"order": {
						"type": "integer",
						"format": "int32"
					},
					"visible": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "location_id", "department", "order", "visible", "company_id"]
			},
			"ItemsLocations": {
				"type": "object",
				"description": "Row from Supabase table 'items_locations'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"item_id": {
						"type": "integer",
						"format": "int32"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"minimum_quantity": {
						"type": "number"
					},
					"location_order": {
						"type": "integer",
						"format": "int32"
					},
					"aggregate_order": {
						"type": "boolean"
					},
					"prefered_vendor_id": {
						"type": "integer",
						"format": "int32"
					},
					"department_id": {
						"type": "integer",
						"format": "int64"
					},
					"visible": {
						"type": "boolean"
					},
					"minimum_case": {
						"type": "boolean"
					},
					"pick_only": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"item_id",
					"location_id",
					"department_id",
					"visible",
					"minimum_case",
					"pick_only",
					"company_id"
				]
			},
			"OrderItems": {
				"type": "object",
				"description": "Order line items. One row per item per order.",
				"additionalProperties": false,
				"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"
					},
					"case": {
						"type": "boolean"
					},
					"aggregate_order": {
						"type": "boolean"
					},
					"vendor_id": {
						"type": "integer",
						"format": "int64"
					},
					"dispatch_date": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"order_id",
					"item_id",
					"quantity",
					"case",
					"status",
					"aggregate_order",
					"company_id"
				]
			},
			"OrderStatus": {
				"type": "object",
				"description": "Row from Supabase table 'order_status'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"status": {
						"type": "string"
					},
					"order": {
						"type": "integer",
						"format": "int64"
					}
				},
				"required": ["id", "status", "order"]
			},
			"OrderDetails": {
				"type": "object",
				"description": "Internal transfer or purchase order headers. One row per order.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"location": {
						"type": "integer",
						"format": "int32"
					},
					"status_id": {
						"type": "integer",
						"format": "int64"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"notes": {
						"type": "string"
					},
					"edited_at": {
						"type": "string",
						"format": "date-time"
					},
					"internal_transfer": {
						"type": "boolean"
					},
					"source_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"fulfillment_date": {
						"type": "string",
						"format": "date"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"location",
					"status_id",
					"internal_transfer",
					"fulfillment_date",
					"company_id"
				]
			},
			"VendorDeliveryDay": {
				"type": "object",
				"description": "Row from Supabase table 'vendor_delivery_day'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"vendor_id": {
						"type": "integer",
						"format": "int64"
					},
					"day_id": {
						"type": "integer",
						"format": "int64"
					},
					"on": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "vendor_id", "day_id", "on", "company_id"]
			},
			"VendorDepartments": {
				"type": "object",
				"description": "Row from Supabase table 'vendor_departments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"department": {
						"type": "string"
					},
					"order": {
						"type": "integer",
						"format": "int64"
					},
					"vendor_id": {
						"type": "integer",
						"format": "int64"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "department", "order", "vendor_id", "company_id"]
			},
			"VendorOrderMethods": {
				"type": "object",
				"description": "Row from Supabase table 'vendor_order_methods'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"method": {
						"type": "string"
					},
					"fields": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"key": {
									"type": "string"
								},
								"type": {
									"type": "string"
								}
							}
						}
					}
				},
				"required": ["id"]
			},
			"VendorPricing": {
				"type": "object",
				"description": "Vendor pricing. One row per vendor price entry.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"vendor_id": {
						"type": "integer",
						"format": "int64"
					},
					"item_id": {
						"type": "integer",
						"format": "int64"
					},
					"price": {
						"type": "number",
						"format": "double"
					},
					"unit_quantity": {
						"type": "number"
					},
					"quantity": {
						"type": "number",
						"format": "double"
					},
					"sku": {
						"type": "string"
					},
					"vendorDescription": {
						"type": "string"
					},
					"vendorOrder": {
						"type": "integer",
						"format": "int64"
					},
					"unit": {
						"type": "integer",
						"format": "int64"
					},
					"visible": {
						"type": "boolean"
					},
					"vendorDepartment": {
						"type": "integer",
						"format": "int64"
					},
					"case": {
						"type": "boolean"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"units_per_case": {
						"type": "number"
					},
					"pack_description": {
						"type": "string"
					},
					"variable_weight": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "vendor_id", "item_id", "unit", "variable_weight", "company_id"]
			},
			"VendorConfig": {
				"type": "object",
				"description": "Row from Supabase table 'vendorConfig'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"vendorName": {
						"type": "string"
					},
					"visible": {
						"type": "boolean"
					},
					"vendorDepartment": {
						"type": "boolean"
					},
					"breaksCase": {
						"type": "boolean"
					},
					"delivery_minimum": {
						"type": "number"
					},
					"delivery_minimum_money": {
						"type": "boolean"
					},
					"order_method_id": {
						"type": "integer",
						"format": "int64"
					},
					"order_method_details": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"Email": {
								"type": "string",
								"format": "email"
							},
							"Subject": {
								"type": "string"
							},
							"URL": {
								"type": "string",
								"format": "uri"
							}
						}
					},
					"accounting_vendor_id": {
						"type": "string",
						"format": "uuid"
					},
					"is_special_vendor": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"visible",
					"breaksCase",
					"delivery_minimum",
					"delivery_minimum_money",
					"is_special_vendor",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"UserOnboarding": {
				"type": "object",
				"description": "Row from Supabase table 'user_onboarding'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"email": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"name": {
						"type": "string"
					},
					"birthdate": {
						"type": "string",
						"format": "date"
					},
					"locations": {
						"type": "array",
						"items": {
							"type": "integer",
							"format": "int32"
						}
					},
					"role": {
						"type": "integer",
						"format": "int32"
					},
					"active": {
						"type": "boolean"
					},
					"phone": {
						"type": "string"
					},
					"address": {
						"type": "string"
					},
					"city": {
						"type": "string"
					},
					"state": {
						"type": "string"
					},
					"zip": {
						"type": "number"
					},
					"emergency_name": {
						"type": "string"
					},
					"emergency_phone": {
						"type": "string"
					},
					"processed": {
						"type": "boolean"
					},
					"password": {
						"type": "string"
					},
					"ssn_last4": {
						"type": "string"
					},
					"tax_info_skipped": {
						"type": "boolean"
					},
					"federal_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"deductions": {
								"type": "integer"
							},
							"dependents_amount": {
								"type": "integer"
							},
							"exempt": {
								"type": "boolean"
							},
							"extra_withholding": {
								"type": "integer"
							},
							"filing_status": {
								"type": "string"
							},
							"multiple_jobs": {
								"type": "boolean"
							},
							"other_income": {
								"type": "integer"
							},
							"w4_year": {
								"type": "integer"
							}
						}
					},
					"az_json": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"extra_withholding": {
								"type": "integer"
							},
							"rate": {
								"type": "number"
							},
							"zero_withholding": {
								"type": "boolean"
							}
						}
					},
					"ssn_ciphertext": {
						"type": "string"
					},
					"ssn_nonce": {
						"type": "string"
					},
					"routing_ciphertext": {
						"type": "string"
					},
					"routing_nonce": {
						"type": "string"
					},
					"account_ciphertext": {
						"type": "string"
					},
					"account_nonce": {
						"type": "string"
					},
					"routing_last4": {
						"type": "string"
					},
					"account_last4": {
						"type": "string"
					},
					"key_version": {
						"type": "integer",
						"format": "int32"
					},
					"cipher_algo": {
						"type": "string"
					},
					"w2_electronic_consent": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"accepted_terms_of_service": {
						"type": "boolean"
					},
					"acknowledged_privacy_policy": {
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"active",
					"processed",
					"w2_electronic_consent",
					"company_id",
					"accepted_terms_of_service",
					"acknowledged_privacy_policy"
				]
			},
			"UserRoles": {
				"type": "object",
				"description": "Row from Supabase table 'user_roles'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"role": {
						"type": "string"
					}
				},
				"required": ["id", "role"]
			},
			"Profiles": {
				"type": "object",
				"description": "Row from Supabase table 'profiles'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"email": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"name": {
						"type": "string"
					},
					"birthdate": {
						"type": "string",
						"format": "date"
					},
					"locations": {
						"type": "array",
						"items": {
							"type": "integer",
							"format": "int32"
						}
					},
					"role": {
						"type": "integer",
						"format": "int32"
					},
					"active": {
						"type": "boolean"
					},
					"phone": {
						"type": "string"
					},
					"address": {
						"type": "string"
					},
					"city": {
						"type": "string"
					},
					"state": {
						"type": "string"
					},
					"zip": {
						"type": "number"
					},
					"emergency_name": {
						"type": "string"
					},
					"emergency_phone": {
						"type": "string"
					}
				},
				"required": ["id", "active"]
			},
			"ItemFdcData": {
				"type": "object",
				"description": "Row from Supabase table 'item_fdc_data'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"item_id": {
						"type": "integer",
						"format": "int32"
					},
					"fdc_id": {
						"type": "integer",
						"format": "int32"
					},
					"fdc_description": {
						"type": "string"
					},
					"fdc_data_type": {
						"type": "string"
					},
					"fdc_publication_date": {
						"type": "string",
						"format": "date"
					},
					"fdc_serving_size": {
						"type": "number"
					},
					"fdc_serving_size_unit": {
						"type": "integer",
						"format": "int32"
					},
					"fdc_brand_name": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "item_id", "fdc_id"]
			},
			"FoodCostGoals": {
				"type": "object",
				"description": "Row from Supabase table 'food_cost_goals'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"retail": {
						"type": "number"
					},
					"name": {
						"type": "string"
					},
					"wholesale": {
						"type": "number"
					},
					"style": {
						"type": "string"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "retail", "style", "company_id"]
			},
			"GlobalIngredients": {
				"type": "object",
				"description": "Row from Supabase table 'global_ingredients'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"name": {
						"type": "string"
					},
					"normalized_name": {
						"type": "string"
					},
					"aliases": {
						"type": "string"
					},
					"image_url": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "aliases", "image_url", "is_active", "created_at", "updated_at"]
			},
			"Items": {
				"type": "object",
				"description": "Inventory items. One row per item.",
				"additionalProperties": false,
				"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"
					},
					"wholesale_price": {
						"type": "number"
					},
					"wholesale_pack_size": {
						"type": "number"
					},
					"wholesale_unit_label": {
						"type": "string"
					},
					"wholesale_category_id": {
						"type": "integer",
						"format": "int32"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"is_global": {
						"type": "boolean"
					},
					"global_ingredient_id": {
						"type": "integer",
						"format": "int64"
					},
					"menu_visible": {
						"type": "boolean"
					}
				},
				"required": ["id", "visible", "recipe", "image_url", "is_global", "menu_visible"]
			},
			"InventoryMovements": {
				"type": "object",
				"description": "Inventory movement ledger for recipe/non-recipe stock deltas.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"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"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"company_id",
					"location_id",
					"item_id",
					"unit_id",
					"delta_quantity",
					"event_at",
					"source_type",
					"source_ref",
					"metadata",
					"created_at",
					"updated_at"
				]
			},
			"LaborCostGoals": {
				"type": "object",
				"description": "Row from Supabase table 'labor_cost_goals'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"name": {
						"type": "string"
					},
					"target": {
						"type": "number"
					},
					"style": {
						"type": "string"
					}
				},
				"required": ["name", "target", "style"]
			},
			"MixerProfiles": {
				"type": "object",
				"description": "Row from Supabase table 'mixer_profiles'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"rpm_speed_1": {
						"type": "integer",
						"format": "int32"
					},
					"rpm_speed_2": {
						"type": "integer",
						"format": "int32"
					},
					"friction_factor": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "rpm_speed_1", "rpm_speed_2"]
			},
			"UsdaNutrientDefinitions": {
				"type": "object",
				"description": "Row from Supabase table 'usda_nutrient_definitions'.",
				"additionalProperties": false,
				"properties": {
					"nutrient_id": {
						"type": "integer",
						"format": "int32"
					},
					"nutrient_name": {
						"type": "string"
					},
					"unit_name": {
						"type": "string"
					},
					"display_order": {
						"type": "integer",
						"format": "int32"
					},
					"recommended_daily_value": {
						"type": "number"
					}
				},
				"required": ["nutrient_id", "nutrient_name", "unit_name"]
			},
			"ItemNutrients": {
				"type": "object",
				"description": "Row from Supabase table 'item_nutrients'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"item_id": {
						"type": "integer",
						"format": "int32"
					},
					"nutrient_id": {
						"type": "integer",
						"format": "int32"
					},
					"amount": {
						"type": "number"
					},
					"source": {
						"type": "string"
					},
					"last_updated": {
						"type": "string",
						"format": "date-time"
					},
					"unit": {
						"type": "integer",
						"format": "int32"
					},
					"serving_size": {
						"type": "integer",
						"format": "int64"
					},
					"serving_size_unit": {
						"type": "integer",
						"format": "int64"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "item_id", "nutrient_id", "source"]
			},
			"ProductionPositionLocationRates": {
				"type": "object",
				"description": "Row from Supabase table 'production_position_location_rates'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"position_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"hourly_rate": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["position_id", "location_id", "hourly_rate", "created_at", "updated_at"]
			},
			"ProductionPositions": {
				"type": "object",
				"description": "Row from Supabase table 'production_positions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"global_hourly_rate": {
						"type": "number"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "global_hourly_rate", "is_active", "created_at", "updated_at"]
			},
			"ProductionRecipeLaborTasks": {
				"type": "object",
				"description": "Row from Supabase table 'production_recipe_labor_tasks'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"recipe_id": {
						"type": "integer",
						"format": "int64"
					},
					"name": {
						"type": "string"
					},
					"position_id": {
						"type": "string",
						"format": "uuid"
					},
					"sort_order": {
						"type": "integer",
						"format": "int32"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"recipe_id",
					"name",
					"position_id",
					"sort_order",
					"is_active",
					"created_at",
					"updated_at"
				]
			},
			"ProductionRecipeLaborTrials": {
				"type": "object",
				"description": "Row from Supabase table 'production_recipe_labor_trials'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"task_id": {
						"type": "string",
						"format": "uuid"
					},
					"duration_seconds": {
						"type": "integer",
						"format": "int32"
					},
					"yield_quantity": {
						"type": "number"
					},
					"excluded": {
						"type": "boolean"
					},
					"note": {
						"type": "string"
					},
					"deleted_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"task_id",
					"duration_seconds",
					"yield_quantity",
					"excluded",
					"created_at",
					"updated_at"
				]
			},
			"RecipesCategories": {
				"type": "object",
				"description": "Row from Supabase table 'recipes_categories'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"category": {
						"type": "string"
					},
					"order": {
						"type": "integer",
						"format": "int32"
					},
					"visible": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "category", "order", "visible", "company_id"]
			},
			"RecipeComponentVersions": {
				"type": "object",
				"description": "Row from Supabase table 'recipe_component_versions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"recipe_version_id": {
						"type": "integer",
						"format": "int64"
					},
					"source_component_id": {
						"type": "integer",
						"format": "int64"
					},
					"item_id": {
						"type": "integer",
						"format": "int64"
					},
					"quantity": {
						"type": "number"
					},
					"unit_id": {
						"type": "integer",
						"format": "int64"
					},
					"recipe_order": {
						"type": "integer",
						"format": "int32"
					}
				},
				"required": ["recipe_version_id", "item_id", "unit_id"]
			},
			"RecipeComponents": {
				"type": "object",
				"description": "Recipe components. One row per ingredient per recipe.",
				"additionalProperties": false,
				"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",
						"format": "int32"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "item_id", "unit_id", "recipe_id", "company_id"]
			},
			"RecipeLocationPricing": {
				"type": "object",
				"description": "Row from Supabase table 'recipe_location_pricing'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"recipe_id": {
						"type": "integer",
						"format": "int64"
					},
					"location_id": {
						"type": "integer",
						"format": "int64"
					},
					"retail_price": {
						"type": "number"
					},
					"wholesale_price": {
						"type": "number"
					},
					"preferred_price": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"retail_price_variants": {
						"type": "array",
						"items": {
							"type": "string"
						}
					}
				},
				"required": ["id", "recipe_id", "location_id", "company_id"]
			},
			"RecipeVersions": {
				"type": "object",
				"description": "Row from Supabase table 'recipe_versions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"recipe_id": {
						"type": "integer",
						"format": "int64"
					},
					"version": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"change_note": {
						"type": "string"
					},
					"category_id": {
						"type": "integer",
						"format": "int64"
					},
					"baker_percent": {
						"type": "boolean"
					},
					"directions": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"notes": {
						"type": "string"
					},
					"planning_visible": {
						"type": "boolean"
					},
					"yield": {
						"type": "number"
					},
					"batch": {
						"type": "boolean"
					},
					"retail_price": {
						"type": "number"
					},
					"wholesale_price": {
						"type": "number"
					},
					"nutrition_published": {
						"type": "boolean"
					},
					"bread_recipe": {
						"type": "boolean"
					},
					"bread_fermentation_time_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"bread_fermentation_temp_f": {
						"type": "integer",
						"format": "int32"
					},
					"bread_mix_type": {
						"type": "string"
					},
					"preferred_price": {
						"type": "number"
					},
					"units_per_case": {
						"type": "number"
					},
					"units_unit_id": {
						"type": "integer",
						"format": "int64"
					}
				},
				"required": [
					"recipe_id",
					"created_at",
					"planning_visible",
					"batch",
					"nutrition_published",
					"bread_recipe"
				]
			},
			"SquareRecipeMappingSuggestions": {
				"type": "object",
				"description": "Review queue for unmatched Square items with suggested recipe mappings.",
				"additionalProperties": false,
				"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",
						"format": "int32"
					},
					"last_seen_at": {
						"type": "string",
						"format": "date-time"
					},
					"evidence": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"first_seen_at": {
						"type": "string",
						"format": "date-time"
					},
					"reviewed_by": {
						"type": "string",
						"format": "uuid"
					},
					"reviewed_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"company_id",
					"square_item_key",
					"variation_key",
					"match_method",
					"evidence",
					"status",
					"source_seen_count",
					"first_seen_at",
					"last_seen_at",
					"created_at",
					"updated_at"
				]
			},
			"SquareRecipeMappings": {
				"type": "object",
				"description": "Approved mapping from Square line item keys to recipe depletion rules.",
				"additionalProperties": false,
				"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"
					},
					"square_item_name": {
						"type": "string"
					},
					"confidence": {
						"type": "number"
					},
					"match_method": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					},
					"reviewed_by": {
						"type": "string",
						"format": "uuid"
					},
					"reviewed_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"company_id",
					"square_item_key",
					"variation_key",
					"recipe_id",
					"quantity_per_sale",
					"quantity_unit_id",
					"deplete_subrecipes",
					"track_parent_inventory",
					"active",
					"match_method",
					"created_at",
					"updated_at"
				]
			},
			"ItemSubIngredients": {
				"type": "object",
				"description": "Row from Supabase table 'item_sub_ingredients'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"item_id": {
						"type": "integer",
						"format": "int64"
					},
					"sub_ingredients": {
						"type": "string"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "item_id"]
			},
			"Units": {
				"type": "object",
				"description": "Unit definitions for items and recipes.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"unitName": {
						"type": "string"
					},
					"unitAbbreviation": {
						"type": "string"
					},
					"visible": {
						"type": "boolean"
					},
					"conversionFactor": {
						"type": "number",
						"format": "float"
					},
					"nutrient": {
						"type": "boolean"
					},
					"metricUnit": {
						"type": "integer",
						"format": "int64"
					},
					"standard_unit": {
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"unitName",
					"visible",
					"unitAbbreviation",
					"metricUnit",
					"conversionFactor",
					"standard_unit"
				]
			},
			"InspectionCategories": {
				"type": "object",
				"description": "Row from Supabase table 'inspection_categories'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"checklist_id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"display_order": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"checklist_id",
					"name",
					"display_order",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"InspectionChecklists": {
				"type": "object",
				"description": "Row from Supabase table 'inspection_checklists'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"active": {
						"type": "boolean"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"restricted": {
						"type": "boolean"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "name", "active", "created_at", "updated_at", "company_id"]
			},
			"InspectionItems": {
				"type": "object",
				"description": "Row from Supabase table 'inspection_items'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"category_id": {
						"type": "string",
						"format": "uuid"
					},
					"title": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"required": {
						"type": "boolean"
					},
					"weight": {
						"type": "integer",
						"format": "int32"
					},
					"display_order": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"category_id",
					"title",
					"required",
					"weight",
					"display_order",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"InspectionItemResponses": {
				"type": "object",
				"description": "Row from Supabase table 'inspection_item_responses'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"inspection_id": {
						"type": "string",
						"format": "uuid"
					},
					"item_id": {
						"type": "string",
						"format": "uuid"
					},
					"passed": {
						"type": "boolean"
					},
					"notes": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"inspection_id",
					"item_id",
					"passed",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"VInspectionRollup": {
				"type": "object",
				"description": "Row from Supabase table 'v_inspection_rollup'.",
				"additionalProperties": false,
				"properties": {
					"inspection_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"checklist_id": {
						"type": "string",
						"format": "uuid"
					},
					"inspected_at": {
						"type": "string",
						"format": "date-time"
					},
					"total_items": {
						"type": "integer",
						"format": "int64"
					},
					"items_passed": {
						"type": "integer",
						"format": "int64"
					},
					"items_flagged": {
						"type": "integer",
						"format": "int64"
					},
					"score_percent": {
						"type": "number"
					}
				}
			},
			"Inspections": {
				"type": "object",
				"description": "Row from Supabase table 'inspections'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"checklist_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"inspected_at": {
						"type": "string",
						"format": "date-time"
					},
					"inspected_by": {
						"type": "string",
						"format": "uuid"
					},
					"overall_notes": {
						"type": "string"
					},
					"total_items": {
						"type": "integer",
						"format": "int32"
					},
					"items_passed": {
						"type": "integer",
						"format": "int32"
					},
					"score_percent": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"summary": {
						"type": "string"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": [
					"id",
					"checklist_id",
					"location_id",
					"inspected_at",
					"created_at",
					"updated_at",
					"company_id"
				]
			},
			"RecurringPatterns": {
				"type": "object",
				"description": "Row from Supabase table 'recurring_patterns'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"frequency": {
						"type": "string"
					},
					"interval": {
						"type": "integer",
						"format": "int32"
					},
					"day_of_month": {
						"type": "integer",
						"format": "int32"
					},
					"start_date": {
						"type": "string",
						"format": "date"
					},
					"end_date": {
						"type": "string",
						"format": "date"
					},
					"days_of_week": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"week_of_month": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"exclusion_dates": {
						"type": "array",
						"items": {
							"type": "string",
							"format": "date"
						}
					},
					"end_type": {
						"type": "string"
					},
					"end_occurrences": {
						"type": "integer",
						"format": "int32"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "frequency", "start_date", "end_type", "company_id"]
			},
			"TaskAreas": {
				"type": "object",
				"description": "Row from Supabase table 'task_areas'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"title": {
						"type": "string"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "title", "location_id", "company_id"]
			},
			"TaskNotes": {
				"type": "object",
				"description": "Row from Supabase table 'task_notes'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"task_id": {
						"type": "integer",
						"format": "int32"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"note": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "note", "company_id"]
			},
			"TaskPriorities": {
				"type": "object",
				"description": "Row from Supabase table 'task_priorities'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"priority": {
						"type": "string"
					}
				},
				"required": ["id"]
			},
			"Tasks": {
				"type": "object",
				"description": "Row from Supabase table 'tasks'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"title": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"assigned_to": {
						"type": "string",
						"format": "uuid"
					},
					"requires_review": {
						"type": "boolean"
					},
					"recurring_pattern_id": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"list_order": {
						"type": "integer",
						"format": "int32"
					},
					"priority_id": {
						"type": "integer",
						"format": "int64"
					},
					"parent_task_id": {
						"type": "integer",
						"format": "int32"
					},
					"is_template": {
						"type": "boolean"
					},
					"due_date": {
						"type": "string",
						"format": "date"
					},
					"area_id": {
						"type": "integer",
						"format": "int32"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "title", "location_id", "company_id"]
			},
			"TasksCompleted": {
				"type": "object",
				"description": "Row from Supabase table 'tasks_completed'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int32"
					},
					"task_id": {
						"type": "integer",
						"format": "int32"
					},
					"completed_by": {
						"type": "string",
						"format": "uuid"
					},
					"completed_at": {
						"type": "string",
						"format": "date-time"
					},
					"note": {
						"type": "string"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["id", "company_id"]
			},
			"AccountingAccounts": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_accounts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"code": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"parent_id": {
						"type": "string",
						"format": "uuid"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "type", "is_active", "created_at", "updated_at"]
			},
			"AccountingTransactions": {
				"type": "object",
				"description": "Accounting transactions (headers).",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"posting_date": {
						"type": "string",
						"format": "date"
					},
					"memo": {
						"type": "string"
					},
					"customer_id": {
						"type": "string",
						"format": "uuid"
					},
					"vendor_id": {
						"type": "string",
						"format": "uuid"
					},
					"reference": {
						"type": "string"
					},
					"source": {
						"type": "string"
					},
					"is_posted": {
						"type": "boolean"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["posting_date", "memo", "is_posted", "created_at", "updated_at"]
			},
			"AccountingBankFeedItems": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_bank_feed_items'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"source": {
						"type": "string"
					},
					"source_connection_id": {
						"type": "string",
						"format": "uuid"
					},
					"source_account_id": {
						"type": "string"
					},
					"source_transaction_id": {
						"type": "string"
					},
					"source_hash": {
						"type": "string"
					},
					"occurred_at": {
						"type": "string",
						"format": "date-time"
					},
					"amount": {
						"type": "number"
					},
					"currency": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"raw": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"filename": {
								"type": "string"
							},
							"fit_id": {
								"type": "string"
							},
							"memo": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"posted_at": {
								"type": "string"
							},
							"trn_type": {
								"type": "string"
							}
						}
					},
					"status": {
						"type": "string"
					},
					"matched_accounting_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "source", "currency", "raw", "status", "created_at", "updated_at"]
			},
			"AccountingBankFeedAccountMappings": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_bank_feed_account_mappings'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"source": {
						"type": "string"
					},
					"source_account_id": {
						"type": "string"
					},
					"source_bank_id": {
						"type": "string"
					},
					"source_bank_name": {
						"type": "string"
					},
					"source_account_type": {
						"type": "string"
					},
					"source_account_label": {
						"type": "string"
					},
					"mapped_accounting_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"last_import_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "source", "source_account_id"]
			},
			"AccountingIntegrationsMercury": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_integrations_mercury'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"mercury_api_key_encrypted": {
						"type": "string"
					},
					"mercury_api_key_last4": {
						"type": "string"
					},
					"default_mercury_account_id": {
						"type": "string"
					},
					"mapped_accounting_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"settings": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"last_sync_at": {
						"type": "string",
						"format": "date-time"
					},
					"sync_cursor": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"org_id",
					"name",
					"is_active",
					"mercury_api_key_encrypted",
					"created_at",
					"updated_at"
				]
			},
			"PayrollEmployeeBankIdentity": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_employee_bank_identity'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"employee_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"routing_ciphertext": {
						"type": "string"
					},
					"routing_nonce": {
						"type": "string"
					},
					"account_ciphertext": {
						"type": "string"
					},
					"account_nonce": {
						"type": "string"
					},
					"routing_last4": {
						"type": "string"
					},
					"account_last4": {
						"type": "string"
					},
					"key_version": {
						"type": "string"
					},
					"cipher_algo": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"verified_at": {
						"type": "string",
						"format": "date-time"
					},
					"verified_method": {
						"type": "string"
					}
				},
				"required": [
					"employee_user_id",
					"routing_ciphertext",
					"routing_nonce",
					"account_ciphertext",
					"account_nonce",
					"routing_last4",
					"account_last4",
					"key_version",
					"cipher_algo",
					"created_at",
					"updated_at"
				]
			},
			"PayrollTaxDeposits": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_tax_deposits'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"jurisdiction": {
						"type": "string"
					},
					"state_code": {
						"type": "string"
					},
					"frequency": {
						"type": "string"
					},
					"payment_date": {
						"type": "string",
						"format": "date"
					},
					"period_start": {
						"type": "string",
						"format": "date"
					},
					"period_end": {
						"type": "string",
						"format": "date"
					},
					"amount_cents": {
						"type": "integer",
						"format": "int64"
					},
					"payment_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"liability_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"accounting_transaction_id": {
						"type": "string",
						"format": "uuid"
					},
					"form_codes": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"jurisdiction",
					"payment_date",
					"amount_cents",
					"form_codes",
					"created_at",
					"updated_at"
				]
			},
			"PayrollTaxFormFilings": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_tax_form_filings'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"form_code": {
						"type": "string"
					},
					"filing_kind": {
						"type": "string"
					},
					"jurisdiction": {
						"type": "string"
					},
					"state_code": {
						"type": "string"
					},
					"tax_year": {
						"type": "integer",
						"format": "int32"
					},
					"tax_quarter": {
						"type": "integer",
						"format": "int32"
					},
					"period_start": {
						"type": "string",
						"format": "date"
					},
					"period_end": {
						"type": "string",
						"format": "date"
					},
					"due_date": {
						"type": "string",
						"format": "date"
					},
					"reminder_date": {
						"type": "string",
						"format": "date"
					},
					"status": {
						"type": "string"
					},
					"submitted_at": {
						"type": "string",
						"format": "date-time"
					},
					"submitted_by": {
						"type": "string",
						"format": "uuid"
					},
					"submission_method": {
						"type": "string"
					},
					"notes": {
						"type": "string"
					},
					"artifact_bucket": {
						"type": "string"
					},
					"artifact_path": {
						"type": "string"
					},
					"artifact_public_url": {
						"type": "string"
					},
					"artifact_mime_type": {
						"type": "string"
					},
					"artifact_generated_at": {
						"type": "string",
						"format": "date-time"
					},
					"artifact_data": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"fields": {
								"type": "array",
								"items": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"label": {
											"type": "string"
										},
										"line": {
											"type": "string"
										},
										"value": {
											"type": "number"
										}
									}
								}
							},
							"form_code": {
								"type": "string"
							},
							"period_label": {
								"type": "string"
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"form_code",
					"filing_kind",
					"jurisdiction",
					"state_code",
					"tax_year",
					"tax_quarter",
					"period_start",
					"period_end",
					"status",
					"artifact_data",
					"created_at",
					"updated_at"
				]
			},
			"PayrollSensitiveChangeRequests": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_sensitive_change_requests'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"employee_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"requested_by_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"request_type": {
						"type": "string"
					},
					"new_ssn_ciphertext": {
						"type": "string"
					},
					"new_ssn_nonce": {
						"type": "string"
					},
					"new_ssn_last4": {
						"type": "string"
					},
					"new_routing_ciphertext": {
						"type": "string"
					},
					"new_routing_nonce": {
						"type": "string"
					},
					"new_routing_last4": {
						"type": "string"
					},
					"new_account_ciphertext": {
						"type": "string"
					},
					"new_account_nonce": {
						"type": "string"
					},
					"new_account_last4": {
						"type": "string"
					},
					"key_version": {
						"type": "string"
					},
					"cipher_algo": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"email_token_hash": {
						"type": "string"
					},
					"email_sent_to": {
						"type": "string"
					},
					"expires_at": {
						"type": "string",
						"format": "date-time"
					},
					"approved_by_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"approved_at": {
						"type": "string",
						"format": "date-time"
					},
					"applied_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"employee_user_id",
					"requested_by_user_id",
					"request_type",
					"key_version",
					"cipher_algo",
					"status",
					"expires_at",
					"created_at"
				]
			},
			"PayrollEmployeeTaxIdentity": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_employee_tax_identity'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"ssn": {
						"type": "string"
					},
					"ssn_last4": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["user_id", "created_at", "updated_at"]
			},
			"PayrollEmployeeTaxPreferences": {
				"type": "object",
				"description": "Row from Supabase table 'payroll_employee_tax_preferences'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"employee_user_id": {
						"type": "string",
						"format": "uuid"
					},
					"w2_electronic_consent": {
						"type": "boolean"
					},
					"consent_updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["employee_user_id", "w2_electronic_consent", "created_at", "updated_at"]
			},
			"AccountingBankReconciliationSessions": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_bank_reconciliation_sessions'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"org_id": {
						"type": "string",
						"format": "uuid"
					},
					"account_id": {
						"type": "string",
						"format": "uuid"
					},
					"statement_start_date": {
						"type": "string",
						"format": "date"
					},
					"statement_end_date": {
						"type": "string",
						"format": "date"
					},
					"summary": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"beginning_balance": {
								"type": "number"
							},
							"ending_balance": {
								"type": "number"
							},
							"manual_statement": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"beginning_balance_cents": {
										"type": "integer"
									},
									"beginning_input": {
										"type": "string"
									},
									"deposits_cents": {
										"type": "integer"
									},
									"deposits_input": {
										"type": "string"
									},
									"ending_balance_cents": {
										"type": "integer"
									},
									"ending_input": {
										"type": "string"
									},
									"withdrawals_cents": {
										"type": "integer"
									},
									"withdrawals_input": {
										"type": "string"
									}
								}
							},
							"statement_period": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"end_date": {
										"type": "string"
									},
									"start_date": {
										"type": "string"
									}
								}
							}
						}
					},
					"summary_check": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"difference": {
								"type": "integer"
							},
							"expected_ending_balance": {
								"type": "number"
							},
							"ok": {
								"type": "boolean"
							}
						}
					},
					"line_item_totals": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"total_credits": {
								"type": "number"
							},
							"total_credits_count": {
								"type": "integer"
							},
							"total_debits": {
								"type": "number"
							},
							"total_debits_count": {
								"type": "integer"
							}
						}
					},
					"line_item_check": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"difference": {
								"type": "integer"
							},
							"expected_ending_balance": {
								"type": "number"
							},
							"ok": {
								"type": "boolean"
							}
						}
					},
					"match_summary": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"manual_reconciled_transaction_ids": {
								"type": "array",
								"items": {
									"type": "string"
								}
							}
						}
					},
					"source_file_name": {
						"type": "string"
					},
					"source_file_size": {
						"type": "integer",
						"format": "int64"
					},
					"source_file_hash": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["org_id", "account_id", "status", "created_at", "updated_at"]
			},
			"AccountingBankFeedRules": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_bank_feed_rules'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"description_pattern": {
						"type": "string"
					},
					"amount_min": {
						"type": "number"
					},
					"amount_max": {
						"type": "number"
					},
					"apply_vendor_id": {
						"type": "string",
						"format": "uuid"
					},
					"apply_account_id": {
						"type": "string",
						"format": "uuid"
					}
				},
				"required": ["created_at", "description_pattern", "apply_account_id"]
			},
			"AccountingTaxExemptionReasons": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_tax_exemption_reasons'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "is_active", "created_at", "updated_at"]
			},
			"DashboardWidgets": {
				"type": "object",
				"description": "Row from Supabase table 'dashboard_widgets'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"route": {
						"type": "string"
					},
					"feed_id": {
						"type": "string"
					},
					"viz_type": {
						"type": "string"
					},
					"config": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"date_range": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"end": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"id": {
												"type": "string"
											},
											"name": {
												"type": "string"
											},
											"status": {
												"type": "string"
											}
										}
									},
									"preset": {
										"type": "string"
									},
									"start": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"id": {
												"type": "string"
											},
											"name": {
												"type": "string"
											},
											"status": {
												"type": "string"
											}
										}
									}
								}
							},
							"feed": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"allowedViz": {
										"type": "array",
										"items": {
											"type": "string"
										}
									},
									"description": {
										"type": "string"
									},
									"dimensions": {
										"type": "array",
										"items": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"key": {
													"type": "string"
												},
												"label": {
													"type": "string"
												},
												"type": {
													"type": "string"
												}
											}
										}
									},
									"execution": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"fn": {
												"type": "string"
											},
											"schema": {
												"type": "string"
											},
											"type": {
												"type": "string"
											}
										}
									},
									"feedId": {
										"type": "string"
									},
									"filters": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"location_ids": {
												"type": "boolean"
											},
											"source_types": {
												"type": "boolean"
											},
											"weekdays": {
												"type": "boolean"
											}
										}
									},
									"label": {
										"type": "string"
									},
									"measures": {
										"type": "array",
										"items": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"field": {
													"type": "string"
												},
												"format": {
													"type": "string"
												},
												"key": {
													"type": "string"
												},
												"label": {
													"type": "string"
												},
												"ops": {
													"type": "array",
													"items": {
														"type": "string"
													}
												}
											}
										}
									},
									"requiresDateRange": {
										"type": "boolean"
									},
									"timeField": {
										"type": "string"
									}
								}
							},
							"feed_id": {
								"type": "string"
							},
							"filters": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"location_ids": {
										"type": "array",
										"items": {
											"type": "integer"
										}
									},
									"source_types": {
										"type": "array",
										"items": {
											"type": "string"
										}
									},
									"weekdays": {
										"type": "array",
										"items": {
											"type": "integer"
										}
									}
								}
							},
							"options": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"limit": {
										"type": "integer"
									}
								}
							},
							"viz": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"type": {
										"type": "string"
									},
									"x": {
										"type": "string"
									},
									"y": {
										"type": "array",
										"items": {
											"type": "object",
											"additionalProperties": false,
											"properties": {
												"as": {
													"type": "string"
												},
												"field": {
													"type": "string"
												},
												"op": {
													"type": "string"
												}
											}
										}
									}
								}
							}
						}
					},
					"is_active": {
						"type": "boolean"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["company_id", "name", "route", "feed_id", "viz_type", "config"]
			},
			"CompanyMemberships": {
				"type": "object",
				"description": "Row from Supabase table 'company_memberships'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"role": {
						"type": "integer",
						"format": "int32"
					},
					"is_default": {
						"type": "boolean"
					},
					"is_active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["company_id", "user_id", "is_default", "is_active", "created_at", "updated_at"]
			},
			"Companies": {
				"type": "object",
				"description": "Row from Supabase table 'companies'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"slug": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"timezone": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"is_default": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "timezone", "is_active", "is_default", "created_at", "updated_at"]
			},
			"KdsSetupCode": {
				"type": "object",
				"description": "Row from Supabase table 'kds_setup_code'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"code": {
						"type": "string"
					},
					"expires_at": {
						"type": "string",
						"format": "date-time"
					},
					"used_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["location_id", "code", "expires_at", "created_by", "created_at"]
			},
			"KdsOrderClearEvent": {
				"type": "object",
				"description": "Row from Supabase table 'kds_order_clear_event'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"order_id": {
						"type": "string",
						"format": "uuid"
					},
					"device_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"source": {
						"type": "string"
					},
					"is_test": {
						"type": "boolean"
					},
					"received_at": {
						"type": "string",
						"format": "date-time"
					},
					"main_started_at": {
						"type": "string",
						"format": "date-time"
					},
					"cleared_at": {
						"type": "string",
						"format": "date-time"
					},
					"seconds_to_clear": {
						"type": "integer",
						"format": "int32"
					},
					"within_goal": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"order_id",
					"source",
					"is_test",
					"received_at",
					"main_started_at",
					"cleared_at",
					"seconds_to_clear",
					"within_goal",
					"created_at"
				]
			},
			"KdsTestOrderTemplate": {
				"type": "object",
				"description": "Row from Supabase table 'kds_test_order_template'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"order_source": {
						"type": "string"
					},
					"fulfillment_method": {
						"type": "string"
					},
					"is_scheduled": {
						"type": "boolean"
					},
					"due_in_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"order_total_cents": {
						"type": "integer",
						"format": "int64"
					},
					"order_note": {
						"type": "string"
					},
					"fulfillment_note": {
						"type": "string"
					},
					"line_items": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"modifiers": {
									"type": "array",
									"items": {
										"type": "object",
										"additionalProperties": false,
										"properties": {
											"name": {
												"type": "string"
											},
											"quantity": {
												"type": "string"
											}
										}
									}
								},
								"name": {
									"type": "string"
								},
								"note": {
									"type": "string"
								},
								"quantity": {
									"type": "string"
								},
								"totalMoney": {
									"type": "object",
									"additionalProperties": false,
									"properties": {
										"amount": {
											"type": "string"
										},
										"currency": {
											"type": "string"
										}
									}
								},
								"uid": {
									"type": "string"
								}
							}
						}
					},
					"active": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"name",
					"order_source",
					"fulfillment_method",
					"is_scheduled",
					"due_in_minutes",
					"order_total_cents",
					"line_items",
					"active",
					"created_at",
					"updated_at"
				]
			},
			"TvDisplayPromo": {
				"type": "object",
				"description": "Row from Supabase table 'tv_display_promo'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"active": {
						"type": "boolean"
					},
					"sort_order": {
						"type": "integer",
						"format": "int32"
					},
					"type": {
						"type": "string"
					},
					"headline": {
						"type": "string"
					},
					"body_text": {
						"type": "string"
					},
					"cta_text": {
						"type": "string"
					},
					"image_url": {
						"type": "string"
					},
					"media_urls": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"company_id",
					"name",
					"active",
					"sort_order",
					"type",
					"media_urls",
					"created_at",
					"updated_at"
				]
			},
			"AccountingSalesChannels": {
				"type": "object",
				"description": "Row from Supabase table 'accounting_sales_channels'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"name": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"default_location_id": {
						"type": "string"
					},
					"clearing_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"fee_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"default_income_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"default_sales_tax_payable_account_id": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["name", "is_active", "clearing_account_id", "created_at", "updated_at"]
			},
			"Feedback": {
				"type": "object",
				"description": "Row from Supabase table 'feedback'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"description": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"page": {
						"type": "string"
					},
					"priority": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"route_path": {
						"type": "string"
					},
					"route_key": {
						"type": "string"
					},
					"route_category": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"developer_status": {
						"type": "string"
					},
					"telemetry": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_by_name": {
						"type": "string"
					},
					"created_by_email": {
						"type": "string"
					},
					"thumbs_up_count": {
						"type": "integer",
						"format": "int32"
					},
					"comment_count": {
						"type": "integer",
						"format": "int32"
					},
					"completed_at": {
						"type": "string",
						"format": "date-time"
					},
					"completed_by": {
						"type": "string",
						"format": "uuid"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"company_name": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"route_category",
					"status",
					"telemetry",
					"thumbs_up_count",
					"comment_count",
					"updated_at"
				]
			},
			"TenantSocialAccounts": {
				"type": "object",
				"description": "Row from Supabase table 'tenant_social_accounts'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"platform": {
						"type": "string"
					},
					"meta_user_id": {
						"type": "string"
					},
					"meta_page_id": {
						"type": "string"
					},
					"meta_instagram_account_id": {
						"type": "string"
					},
					"account_name": {
						"type": "string"
					},
					"username": {
						"type": "string"
					},
					"access_token_encrypted": {
						"type": "string"
					},
					"refresh_token_encrypted": {
						"type": "string"
					},
					"token_expires_at": {
						"type": "string",
						"format": "date-time"
					},
					"scopes": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"status": {
						"type": "string"
					},
					"metadata": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"connected_via": {
								"type": "string"
							},
							"meta_user_name": {
								"type": "string"
							},
							"oauth_connected_at": {
								"type": "string"
							}
						}
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					},
					"last_sync_at": {
						"type": "string",
						"format": "date-time"
					},
					"last_error": {
						"type": "string"
					}
				},
				"required": [
					"company_id",
					"platform",
					"access_token_encrypted",
					"scopes",
					"status",
					"metadata",
					"created_at",
					"updated_at"
				]
			},
			"TenantSocialOauthPendingConnections": {
				"type": "object",
				"description": "Row from Supabase table 'tenant_social_oauth_pending_connections'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"company_id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"provider": {
						"type": "string"
					},
					"access_token_encrypted": {
						"type": "string"
					},
					"token_expires_at": {
						"type": "string",
						"format": "date-time"
					},
					"scopes": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"options": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"status": {
								"type": "string"
							},
							"source": {
								"type": "string"
							},
							"note": {
								"type": "string"
							}
						}
					},
					"expires_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"company_id",
					"user_id",
					"provider",
					"access_token_encrypted",
					"scopes",
					"options",
					"expires_at",
					"created_at"
				]
			},
			"WholesaleRoutePlans": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_route_plans'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"route_date": {
						"type": "string",
						"format": "date"
					},
					"fulfillment_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"hub_location_id": {
						"type": "integer",
						"format": "int32"
					},
					"hub_lat": {
						"type": "number"
					},
					"hub_lng": {
						"type": "number"
					},
					"status": {
						"type": "string"
					},
					"optimized_at": {
						"type": "string",
						"format": "date-time"
					},
					"route_polyline": {
						"type": "string"
					},
					"total_distance_meters": {
						"type": "integer",
						"format": "int32"
					},
					"total_drive_seconds": {
						"type": "integer",
						"format": "int32"
					},
					"total_stop_seconds": {
						"type": "integer",
						"format": "int32"
					},
					"total_estimated_seconds": {
						"type": "integer",
						"format": "int32"
					},
					"stop_time_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"eta_mode": {
						"type": "string"
					},
					"last_routed_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"route_date",
					"fulfillment_location_id",
					"hub_location_id",
					"status",
					"stop_time_minutes",
					"eta_mode",
					"created_at",
					"updated_at"
				]
			},
			"WholesaleSavedAdjustments": {
				"type": "object",
				"description": "Row from Supabase table 'wholesale_saved_adjustments'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"label": {
						"type": "string"
					},
					"amount": {
						"type": "number"
					},
					"is_percentage": {
						"type": "boolean"
					},
					"is_visible": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["label", "amount"]
			},
			"KnowledgeFileSyncJobs": {
				"type": "object",
				"description": "Row from Supabase table 'knowledge_file_sync_jobs'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"source_table": {
						"type": "string"
					},
					"source_id": {
						"type": "string",
						"format": "uuid"
					},
					"action": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"attempt_count": {
						"type": "integer",
						"format": "int32"
					},
					"last_error": {
						"type": "string"
					},
					"payload": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"gemini_source_checksum": {
								"type": "object",
								"additionalProperties": false,
								"properties": {
									"status": {
										"type": "string"
									},
									"source": {
										"type": "string"
									},
									"note": {
										"type": "string"
									}
								}
							}
						}
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"source_table",
					"source_id",
					"action",
					"status",
					"attempt_count",
					"created_at",
					"updated_at"
				]
			},
			"RecipeUserStars": {
				"type": "object",
				"description": "Row from Supabase table 'recipe_user_stars'.",
				"additionalProperties": false,
				"properties": {
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"recipe_id": {
						"type": "integer",
						"format": "int64"
					},
					"scale_multiple": {
						"type": "number"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["user_id", "recipe_id", "created_at", "updated_at"]
			},
			"TimeclockPolicy": {
				"type": "object",
				"description": "Row from Supabase table 'timeclock_policy'.",
				"additionalProperties": false,
				"properties": {
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"allow_early_clock_in_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"allow_late_clock_in_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"restrict_to_scheduled_shift": {
						"type": "boolean"
					},
					"require_photo": {
						"type": "boolean"
					},
					"allow_offline_queue": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				}
			},
			"ShiftRole": {
				"type": "object",
				"description": "Row from Supabase table 'shift_role'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"name": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"sort_order": {
						"type": "integer",
						"format": "int32"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["location_id", "name", "is_active"]
			},
			"TimeEntry": {
				"type": "object",
				"description": "Time entries (clock in/out). One row per punch.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"user_id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"clock_in_at": {
						"type": "string",
						"format": "date-time"
					},
					"clock_out_at": {
						"type": "string",
						"format": "date-time"
					},
					"clock_in_photo_url": {
						"type": "string"
					},
					"clock_out_photo_url": {
						"type": "string"
					},
					"source_device_id": {
						"type": "string",
						"format": "uuid"
					},
					"manually_edited": {
						"type": "boolean"
					},
					"edit_reason": {
						"type": "string"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["location_id", "user_id", "clock_in_at", "manually_edited"]
			},
			"TimeclockSetupCode": {
				"type": "object",
				"description": "Row from Supabase table 'timeclock_setup_code'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"code": {
						"type": "string"
					},
					"expires_at": {
						"type": "string",
						"format": "date-time"
					},
					"used_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_by": {
						"type": "string",
						"format": "uuid"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": ["location_id", "code", "expires_at", "created_by"]
			},
			"Recipes": {
				"type": "object",
				"description": "Recipe metadata. One row per recipe.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "integer",
						"format": "int64"
					},
					"category_id": {
						"type": "integer",
						"format": "int64"
					},
					"yield": {
						"type": "number"
					},
					"nutrition_published": {
						"type": "boolean"
					},
					"units_unit_id": {
						"type": "integer",
						"format": "int64"
					},
					"units_per_case": {
						"type": "number"
					},
					"preferred_price": {
						"type": "number"
					},
					"baker_percent": {
						"type": "boolean"
					},
					"directions": {
						"type": "array",
						"items": {
							"type": "object",
							"additionalProperties": false,
							"properties": {
								"id": {
									"type": "integer"
								},
								"text": {
									"type": "string"
								}
							}
						}
					},
					"notes": {
						"type": "string"
					},
					"planning_visible": {
						"type": "boolean"
					},
					"batch": {
						"type": "boolean"
					},
					"bread_recipe": {
						"type": "boolean"
					},
					"bread_fermentation_time_minutes": {
						"type": "integer",
						"format": "int32"
					},
					"bread_fermentation_temp_f": {
						"type": "integer",
						"format": "int32"
					},
					"bread_mix_type": {
						"type": "string"
					}
				},
				"required": ["id", "planning_visible", "batch", "nutrition_published", "bread_recipe"]
			},
			"TvDisplayDevice": {
				"type": "object",
				"description": "Row from Supabase table 'tv_display_device'.",
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"location_id": {
						"type": "integer",
						"format": "int32"
					},
					"nickname": {
						"type": "string"
					},
					"device_token_hash": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"sync_enabled": {
						"type": "boolean"
					},
					"orientation": {
						"type": "string"
					},
					"rotation_seconds": {
						"type": "integer",
						"format": "int32"
					},
					"theme": {
						"type": "string"
					},
					"theme_mode": {
						"type": "string"
					},
					"show_background_motion": {
						"type": "boolean"
					},
					"holiday_theme_enabled": {
						"type": "boolean"
					},
					"holiday_theme_overrides": {
						"type": "object",
						"additionalProperties": false,
						"properties": {
							"id": {
								"type": "string"
							},
							"name": {
								"type": "string"
							},
							"status": {
								"type": "string"
							}
						}
					},
					"force_revalidate_after_days": {
						"type": "integer",
						"format": "int32"
					},
					"last_seen_at": {
						"type": "string",
						"format": "date-time"
					},
					"revoked_at": {
						"type": "string",
						"format": "date-time"
					},
					"created_at": {
						"type": "string",
						"format": "date-time"
					},
					"updated_at": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"location_id",
					"device_token_hash",
					"enabled",
					"sync_enabled",
					"orientation",
					"rotation_seconds",
					"theme",
					"theme_mode",
					"show_background_motion",
					"holiday_theme_enabled",
					"holiday_theme_overrides",
					"created_at",
					"updated_at"
				]
			}
		},
		"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": []
		}
	]
}
