import "./chunk-YPSWSI3M.js";

// src/docs/deduplication.json
var deduplication_default = '# Deduplication API\n\n- **Base URL:** `https://deduplication.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/deduplication](https://docs.epilot.io/api/deduplication)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.deduplication.deduplicate(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/deduplication\'\n\nconst deduplicationClient = getClient()\nauthorize(deduplicationClient, () => \'<token>\')\nconst { data } = await deduplicationClient.deduplicate(...)\n```\n\n## Operations\n\n- [`deduplicate`](#deduplicate)\n\n**Schemas**\n- [`DeduplicateRequestBody`](#deduplicaterequestbody)\n- [`DeduplicateRequestResponse`](#deduplicaterequestresponse)\n- [`Entity`](#entity)\n\n### `deduplicate`\n\nDeduplicates Entities\n\n`POST /v1/deduplicate`\n\n```ts\nconst { data } = await client.deduplicate(\n  null,\n  [\n    {\n      toKeep: \'string\',\n      toDelete: [\'string\']\n    }\n  ],\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n  {\n    "_id": "string",\n    "_org": "string",\n    "_schema": "string",\n    "_created_at": "1970-01-01T00:00:00.000Z",\n    "_updated_at": "1970-01-01T00:00:00.000Z",\n    "_created_by": "string",\n    "created_by": "string",\n    "_tags": ["string"],\n    "_acl": {},\n    "_owners": [\n      {\n        "org_id": "string",\n        "user_id": "string"\n      }\n    ],\n    "type": "string"\n  }\n]\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `DeduplicateRequestBody`\n\n```ts\ntype DeduplicateRequestBody = Array<{\n  toKeep: string\n  toDelete: string[]\n}>\n```\n\n### `DeduplicateRequestResponse`\n\n```ts\ntype DeduplicateRequestResponse = Array<{\n  _id: string\n  _org?: string\n  _schema?: string\n  _created_at?: string // date-time\n  _updated_at?: string // date-time\n  _created_by?: string | number\n  created_by?: string | number\n  _tags?: string[]\n  _acl?: Record<string, string[]>\n  _owners?: Array<{\n    org_id: string\n    user_id: string\n  }>\n  type?: string\n}>\n```\n\n### `Entity`\n\nBase Entity schema\n\n```ts\ntype Entity = {\n  _id: string\n  _org?: string\n  _schema?: string\n  _created_at?: string // date-time\n  _updated_at?: string // date-time\n  _created_by?: string | number\n  created_by?: string | number\n  _tags?: string[]\n  _acl?: Record<string, string[]>\n  _owners?: Array<{\n    org_id: string\n    user_id: string\n  }>\n  type?: string\n}\n```\n';
export {
  deduplication_default as default
};
