{"version":3,"sources":["../../../src/v0/config/metadata.ts"],"sourcesContent":["/**\n * OpenAPI specification metadata\n *\n * This file contains all the base metadata for the OpenAPI specification\n * that was previously stored in openapi-base.yaml.\n *\n * Note on 'as const' usage:\n * - We use 'as const' on literal values that should be treated as enums\n *   (e.g., \"apiKey\", \"header\", \"3.1.0\") to get precise literal types\n * - We avoid 'as const' on top-level configuration objects to prevent\n *   deep readonly types that can cause compatibility issues with libraries\n *   expecting mutable types (like zod-to-openapi)\n * - If you encounter readonly type errors, check whether the consuming\n *   library expects mutable types and remove 'as const' accordingly\n */\n\nexport const apiInfo = {\n  title: \"Zapier SDK API\",\n  version: \"1.0.0\",\n  contact: {\n    email: \"engineering@zapier.com\",\n  },\n  description: \"The Zapier SDK API serves as a backend for the Zapier SDK.\",\n};\n\nexport const servers: Array<{ url: string; description: string }> = [];\n\nexport const tags = [\n  {\n    name: \"Actions\",\n    description: \"Action-related routes\",\n  },\n  {\n    name: \"Apps\",\n    description: \"App-related routes\",\n  },\n  {\n    name: \"Authentications\",\n    description: \"Authentication-related routes (deprecated, use Connections)\",\n  },\n  {\n    name: \"Client Credentials\",\n    description: \"Client credentials management routes\",\n  },\n  {\n    name: \"Connections\",\n    description: \"Connection-related routes\",\n  },\n  {\n    name: \"Deduplication\",\n    description: \"Deduplication-related routes\",\n  },\n  {\n    name: \"Documentation\",\n    description: \"Documentation-related routes\",\n  },\n  {\n    name: \"Approvals\",\n    description: \"Approval request management routes\",\n  },\n];\n\n/**\n * Security schemes for OpenAPI specification\n *\n * Note: 'as const' is used on enum-like literal values (\"apiKey\", \"header\")\n * to ensure TypeScript treats them as literal types rather than generic strings.\n * This provides better type safety when the OpenAPI generator validates these values.\n */\nexport const securitySchemes = {\n  userJwt: {\n    type: \"apiKey\" as const,\n    in: \"header\" as const,\n    name: \"Authorization\",\n    description:\n      \"Format should be `JWT <your-jwt>` (you must ensure that the JWT prefix \" +\n      \"is included in your requests).\\\\n\\\\n\" +\n      \"Example:  `Authorization: JWT your.jwt.value.here`\",\n  },\n} as const;\n\n/**\n * Complete OpenAPI metadata for document generation\n */\nexport const openApiMetadata = {\n  openapi: \"3.1.0\" as const,\n  info: apiInfo,\n  servers,\n  tags,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBO,IAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AACf;AAEO,IAAM,UAAuD,CAAC;AAE9D,IAAM,OAAO;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AACF;AASO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,IACP,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,aACE;AAAA,EAGJ;AACF;AAKO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,MAAM;AAAA,EACN;AAAA,EACA;AACF;","names":[]}