diff --git a/.npmignore b/.npmignore index 6db0876c..c0c40ac1 100644 --- a/.npmignore +++ b/.npmignore @@ -5,5 +5,7 @@ tests .github .fernignore .prettierrc.yml +biome.json tsconfig.json -yarn.lock \ No newline at end of file +yarn.lock +pnpm-lock.yaml \ No newline at end of file diff --git a/.prettierrc.yml b/.prettierrc.yml deleted file mode 100644 index 0c06786b..00000000 --- a/.prettierrc.yml +++ /dev/null @@ -1,2 +0,0 @@ -tabWidth: 4 -printWidth: 120 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..fe5bc2f7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,133 @@ +# Contributing + +Thanks for your interest in contributing to this SDK! This document provides guidelines for contributing to the project. + +## Getting Started + +### Prerequisites + +- Node.js 20 or higher +- pnpm package manager + +### Installation + +Install the project dependencies: + +```bash +pnpm install +``` + +### Building + +Build the project: + +```bash +pnpm build +``` + +### Testing + +Run the test suite: + +```bash +pnpm test +``` + +Run specific test types: +- `pnpm test:unit` - Run unit tests +- `pnpm test:wire` - Run wire/integration tests + +### Linting and Formatting + +Check code style: + +```bash +pnpm run lint +pnpm run format:check +``` + +Fix code style issues: + +```bash +pnpm run lint:fix +pnpm run format:fix +``` + +Or use the combined check command: + +```bash +pnpm run check:fix +``` + +## About Generated Code + +**Important**: Most files in this SDK are automatically generated by [Fern](https://buildwithfern.com) from the API definition. Direct modifications to generated files will be overwritten the next time the SDK is generated. + +### Generated Files + +The following directories contain generated code: +- `src/api/` - API client classes and types +- `src/serialization/` - Serialization/deserialization logic +- Most TypeScript files in `src/` + +### How to Customize + +If you need to customize the SDK, you have two options: + +#### Option 1: Use `.fernignore` + +For custom code that should persist across SDK regenerations: + +1. Create a `.fernignore` file in the project root +2. Add file patterns for files you want to preserve (similar to `.gitignore` syntax) +3. Add your custom code to those files + +Files listed in `.fernignore` will not be overwritten when the SDK is regenerated. + +For more information, see the [Fern documentation on custom code](https://buildwithfern.com/learn/sdks/overview/custom-code). + +#### Option 2: Contribute to the Generator + +If you want to change how code is generated for all users of this SDK: + +1. The TypeScript SDK generator lives in the [Fern repository](https://github.com/fern-api/fern) +2. Generator code is located at `generators/typescript/sdk/` +3. Follow the [Fern contributing guidelines](https://github.com/fern-api/fern/blob/main/CONTRIBUTING.md) +4. Submit a pull request with your changes to the generator + +This approach is best for: +- Bug fixes in generated code +- New features that would benefit all users +- Improvements to code generation patterns + +## Making Changes + +### Workflow + +1. Create a new branch for your changes +2. Make your modifications +3. Run tests to ensure nothing breaks: `pnpm test` +4. Run linting and formatting: `pnpm run check:fix` +5. Build the project: `pnpm build` +6. Commit your changes with a clear commit message +7. Push your branch and create a pull request + +### Commit Messages + +Write clear, descriptive commit messages that explain what changed and why. + +### Code Style + +This project uses automated code formatting and linting. Run `pnpm run check:fix` before committing to ensure your code meets the project's style guidelines. + +## Questions or Issues? + +If you have questions or run into issues: + +1. Check the [Fern documentation](https://buildwithfern.com) +2. Search existing [GitHub issues](https://github.com/fern-api/fern/issues) +3. Open a new issue if your question hasn't been addressed + +## License + +By contributing to this project, you agree that your contributions will be licensed under the same license as the project. diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..a777468e --- /dev/null +++ b/biome.json @@ -0,0 +1,74 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.3.1/schema.json", + "root": true, + "vcs": { + "enabled": false + }, + "files": { + "ignoreUnknown": true, + "includes": [ + "**", + "!!dist", + "!!**/dist", + "!!lib", + "!!**/lib", + "!!_tmp_*", + "!!**/_tmp_*", + "!!*.tmp", + "!!**/*.tmp", + "!!.tmp/", + "!!**/.tmp/", + "!!*.log", + "!!**/*.log", + "!!**/.DS_Store", + "!!**/Thumbs.db" + ] + }, + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 4, + "lineWidth": 120 + }, + "javascript": { + "formatter": { + "quoteStyle": "double" + } + }, + "assist": { + "enabled": true, + "actions": { + "source": { + "organizeImports": "on" + } + } + }, + "linter": { + "rules": { + "style": { + "useNodejsImportProtocol": "off" + }, + "suspicious": { + "noAssignInExpressions": "warn", + "noUselessEscapeInString": { + "level": "warn", + "fix": "none", + "options": {} + }, + "noThenProperty": "warn", + "useIterableCallbackReturn": "warn", + "noShadowRestrictedNames": "warn", + "noTsIgnore": { + "level": "warn", + "fix": "none", + "options": {} + }, + "noConfusingVoidType": { + "level": "warn", + "fix": "none", + "options": {} + } + } + } + } +} diff --git a/jest.config.mjs b/jest.config.mjs deleted file mode 100644 index b6927007..00000000 --- a/jest.config.mjs +++ /dev/null @@ -1,42 +0,0 @@ -/** @type {import('jest').Config} */ -export default { - preset: "ts-jest", - testEnvironment: "node", - projects: [ - { - displayName: "unit", - preset: "ts-jest", - testEnvironment: "node", - moduleNameMapper: { - "^(\.{1,2}/.*)\.js$": "$1", - }, - roots: ["/tests"], - testPathIgnorePatterns: ["\.browser\.(spec|test)\.[jt]sx?$", "/tests/wire/"], - setupFilesAfterEnv: [], - }, - { - displayName: "browser", - preset: "ts-jest", - testEnvironment: "/tests/BrowserTestEnvironment.ts", - moduleNameMapper: { - "^(\.{1,2}/.*)\.js$": "$1", - }, - roots: ["/tests"], - testMatch: ["/tests/unit/**/?(*.)+(browser).(spec|test).[jt]s?(x)"], - setupFilesAfterEnv: [], - }, - , - { - displayName: "wire", - preset: "ts-jest", - testEnvironment: "node", - moduleNameMapper: { - "^(\.{1,2}/.*)\.js$": "$1", - }, - roots: ["/tests/wire"], - setupFilesAfterEnv: ["/tests/mock-server/setup.ts"], - }, - ], - workerThreads: false, - passWithNoTests: true, -}; diff --git a/package.json b/package.json index dc98f23e..8a0063ac 100644 --- a/package.json +++ b/package.json @@ -42,14 +42,18 @@ "LICENSE" ], "scripts": { - "format": "prettier . --write --ignore-unknown", - "build": "yarn build:cjs && yarn build:esm", + "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", + "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", + "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", + "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", + "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", + "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none", + "build": "pnpm build:cjs && pnpm build:esm", "build:cjs": "tsc --project ./tsconfig.cjs.json", "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm", - "test": "jest --config jest.config.mjs", - "test:unit": "jest --selectProjects unit", - "test:browser": "jest --selectProjects browser", - "test:wire": "jest --selectProjects wire" + "test": "vitest", + "test:unit": "vitest --project unit", + "test:wire": "vitest --project wire" }, "dependencies": { "ws": "^8.16.0" @@ -58,15 +62,11 @@ "webpack": "^5.97.1", "ts-loader": "^9.5.1", "@types/ws": "^8.5.10", - "jest": "^29.7.0", - "@jest/globals": "^29.7.0", - "@types/jest": "^29.5.14", - "ts-jest": "^29.3.4", - "jest-environment-jsdom": "^29.7.0", - "msw": "^2.8.4", + "vitest": "^3.2.4", + "msw": "2.11.2", "@types/node": "^18.19.70", - "prettier": "^3.4.2", "typescript": "~5.7.2", + "@biomejs/biome": "2.3.1", "@faker-js/faker": "^9.9.0" }, "browser": { @@ -75,7 +75,7 @@ "path": false, "stream": false }, - "packageManager": "yarn@1.22.22", + "packageManager": "pnpm@10.20.0", "engines": { "node": ">=18.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 00000000..4d3e1cdc --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,2169 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + ws: + specifier: ^8.16.0 + version: 8.18.3 + devDependencies: + '@biomejs/biome': + specifier: 2.3.1 + version: 2.3.1 + '@faker-js/faker': + specifier: ^9.9.0 + version: 9.9.0 + '@types/node': + specifier: ^18.19.70 + version: 18.19.130 + '@types/ws': + specifier: ^8.5.10 + version: 8.18.1 + msw: + specifier: 2.11.2 + version: 2.11.2(@types/node@18.19.130)(typescript@5.7.3) + ts-loader: + specifier: ^9.5.1 + version: 9.5.4(typescript@5.7.3)(webpack@5.102.1) + typescript: + specifier: ~5.7.2 + version: 5.7.3 + vitest: + specifier: ^3.2.4 + version: 3.2.4(@types/node@18.19.130)(msw@2.11.2(@types/node@18.19.130)(typescript@5.7.3))(terser@5.44.0) + webpack: + specifier: ^5.97.1 + version: 5.102.1 + +packages: + + '@biomejs/biome@2.3.1': + resolution: {integrity: sha512-A29evf1R72V5bo4o2EPxYMm5mtyGvzp2g+biZvRFx29nWebGyyeOSsDWGx3tuNNMFRepGwxmA9ZQ15mzfabK2w==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@2.3.1': + resolution: {integrity: sha512-ombSf3MnTUueiYGN1SeI9tBCsDUhpWzOwS63Dove42osNh0PfE1cUtHFx6eZ1+MYCCLwXzlFlYFdrJ+U7h6LcA==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@2.3.1': + resolution: {integrity: sha512-pcOfwyoQkrkbGvXxRvZNe5qgD797IowpJPovPX5biPk2FwMEV+INZqfCaz4G5bVq9hYnjwhRMamg11U4QsRXrQ==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@2.3.1': + resolution: {integrity: sha512-+DZYv8l7FlUtTrWs1Tdt1KcNCAmRO87PyOnxKGunbWm5HKg1oZBSbIIPkjrCtDZaeqSG1DiGx7qF+CPsquQRcg==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-arm64@2.3.1': + resolution: {integrity: sha512-td5O8pFIgLs8H1sAZsD6v+5quODihyEw4nv2R8z7swUfIK1FKk+15e4eiYVLcAE4jUqngvh4j3JCNgg0Y4o4IQ==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-x64-musl@2.3.1': + resolution: {integrity: sha512-Y3Ob4nqgv38Mh+6EGHltuN+Cq8aj/gyMTJYzkFZV2AEj+9XzoXB9VNljz9pjfFNHUxvLEV4b55VWyxozQTBaUQ==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-linux-x64@2.3.1': + resolution: {integrity: sha512-PYWgEO7up7XYwSAArOpzsVCiqxBCXy53gsReAb1kKYIyXaoAlhBaBMvxR/k2Rm9aTuZ662locXUmPk/Aj+Xu+Q==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-win32-arm64@2.3.1': + resolution: {integrity: sha512-RHIG/zgo+69idUqVvV3n8+j58dKYABRpMyDmfWu2TITC+jwGPiEaT0Q3RKD+kQHiS80mpBrST0iUGeEXT0bU9A==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@2.3.1': + resolution: {integrity: sha512-izl30JJ5Dp10mi90Eko47zhxE6pYyWPcnX1NQxKpL/yMhXxf95oLTzfpu4q+MDBh/gemNqyJEwjBpe0MT5iWPA==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + + '@bundled-es-modules/cookie@2.0.1': + resolution: {integrity: sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw==} + + '@bundled-es-modules/statuses@1.0.1': + resolution: {integrity: sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg==} + + '@esbuild/aix-ppc64@0.25.12': + resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.25.12': + resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.25.12': + resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.25.12': + resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.25.12': + resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.25.12': + resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.25.12': + resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.25.12': + resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.25.12': + resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.25.12': + resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.25.12': + resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.25.12': + resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.25.12': + resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.25.12': + resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.25.12': + resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.25.12': + resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.25.12': + resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.25.12': + resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.25.12': + resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.25.12': + resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.25.12': + resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.25.12': + resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.25.12': + resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.25.12': + resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.25.12': + resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.25.12': + resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@faker-js/faker@9.9.0': + resolution: {integrity: sha512-OEl393iCOoo/z8bMezRlJu+GlRGlsKbUAN7jKB6LhnKoqKve5DXRpalbItIIcwnCjs1k/FOPjFzcA6Qn+H+YbA==} + engines: {node: '>=18.0.0', npm: '>=9.0.0'} + + '@inquirer/ansi@1.0.1': + resolution: {integrity: sha512-yqq0aJW/5XPhi5xOAL1xRCpe1eh8UFVgYFpFsjEqmIR8rKLyP+HINvFXwUaxYICflJrVlxnp7lLN6As735kVpw==} + engines: {node: '>=18'} + + '@inquirer/confirm@5.1.19': + resolution: {integrity: sha512-wQNz9cfcxrtEnUyG5PndC8g3gZ7lGDBzmWiXZkX8ot3vfZ+/BLjR8EvyGX4YzQLeVqtAlY/YScZpW7CW8qMoDQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/core@10.3.0': + resolution: {integrity: sha512-Uv2aPPPSK5jeCplQmQ9xadnFx2Zhj9b5Dj7bU6ZeCdDNNY11nhYy4btcSdtDguHqCT2h5oNeQTcUNSGGLA7NTA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/figures@1.0.14': + resolution: {integrity: sha512-DbFgdt+9/OZYFM+19dbpXOSeAstPy884FPy1KjDu4anWwymZeOYhMY1mdFri172htv6mvc/uvIAAi7b7tvjJBQ==} + engines: {node: '>=18'} + + '@inquirer/type@3.0.9': + resolution: {integrity: sha512-QPaNt/nmE2bLGQa9b7wwyRJoLZ7pN6rcyXvzU0YCmivmJyq1BVo94G98tStRWkoD1RgDX5C+dPlhhHzNdu/W/w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/source-map@0.3.11': + resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==} + + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@mswjs/interceptors@0.39.8': + resolution: {integrity: sha512-2+BzZbjRO7Ct61k8fMNHEtoKjeWI9pIlHFTqBwZ5icHpqszIgEZbjb1MW5Z0+bITTCTl3gk4PDBxs9tA/csXvA==} + engines: {node: '>=18'} + + '@open-draft/deferred-promise@2.2.0': + resolution: {integrity: sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==} + + '@open-draft/logger@0.3.0': + resolution: {integrity: sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==} + + '@open-draft/until@2.1.0': + resolution: {integrity: sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==} + + '@rollup/rollup-android-arm-eabi@4.52.5': + resolution: {integrity: sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.52.5': + resolution: {integrity: sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.52.5': + resolution: {integrity: sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.52.5': + resolution: {integrity: sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.52.5': + resolution: {integrity: sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.52.5': + resolution: {integrity: sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.52.5': + resolution: {integrity: sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.52.5': + resolution: {integrity: sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.52.5': + resolution: {integrity: sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.52.5': + resolution: {integrity: sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loong64-gnu@4.52.5': + resolution: {integrity: sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-ppc64-gnu@4.52.5': + resolution: {integrity: sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.52.5': + resolution: {integrity: sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-riscv64-musl@4.52.5': + resolution: {integrity: sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.52.5': + resolution: {integrity: sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.52.5': + resolution: {integrity: sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.52.5': + resolution: {integrity: sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-openharmony-arm64@4.52.5': + resolution: {integrity: sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.52.5': + resolution: {integrity: sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.52.5': + resolution: {integrity: sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.52.5': + resolution: {integrity: sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==} + cpu: [x64] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.52.5': + resolution: {integrity: sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==} + cpu: [x64] + os: [win32] + + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/cookie@0.6.0': + resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/eslint-scope@3.7.7': + resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} + + '@types/eslint@9.6.1': + resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} + + '@types/estree@1.0.8': + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/node@18.19.130': + resolution: {integrity: sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==} + + '@types/statuses@2.0.6': + resolution: {integrity: sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==} + + '@types/ws@8.18.1': + resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} + + '@vitest/expect@3.2.4': + resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==} + + '@vitest/mocker@3.2.4': + resolution: {integrity: sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@3.2.4': + resolution: {integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==} + + '@vitest/runner@3.2.4': + resolution: {integrity: sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==} + + '@vitest/snapshot@3.2.4': + resolution: {integrity: sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==} + + '@vitest/spy@3.2.4': + resolution: {integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==} + + '@vitest/utils@3.2.4': + resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==} + + '@webassemblyjs/ast@1.14.1': + resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} + + '@webassemblyjs/floating-point-hex-parser@1.13.2': + resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==} + + '@webassemblyjs/helper-api-error@1.13.2': + resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==} + + '@webassemblyjs/helper-buffer@1.14.1': + resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==} + + '@webassemblyjs/helper-numbers@1.13.2': + resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==} + + '@webassemblyjs/helper-wasm-bytecode@1.13.2': + resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==} + + '@webassemblyjs/helper-wasm-section@1.14.1': + resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==} + + '@webassemblyjs/ieee754@1.13.2': + resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==} + + '@webassemblyjs/leb128@1.13.2': + resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==} + + '@webassemblyjs/utf8@1.13.2': + resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==} + + '@webassemblyjs/wasm-edit@1.14.1': + resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==} + + '@webassemblyjs/wasm-gen@1.14.1': + resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==} + + '@webassemblyjs/wasm-opt@1.14.1': + resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==} + + '@webassemblyjs/wasm-parser@1.14.1': + resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==} + + '@webassemblyjs/wast-printer@1.14.1': + resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} + + '@xtuc/ieee754@1.2.0': + resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + + '@xtuc/long@4.2.2': + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + + acorn-import-phases@1.0.4: + resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==} + engines: {node: '>=10.13.0'} + peerDependencies: + acorn: ^8.14.0 + + acorn@8.15.0: + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} + hasBin: true + + ajv-formats@2.1.1: + resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + + ajv-keywords@5.1.0: + resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==} + peerDependencies: + ajv: ^8.8.2 + + ajv@8.17.1: + resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + baseline-browser-mapping@2.8.23: + resolution: {integrity: sha512-616V5YX4bepJFzNyOfce5Fa8fDJMfoxzOIzDCZwaGL8MKVpFrXqfNUoIpRn9YMI5pXf/VKgzjB4htFMsFKKdiQ==} + hasBin: true + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + browserslist@4.27.0: + resolution: {integrity: sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + caniuse-lite@1.0.30001753: + resolution: {integrity: sha512-Bj5H35MD/ebaOV4iDLqPEtiliTN29qkGtEHCwawWn4cYm+bPJM2NsaP30vtZcnERClMzp52J4+aw2UNbK4o+zw==} + + chai@5.3.3: + resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} + engines: {node: '>=18'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} + + chrome-trace-event@1.0.4: + resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} + engines: {node: '>=6.0'} + + cli-width@4.1.0: + resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} + engines: {node: '>= 12'} + + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + cookie@0.7.2: + resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} + engines: {node: '>= 0.6'} + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + + electron-to-chromium@1.5.244: + resolution: {integrity: sha512-OszpBN7xZX4vWMPJwB9illkN/znA8M36GQqQxi6MNy9axWxhOfJyZZJtSLQCpEFLHP2xK33BiWx9aIuIEXVCcw==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + enhanced-resolve@5.18.3: + resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==} + engines: {node: '>=10.13.0'} + + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + + esbuild@0.25.12: + resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==} + engines: {node: '>=18'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + events@3.3.0: + resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + engines: {node: '>=0.8.x'} + + expect-type@1.2.2: + resolution: {integrity: sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA==} + engines: {node: '>=12.0.0'} + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-uri@3.1.0: + resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + glob-to-regexp@0.4.1: + resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + graphql@16.12.0: + resolution: {integrity: sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==} + engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + headers-polyfill@4.0.3: + resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-node-process@1.2.0: + resolution: {integrity: sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + jest-worker@27.5.1: + resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} + engines: {node: '>= 10.13.0'} + + js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + + loader-runner@4.3.1: + resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==} + engines: {node: '>=6.11.5'} + + loupe@3.2.1: + resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + msw@2.11.2: + resolution: {integrity: sha512-MI54hLCsrMwiflkcqlgYYNJJddY5/+S0SnONvhv1owOplvqohKSQyGejpNdUGyCwgs4IH7PqaNbPw/sKOEze9Q==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + typescript: '>= 4.8.x' + peerDependenciesMeta: + typescript: + optional: true + + mute-stream@2.0.0: + resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} + engines: {node: ^18.17.0 || >=20.5.0} + + nanoid@3.3.11: + resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + + node-releases@2.0.27: + resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} + + outvariant@1.4.3: + resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==} + + path-to-regexp@6.3.0: + resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + pathval@2.0.1: + resolution: {integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==} + engines: {node: '>= 14.16'} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + picomatch@4.0.3: + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + engines: {node: '>=12'} + + postcss@8.5.6: + resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} + engines: {node: ^10 || ^12 || >=14} + + randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + + rettime@0.7.0: + resolution: {integrity: sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==} + + rollup@4.52.5: + resolution: {integrity: sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + schema-utils@4.3.3: + resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==} + engines: {node: '>= 10.13.0'} + + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} + hasBin: true + + serialize-javascript@6.0.2: + resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + source-map@0.7.6: + resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==} + engines: {node: '>= 12'} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + statuses@2.0.2: + resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} + engines: {node: '>= 0.8'} + + std-env@3.10.0: + resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + + strict-event-emitter@0.5.1: + resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-literal@3.1.0: + resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + + tapable@2.3.0: + resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==} + engines: {node: '>=6'} + + terser-webpack-plugin@5.3.14: + resolution: {integrity: sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + + terser@5.44.0: + resolution: {integrity: sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==} + engines: {node: '>=10'} + hasBin: true + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.15: + resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} + engines: {node: '>=12.0.0'} + + tinypool@1.1.1: + resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@2.0.0: + resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} + engines: {node: '>=14.0.0'} + + tinyspy@4.0.4: + resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==} + engines: {node: '>=14.0.0'} + + tldts-core@7.0.17: + resolution: {integrity: sha512-DieYoGrP78PWKsrXr8MZwtQ7GLCUeLxihtjC1jZsW1DnvSMdKPitJSe8OSYDM2u5H6g3kWJZpePqkp43TfLh0g==} + + tldts@7.0.17: + resolution: {integrity: sha512-Y1KQBgDd/NUc+LfOtKS6mNsC9CCaH+m2P1RoIZy7RAPo3C3/t8X45+zgut31cRZtZ3xKPjfn3TkGTrctC2TQIQ==} + hasBin: true + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + tough-cookie@6.0.0: + resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==} + engines: {node: '>=16'} + + ts-loader@9.5.4: + resolution: {integrity: sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ==} + engines: {node: '>=12.0.0'} + peerDependencies: + typescript: '*' + webpack: ^5.0.0 + + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + + typescript@5.7.3: + resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} + engines: {node: '>=14.17'} + hasBin: true + + undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + + update-browserslist-db@1.1.4: + resolution: {integrity: sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + vite-node@3.2.4: + resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + + vite@7.1.12: + resolution: {integrity: sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + jiti: '>=1.21.0' + less: ^4.0.0 + lightningcss: ^1.21.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@3.2.4: + resolution: {integrity: sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/debug': ^4.1.12 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@vitest/browser': 3.2.4 + '@vitest/ui': 3.2.4 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/debug': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + watchpack@2.4.4: + resolution: {integrity: sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==} + engines: {node: '>=10.13.0'} + + webpack-sources@3.3.3: + resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==} + engines: {node: '>=10.13.0'} + + webpack@5.102.1: + resolution: {integrity: sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + wrap-ansi@6.2.0: + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + ws@8.18.3: + resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + + yoctocolors-cjs@2.1.3: + resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} + engines: {node: '>=18'} + +snapshots: + + '@biomejs/biome@2.3.1': + optionalDependencies: + '@biomejs/cli-darwin-arm64': 2.3.1 + '@biomejs/cli-darwin-x64': 2.3.1 + '@biomejs/cli-linux-arm64': 2.3.1 + '@biomejs/cli-linux-arm64-musl': 2.3.1 + '@biomejs/cli-linux-x64': 2.3.1 + '@biomejs/cli-linux-x64-musl': 2.3.1 + '@biomejs/cli-win32-arm64': 2.3.1 + '@biomejs/cli-win32-x64': 2.3.1 + + '@biomejs/cli-darwin-arm64@2.3.1': + optional: true + + '@biomejs/cli-darwin-x64@2.3.1': + optional: true + + '@biomejs/cli-linux-arm64-musl@2.3.1': + optional: true + + '@biomejs/cli-linux-arm64@2.3.1': + optional: true + + '@biomejs/cli-linux-x64-musl@2.3.1': + optional: true + + '@biomejs/cli-linux-x64@2.3.1': + optional: true + + '@biomejs/cli-win32-arm64@2.3.1': + optional: true + + '@biomejs/cli-win32-x64@2.3.1': + optional: true + + '@bundled-es-modules/cookie@2.0.1': + dependencies: + cookie: 0.7.2 + + '@bundled-es-modules/statuses@1.0.1': + dependencies: + statuses: 2.0.2 + + '@esbuild/aix-ppc64@0.25.12': + optional: true + + '@esbuild/android-arm64@0.25.12': + optional: true + + '@esbuild/android-arm@0.25.12': + optional: true + + '@esbuild/android-x64@0.25.12': + optional: true + + '@esbuild/darwin-arm64@0.25.12': + optional: true + + '@esbuild/darwin-x64@0.25.12': + optional: true + + '@esbuild/freebsd-arm64@0.25.12': + optional: true + + '@esbuild/freebsd-x64@0.25.12': + optional: true + + '@esbuild/linux-arm64@0.25.12': + optional: true + + '@esbuild/linux-arm@0.25.12': + optional: true + + '@esbuild/linux-ia32@0.25.12': + optional: true + + '@esbuild/linux-loong64@0.25.12': + optional: true + + '@esbuild/linux-mips64el@0.25.12': + optional: true + + '@esbuild/linux-ppc64@0.25.12': + optional: true + + '@esbuild/linux-riscv64@0.25.12': + optional: true + + '@esbuild/linux-s390x@0.25.12': + optional: true + + '@esbuild/linux-x64@0.25.12': + optional: true + + '@esbuild/netbsd-arm64@0.25.12': + optional: true + + '@esbuild/netbsd-x64@0.25.12': + optional: true + + '@esbuild/openbsd-arm64@0.25.12': + optional: true + + '@esbuild/openbsd-x64@0.25.12': + optional: true + + '@esbuild/openharmony-arm64@0.25.12': + optional: true + + '@esbuild/sunos-x64@0.25.12': + optional: true + + '@esbuild/win32-arm64@0.25.12': + optional: true + + '@esbuild/win32-ia32@0.25.12': + optional: true + + '@esbuild/win32-x64@0.25.12': + optional: true + + '@faker-js/faker@9.9.0': {} + + '@inquirer/ansi@1.0.1': {} + + '@inquirer/confirm@5.1.19(@types/node@18.19.130)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@18.19.130) + '@inquirer/type': 3.0.9(@types/node@18.19.130) + optionalDependencies: + '@types/node': 18.19.130 + + '@inquirer/core@10.3.0(@types/node@18.19.130)': + dependencies: + '@inquirer/ansi': 1.0.1 + '@inquirer/figures': 1.0.14 + '@inquirer/type': 3.0.9(@types/node@18.19.130) + cli-width: 4.1.0 + mute-stream: 2.0.0 + signal-exit: 4.1.0 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.3 + optionalDependencies: + '@types/node': 18.19.130 + + '@inquirer/figures@1.0.14': {} + + '@inquirer/type@3.0.9(@types/node@18.19.130)': + optionalDependencies: + '@types/node': 18.19.130 + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/source-map@0.3.11': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/sourcemap-codec@1.5.5': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + + '@mswjs/interceptors@0.39.8': + dependencies: + '@open-draft/deferred-promise': 2.2.0 + '@open-draft/logger': 0.3.0 + '@open-draft/until': 2.1.0 + is-node-process: 1.2.0 + outvariant: 1.4.3 + strict-event-emitter: 0.5.1 + + '@open-draft/deferred-promise@2.2.0': {} + + '@open-draft/logger@0.3.0': + dependencies: + is-node-process: 1.2.0 + outvariant: 1.4.3 + + '@open-draft/until@2.1.0': {} + + '@rollup/rollup-android-arm-eabi@4.52.5': + optional: true + + '@rollup/rollup-android-arm64@4.52.5': + optional: true + + '@rollup/rollup-darwin-arm64@4.52.5': + optional: true + + '@rollup/rollup-darwin-x64@4.52.5': + optional: true + + '@rollup/rollup-freebsd-arm64@4.52.5': + optional: true + + '@rollup/rollup-freebsd-x64@4.52.5': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.52.5': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.52.5': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.52.5': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.52.5': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.52.5': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.52.5': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.52.5': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.52.5': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.52.5': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.52.5': + optional: true + + '@rollup/rollup-linux-x64-musl@4.52.5': + optional: true + + '@rollup/rollup-openharmony-arm64@4.52.5': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.52.5': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.52.5': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.52.5': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.52.5': + optional: true + + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/cookie@0.6.0': {} + + '@types/deep-eql@4.0.2': {} + + '@types/eslint-scope@3.7.7': + dependencies: + '@types/eslint': 9.6.1 + '@types/estree': 1.0.8 + + '@types/eslint@9.6.1': + dependencies: + '@types/estree': 1.0.8 + '@types/json-schema': 7.0.15 + + '@types/estree@1.0.8': {} + + '@types/json-schema@7.0.15': {} + + '@types/node@18.19.130': + dependencies: + undici-types: 5.26.5 + + '@types/statuses@2.0.6': {} + + '@types/ws@8.18.1': + dependencies: + '@types/node': 18.19.130 + + '@vitest/expect@3.2.4': + dependencies: + '@types/chai': 5.2.3 + '@vitest/spy': 3.2.4 + '@vitest/utils': 3.2.4 + chai: 5.3.3 + tinyrainbow: 2.0.0 + + '@vitest/mocker@3.2.4(msw@2.11.2(@types/node@18.19.130)(typescript@5.7.3))(vite@7.1.12(@types/node@18.19.130)(terser@5.44.0))': + dependencies: + '@vitest/spy': 3.2.4 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + msw: 2.11.2(@types/node@18.19.130)(typescript@5.7.3) + vite: 7.1.12(@types/node@18.19.130)(terser@5.44.0) + + '@vitest/pretty-format@3.2.4': + dependencies: + tinyrainbow: 2.0.0 + + '@vitest/runner@3.2.4': + dependencies: + '@vitest/utils': 3.2.4 + pathe: 2.0.3 + strip-literal: 3.1.0 + + '@vitest/snapshot@3.2.4': + dependencies: + '@vitest/pretty-format': 3.2.4 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@3.2.4': + dependencies: + tinyspy: 4.0.4 + + '@vitest/utils@3.2.4': + dependencies: + '@vitest/pretty-format': 3.2.4 + loupe: 3.2.1 + tinyrainbow: 2.0.0 + + '@webassemblyjs/ast@1.14.1': + dependencies: + '@webassemblyjs/helper-numbers': 1.13.2 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + + '@webassemblyjs/floating-point-hex-parser@1.13.2': {} + + '@webassemblyjs/helper-api-error@1.13.2': {} + + '@webassemblyjs/helper-buffer@1.14.1': {} + + '@webassemblyjs/helper-numbers@1.13.2': + dependencies: + '@webassemblyjs/floating-point-hex-parser': 1.13.2 + '@webassemblyjs/helper-api-error': 1.13.2 + '@xtuc/long': 4.2.2 + + '@webassemblyjs/helper-wasm-bytecode@1.13.2': {} + + '@webassemblyjs/helper-wasm-section@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/wasm-gen': 1.14.1 + + '@webassemblyjs/ieee754@1.13.2': + dependencies: + '@xtuc/ieee754': 1.2.0 + + '@webassemblyjs/leb128@1.13.2': + dependencies: + '@xtuc/long': 4.2.2 + + '@webassemblyjs/utf8@1.13.2': {} + + '@webassemblyjs/wasm-edit@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/helper-wasm-section': 1.14.1 + '@webassemblyjs/wasm-gen': 1.14.1 + '@webassemblyjs/wasm-opt': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + '@webassemblyjs/wast-printer': 1.14.1 + + '@webassemblyjs/wasm-gen@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/ieee754': 1.13.2 + '@webassemblyjs/leb128': 1.13.2 + '@webassemblyjs/utf8': 1.13.2 + + '@webassemblyjs/wasm-opt@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/wasm-gen': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + + '@webassemblyjs/wasm-parser@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-api-error': 1.13.2 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/ieee754': 1.13.2 + '@webassemblyjs/leb128': 1.13.2 + '@webassemblyjs/utf8': 1.13.2 + + '@webassemblyjs/wast-printer@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@xtuc/long': 4.2.2 + + '@xtuc/ieee754@1.2.0': {} + + '@xtuc/long@4.2.2': {} + + acorn-import-phases@1.0.4(acorn@8.15.0): + dependencies: + acorn: 8.15.0 + + acorn@8.15.0: {} + + ajv-formats@2.1.1(ajv@8.17.1): + optionalDependencies: + ajv: 8.17.1 + + ajv-keywords@5.1.0(ajv@8.17.1): + dependencies: + ajv: 8.17.1 + fast-deep-equal: 3.1.3 + + ajv@8.17.1: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.1.0 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + + ansi-regex@5.0.1: {} + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + assertion-error@2.0.1: {} + + baseline-browser-mapping@2.8.23: {} + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.27.0: + dependencies: + baseline-browser-mapping: 2.8.23 + caniuse-lite: 1.0.30001753 + electron-to-chromium: 1.5.244 + node-releases: 2.0.27 + update-browserslist-db: 1.1.4(browserslist@4.27.0) + + buffer-from@1.1.2: {} + + cac@6.7.14: {} + + caniuse-lite@1.0.30001753: {} + + chai@5.3.3: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.2.1 + pathval: 2.0.1 + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + check-error@2.1.1: {} + + chrome-trace-event@1.0.4: {} + + cli-width@4.1.0: {} + + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.4: {} + + commander@2.20.3: {} + + cookie@0.7.2: {} + + debug@4.4.3: + dependencies: + ms: 2.1.3 + + deep-eql@5.0.2: {} + + electron-to-chromium@1.5.244: {} + + emoji-regex@8.0.0: {} + + enhanced-resolve@5.18.3: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.3.0 + + es-module-lexer@1.7.0: {} + + esbuild@0.25.12: + optionalDependencies: + '@esbuild/aix-ppc64': 0.25.12 + '@esbuild/android-arm': 0.25.12 + '@esbuild/android-arm64': 0.25.12 + '@esbuild/android-x64': 0.25.12 + '@esbuild/darwin-arm64': 0.25.12 + '@esbuild/darwin-x64': 0.25.12 + '@esbuild/freebsd-arm64': 0.25.12 + '@esbuild/freebsd-x64': 0.25.12 + '@esbuild/linux-arm': 0.25.12 + '@esbuild/linux-arm64': 0.25.12 + '@esbuild/linux-ia32': 0.25.12 + '@esbuild/linux-loong64': 0.25.12 + '@esbuild/linux-mips64el': 0.25.12 + '@esbuild/linux-ppc64': 0.25.12 + '@esbuild/linux-riscv64': 0.25.12 + '@esbuild/linux-s390x': 0.25.12 + '@esbuild/linux-x64': 0.25.12 + '@esbuild/netbsd-arm64': 0.25.12 + '@esbuild/netbsd-x64': 0.25.12 + '@esbuild/openbsd-arm64': 0.25.12 + '@esbuild/openbsd-x64': 0.25.12 + '@esbuild/openharmony-arm64': 0.25.12 + '@esbuild/sunos-x64': 0.25.12 + '@esbuild/win32-arm64': 0.25.12 + '@esbuild/win32-ia32': 0.25.12 + '@esbuild/win32-x64': 0.25.12 + + escalade@3.2.0: {} + + eslint-scope@5.1.1: + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@4.3.0: {} + + estraverse@5.3.0: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.8 + + events@3.3.0: {} + + expect-type@1.2.2: {} + + fast-deep-equal@3.1.3: {} + + fast-uri@3.1.0: {} + + fdir@6.5.0(picomatch@4.0.3): + optionalDependencies: + picomatch: 4.0.3 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + fsevents@2.3.3: + optional: true + + get-caller-file@2.0.5: {} + + glob-to-regexp@0.4.1: {} + + graceful-fs@4.2.11: {} + + graphql@16.12.0: {} + + has-flag@4.0.0: {} + + headers-polyfill@4.0.3: {} + + is-fullwidth-code-point@3.0.0: {} + + is-node-process@1.2.0: {} + + is-number@7.0.0: {} + + jest-worker@27.5.1: + dependencies: + '@types/node': 18.19.130 + merge-stream: 2.0.0 + supports-color: 8.1.1 + + js-tokens@9.0.1: {} + + json-parse-even-better-errors@2.3.1: {} + + json-schema-traverse@1.0.0: {} + + loader-runner@4.3.1: {} + + loupe@3.2.1: {} + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + + merge-stream@2.0.0: {} + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + + mime-db@1.52.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + ms@2.1.3: {} + + msw@2.11.2(@types/node@18.19.130)(typescript@5.7.3): + dependencies: + '@bundled-es-modules/cookie': 2.0.1 + '@bundled-es-modules/statuses': 1.0.1 + '@inquirer/confirm': 5.1.19(@types/node@18.19.130) + '@mswjs/interceptors': 0.39.8 + '@open-draft/deferred-promise': 2.2.0 + '@open-draft/until': 2.1.0 + '@types/cookie': 0.6.0 + '@types/statuses': 2.0.6 + graphql: 16.12.0 + headers-polyfill: 4.0.3 + is-node-process: 1.2.0 + outvariant: 1.4.3 + path-to-regexp: 6.3.0 + picocolors: 1.1.1 + rettime: 0.7.0 + strict-event-emitter: 0.5.1 + tough-cookie: 6.0.0 + type-fest: 4.41.0 + yargs: 17.7.2 + optionalDependencies: + typescript: 5.7.3 + transitivePeerDependencies: + - '@types/node' + + mute-stream@2.0.0: {} + + nanoid@3.3.11: {} + + neo-async@2.6.2: {} + + node-releases@2.0.27: {} + + outvariant@1.4.3: {} + + path-to-regexp@6.3.0: {} + + pathe@2.0.3: {} + + pathval@2.0.1: {} + + picocolors@1.1.1: {} + + picomatch@2.3.1: {} + + picomatch@4.0.3: {} + + postcss@8.5.6: + dependencies: + nanoid: 3.3.11 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + randombytes@2.1.0: + dependencies: + safe-buffer: 5.2.1 + + require-directory@2.1.1: {} + + require-from-string@2.0.2: {} + + rettime@0.7.0: {} + + rollup@4.52.5: + dependencies: + '@types/estree': 1.0.8 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.52.5 + '@rollup/rollup-android-arm64': 4.52.5 + '@rollup/rollup-darwin-arm64': 4.52.5 + '@rollup/rollup-darwin-x64': 4.52.5 + '@rollup/rollup-freebsd-arm64': 4.52.5 + '@rollup/rollup-freebsd-x64': 4.52.5 + '@rollup/rollup-linux-arm-gnueabihf': 4.52.5 + '@rollup/rollup-linux-arm-musleabihf': 4.52.5 + '@rollup/rollup-linux-arm64-gnu': 4.52.5 + '@rollup/rollup-linux-arm64-musl': 4.52.5 + '@rollup/rollup-linux-loong64-gnu': 4.52.5 + '@rollup/rollup-linux-ppc64-gnu': 4.52.5 + '@rollup/rollup-linux-riscv64-gnu': 4.52.5 + '@rollup/rollup-linux-riscv64-musl': 4.52.5 + '@rollup/rollup-linux-s390x-gnu': 4.52.5 + '@rollup/rollup-linux-x64-gnu': 4.52.5 + '@rollup/rollup-linux-x64-musl': 4.52.5 + '@rollup/rollup-openharmony-arm64': 4.52.5 + '@rollup/rollup-win32-arm64-msvc': 4.52.5 + '@rollup/rollup-win32-ia32-msvc': 4.52.5 + '@rollup/rollup-win32-x64-gnu': 4.52.5 + '@rollup/rollup-win32-x64-msvc': 4.52.5 + fsevents: 2.3.3 + + safe-buffer@5.2.1: {} + + schema-utils@4.3.3: + dependencies: + '@types/json-schema': 7.0.15 + ajv: 8.17.1 + ajv-formats: 2.1.1(ajv@8.17.1) + ajv-keywords: 5.1.0(ajv@8.17.1) + + semver@7.7.3: {} + + serialize-javascript@6.0.2: + dependencies: + randombytes: 2.1.0 + + siginfo@2.0.0: {} + + signal-exit@4.1.0: {} + + source-map-js@1.2.1: {} + + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + + source-map@0.6.1: {} + + source-map@0.7.6: {} + + stackback@0.0.2: {} + + statuses@2.0.2: {} + + std-env@3.10.0: {} + + strict-event-emitter@0.5.1: {} + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-literal@3.1.0: + dependencies: + js-tokens: 9.0.1 + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-color@8.1.1: + dependencies: + has-flag: 4.0.0 + + tapable@2.3.0: {} + + terser-webpack-plugin@5.3.14(webpack@5.102.1): + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + jest-worker: 27.5.1 + schema-utils: 4.3.3 + serialize-javascript: 6.0.2 + terser: 5.44.0 + webpack: 5.102.1 + + terser@5.44.0: + dependencies: + '@jridgewell/source-map': 0.3.11 + acorn: 8.15.0 + commander: 2.20.3 + source-map-support: 0.5.21 + + tinybench@2.9.0: {} + + tinyexec@0.3.2: {} + + tinyglobby@0.2.15: + dependencies: + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 + + tinypool@1.1.1: {} + + tinyrainbow@2.0.0: {} + + tinyspy@4.0.4: {} + + tldts-core@7.0.17: {} + + tldts@7.0.17: + dependencies: + tldts-core: 7.0.17 + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + tough-cookie@6.0.0: + dependencies: + tldts: 7.0.17 + + ts-loader@9.5.4(typescript@5.7.3)(webpack@5.102.1): + dependencies: + chalk: 4.1.2 + enhanced-resolve: 5.18.3 + micromatch: 4.0.8 + semver: 7.7.3 + source-map: 0.7.6 + typescript: 5.7.3 + webpack: 5.102.1 + + type-fest@4.41.0: {} + + typescript@5.7.3: {} + + undici-types@5.26.5: {} + + update-browserslist-db@1.1.4(browserslist@4.27.0): + dependencies: + browserslist: 4.27.0 + escalade: 3.2.0 + picocolors: 1.1.1 + + vite-node@3.2.4(@types/node@18.19.130)(terser@5.44.0): + dependencies: + cac: 6.7.14 + debug: 4.4.3 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 7.1.12(@types/node@18.19.130)(terser@5.44.0) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + vite@7.1.12(@types/node@18.19.130)(terser@5.44.0): + dependencies: + esbuild: 0.25.12 + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 + postcss: 8.5.6 + rollup: 4.52.5 + tinyglobby: 0.2.15 + optionalDependencies: + '@types/node': 18.19.130 + fsevents: 2.3.3 + terser: 5.44.0 + + vitest@3.2.4(@types/node@18.19.130)(msw@2.11.2(@types/node@18.19.130)(typescript@5.7.3))(terser@5.44.0): + dependencies: + '@types/chai': 5.2.3 + '@vitest/expect': 3.2.4 + '@vitest/mocker': 3.2.4(msw@2.11.2(@types/node@18.19.130)(typescript@5.7.3))(vite@7.1.12(@types/node@18.19.130)(terser@5.44.0)) + '@vitest/pretty-format': 3.2.4 + '@vitest/runner': 3.2.4 + '@vitest/snapshot': 3.2.4 + '@vitest/spy': 3.2.4 + '@vitest/utils': 3.2.4 + chai: 5.3.3 + debug: 4.4.3 + expect-type: 1.2.2 + magic-string: 0.30.21 + pathe: 2.0.3 + picomatch: 4.0.3 + std-env: 3.10.0 + tinybench: 2.9.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.15 + tinypool: 1.1.1 + tinyrainbow: 2.0.0 + vite: 7.1.12(@types/node@18.19.130)(terser@5.44.0) + vite-node: 3.2.4(@types/node@18.19.130)(terser@5.44.0) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 18.19.130 + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + watchpack@2.4.4: + dependencies: + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + + webpack-sources@3.3.3: {} + + webpack@5.102.1: + dependencies: + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.8 + '@types/json-schema': 7.0.15 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/wasm-edit': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + acorn: 8.15.0 + acorn-import-phases: 1.0.4(acorn@8.15.0) + browserslist: 4.27.0 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.18.3 + es-module-lexer: 1.7.0 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.1 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 4.3.3 + tapable: 2.3.0 + terser-webpack-plugin: 5.3.14(webpack@5.102.1) + watchpack: 2.4.4 + webpack-sources: 3.3.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + wrap-ansi@6.2.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + ws@8.18.3: {} + + y18n@5.0.8: {} + + yargs-parser@21.1.1: {} + + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + + yoctocolors-cjs@2.1.3: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 00000000..6e4c3951 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1 @@ +packages: ['.'] \ No newline at end of file diff --git a/src/BaseClient.ts b/src/BaseClient.ts new file mode 100644 index 00000000..730a3be6 --- /dev/null +++ b/src/BaseClient.ts @@ -0,0 +1,35 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as core from "./core/index.js"; +import type * as environments from "./environments.js"; + +export interface BaseClientOptions { + environment: core.Supplier; + /** Specify a custom URL to connect the client to. */ + baseUrl?: core.Supplier; + /** Override the Tenant-Name header */ + tenantName: core.Supplier; + /** Additional headers to include in requests. */ + headers?: Record | null | undefined>; + /** The default maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The default number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */ + fetch?: typeof fetch; +} + +export interface BaseRequestOptions { + /** The maximum time to wait for a response in seconds. */ + timeoutInSeconds?: number; + /** The number of times to retry the request. Defaults to 2. */ + maxRetries?: number; + /** A hook to abort the request. */ + abortSignal?: AbortSignal; + /** Override the Tenant-Name header */ + tenantName?: string; + /** Additional query string parameters to include in the request. */ + queryParams?: Record; + /** Additional headers to include in the request. */ + headers?: Record | null | undefined>; +} diff --git a/src/Client.ts b/src/Client.ts index 497e1a87..fa810870 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -1,46 +1,26 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "./environments.js"; -import * as core from "./core/index.js"; +import { Agents } from "./api/resources/agents/client/Client.js"; import { Auth } from "./api/resources/auth/client/Client.js"; -import { mergeHeaders } from "./core/headers.js"; +import { Documents } from "./api/resources/documents/client/Client.js"; +import { Facts } from "./api/resources/facts/client/Client.js"; import { Interactions } from "./api/resources/interactions/client/Client.js"; import { Recordings } from "./api/resources/recordings/client/Client.js"; -import { Transcripts } from "./api/resources/transcripts/client/Client.js"; -import { Facts } from "./api/resources/facts/client/Client.js"; -import { Documents } from "./api/resources/documents/client/Client.js"; -import { Templates } from "./api/resources/templates/client/Client.js"; -import { Agents } from "./api/resources/agents/client/Client.js"; import { Stream } from "./api/resources/stream/client/Client.js"; +import { Templates } from "./api/resources/templates/client/Client.js"; import { Transcribe } from "./api/resources/transcribe/client/Client.js"; +import { Transcripts } from "./api/resources/transcripts/client/Client.js"; +import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js"; +import { mergeHeaders } from "./core/headers.js"; +import * as core from "./core/index.js"; export declare namespace CortiClient { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { clientId: core.Supplier; - clientSecret: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; + clientSecret: core.Supplier; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class CortiClient { @@ -76,6 +56,7 @@ export class CortiClient { this._oauthTokenProvider = new core.OAuthTokenProvider({ clientId: this._options.clientId, + clientSecret: this._options.clientSecret, authClient: new Auth({ ...this._options, diff --git a/src/api/errors/BadRequestError.ts b/src/api/errors/BadRequestError.ts index 7dccc76b..c4d903db 100644 --- a/src/api/errors/BadRequestError.ts +++ b/src/api/errors/BadRequestError.ts @@ -1,9 +1,7 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. +import type * as core from "../../core/index.js"; import * as errors from "../../errors/index.js"; -import * as core from "../../core/index.js"; export class BadRequestError extends errors.CortiError { constructor(body?: unknown, rawResponse?: core.RawResponse) { diff --git a/src/api/errors/ForbiddenError.ts b/src/api/errors/ForbiddenError.ts index 3a058174..c5de536b 100644 --- a/src/api/errors/ForbiddenError.ts +++ b/src/api/errors/ForbiddenError.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. +import type * as core from "../../core/index.js"; import * as errors from "../../errors/index.js"; -import * as Corti from "../index.js"; -import * as core from "../../core/index.js"; +import type * as Corti from "../index.js"; export class ForbiddenError extends errors.CortiError { constructor(body: Corti.ErrorResponse, rawResponse?: core.RawResponse) { diff --git a/src/api/errors/GatewayTimeoutError.ts b/src/api/errors/GatewayTimeoutError.ts index c57fe019..cffab3bc 100644 --- a/src/api/errors/GatewayTimeoutError.ts +++ b/src/api/errors/GatewayTimeoutError.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. +import type * as core from "../../core/index.js"; import * as errors from "../../errors/index.js"; -import * as Corti from "../index.js"; -import * as core from "../../core/index.js"; +import type * as Corti from "../index.js"; export class GatewayTimeoutError extends errors.CortiError { constructor(body: Corti.ErrorResponse, rawResponse?: core.RawResponse) { diff --git a/src/api/errors/InternalServerError.ts b/src/api/errors/InternalServerError.ts index f73c130f..0a5589d7 100644 --- a/src/api/errors/InternalServerError.ts +++ b/src/api/errors/InternalServerError.ts @@ -1,9 +1,7 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. +import type * as core from "../../core/index.js"; import * as errors from "../../errors/index.js"; -import * as core from "../../core/index.js"; export class InternalServerError extends errors.CortiError { constructor(body?: unknown, rawResponse?: core.RawResponse) { diff --git a/src/api/errors/NotFoundError.ts b/src/api/errors/NotFoundError.ts index 1e9bf21c..11cb292d 100644 --- a/src/api/errors/NotFoundError.ts +++ b/src/api/errors/NotFoundError.ts @@ -1,9 +1,7 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. +import type * as core from "../../core/index.js"; import * as errors from "../../errors/index.js"; -import * as core from "../../core/index.js"; export class NotFoundError extends errors.CortiError { constructor(body?: unknown, rawResponse?: core.RawResponse) { diff --git a/src/api/errors/UnauthorizedError.ts b/src/api/errors/UnauthorizedError.ts index be3cea18..6982af18 100644 --- a/src/api/errors/UnauthorizedError.ts +++ b/src/api/errors/UnauthorizedError.ts @@ -1,9 +1,7 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. +import type * as core from "../../core/index.js"; import * as errors from "../../errors/index.js"; -import * as core from "../../core/index.js"; export class UnauthorizedError extends errors.CortiError { constructor(body?: unknown, rawResponse?: core.RawResponse) { diff --git a/src/api/errors/index.ts b/src/api/errors/index.ts index 3a7a4db2..055a7c40 100644 --- a/src/api/errors/index.ts +++ b/src/api/errors/index.ts @@ -1,6 +1,6 @@ +export * from "./BadRequestError.js"; export * from "./ForbiddenError.js"; export * from "./GatewayTimeoutError.js"; -export * from "./BadRequestError.js"; export * from "./InternalServerError.js"; export * from "./NotFoundError.js"; export * from "./UnauthorizedError.js"; diff --git a/src/api/resources/agents/client/Client.ts b/src/api/resources/agents/client/Client.ts index 019adfa3..0a1cbc01 100644 --- a/src/api/resources/agents/client/Client.ts +++ b/src/api/resources/agents/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Agents { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Agents { @@ -52,7 +32,11 @@ export class Agents { * @throws {@link Corti.UnauthorizedError} * * @example - * await client.agents.list() + * await client.agents.list({ + * limit: 1, + * offset: 1, + * ephemeral: true + * }) */ public list( request: Corti.AgentsListRequest = {}, @@ -68,17 +52,25 @@ export class Agents { const { limit, offset, ephemeral } = request; const _queryParams: Record = {}; if (limit !== undefined) { - _queryParams["limit"] = limit?.toString() ?? null; + _queryParams.limit = limit?.toString() ?? null; } if (offset !== undefined) { - _queryParams["offset"] = offset?.toString() ?? null; + _queryParams.offset = offset?.toString() ?? null; } if (ephemeral !== undefined) { - _queryParams["ephemeral"] = ephemeral?.toString() ?? null; + _queryParams.ephemeral = ephemeral?.toString() ?? null; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -86,18 +78,12 @@ export class Agents { "agents", ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -155,6 +141,7 @@ export class Agents { * * @example * await client.agents.create({ + * ephemeral: true, * name: "name", * description: "description" * }) @@ -173,9 +160,17 @@ export class Agents { const { ephemeral, ..._body } = request; const _queryParams: Record = {}; if (ephemeral !== undefined) { - _queryParams["ephemeral"] = ephemeral?.toString() ?? null; + _queryParams.ephemeral = ephemeral?.toString() ?? null; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -183,24 +178,18 @@ export class Agents { "agents", ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", - queryParameters: _queryParams, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, requestType: "json", body: serializers.AgentsCreateAgent.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -271,24 +260,27 @@ export class Agents { id: string, requestOptions?: Agents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}`, + `agents/${core.url.encodePathParam(id)}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -355,24 +347,27 @@ export class Agents { } private async __delete(id: string, requestOptions?: Agents.RequestOptions): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}`, + `agents/${core.url.encodePathParam(id)}`, ), method: "DELETE", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -444,30 +439,33 @@ export class Agents { request: Corti.AgentsAgent, requestOptions?: Agents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}`, + `agents/${core.url.encodePathParam(id)}`, ), method: "PATCH", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.AgentsAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -540,24 +538,27 @@ export class Agents { id: string, requestOptions?: Agents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}/agent-card.json`, + `agents/${core.url.encodePathParam(id)}/agent-card.json`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -643,30 +644,33 @@ export class Agents { request: Corti.AgentsMessageSendParams, requestOptions?: Agents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}/v1/message:send`, + `agents/${core.url.encodePathParam(id)}/v1/message:send`, ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.AgentsMessageSendParams.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -728,7 +732,9 @@ export class Agents { * @throws {@link Corti.NotFoundError} * * @example - * await client.agents.getTask("12345678-90ab-cdef-gh12-34567890abc", "taskId") + * await client.agents.getTask("12345678-90ab-cdef-gh12-34567890abc", "taskId", { + * historyLength: 1 + * }) */ public getTask( id: string, @@ -748,28 +754,30 @@ export class Agents { const { historyLength } = request; const _queryParams: Record = {}; if (historyLength !== undefined) { - _queryParams["historyLength"] = historyLength?.toString() ?? null; + _queryParams.historyLength = historyLength?.toString() ?? null; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}/v1/tasks/${encodeURIComponent(taskId)}`, + `agents/${core.url.encodePathParam(id)}/v1/tasks/${core.url.encodePathParam(taskId)}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -831,7 +839,10 @@ export class Agents { * @throws {@link Corti.NotFoundError} * * @example - * await client.agents.getContext("12345678-90ab-cdef-gh12-34567890abc", "contextId") + * await client.agents.getContext("12345678-90ab-cdef-gh12-34567890abc", "contextId", { + * limit: 1, + * offset: 1 + * }) */ public getContext( id: string, @@ -851,32 +862,34 @@ export class Agents { const { limit, offset } = request; const _queryParams: Record = {}; if (limit !== undefined) { - _queryParams["limit"] = limit?.toString() ?? null; + _queryParams.limit = limit?.toString() ?? null; } if (offset !== undefined) { - _queryParams["offset"] = offset?.toString() ?? null; + _queryParams.offset = offset?.toString() ?? null; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).agents, - `agents/${encodeURIComponent(id)}/v1/contexts/${encodeURIComponent(contextId)}`, + `agents/${core.url.encodePathParam(id)}/v1/contexts/${core.url.encodePathParam(contextId)}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -956,13 +969,21 @@ export class Agents { const { limit, offset } = request; const _queryParams: Record = {}; if (limit !== undefined) { - _queryParams["limit"] = limit?.toString() ?? null; + _queryParams.limit = limit?.toString() ?? null; } if (offset !== undefined) { - _queryParams["offset"] = offset?.toString() ?? null; + _queryParams.offset = offset?.toString() ?? null; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -970,18 +991,12 @@ export class Agents { "agents/registry/experts", ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { diff --git a/src/api/resources/agents/client/index.ts b/src/api/resources/agents/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/agents/client/index.ts +++ b/src/api/resources/agents/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/agents/client/requests/AgentsCreateAgent.ts b/src/api/resources/agents/client/requests/AgentsCreateAgent.ts index a8aa19e2..6de478f9 100644 --- a/src/api/resources/agents/client/requests/AgentsCreateAgent.ts +++ b/src/api/resources/agents/client/requests/AgentsCreateAgent.ts @@ -1,20 +1,17 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example * { + * ephemeral: true, * name: "name", * description: "description" * } */ export interface AgentsCreateAgent { - /** - * If set to true, the agent will be created as ephemeral, it won't be listed in the agents_list but can still be fetched by ID. Ephemeral agents will be deleted periodically. - */ + /** If set to true, the agent will be created as ephemeral, it won't be listed in the agents_list but can still be fetched by ID. Ephemeral agents will be deleted periodically. */ ephemeral?: boolean | null; /** The name of the agent. */ name: string; diff --git a/src/api/resources/agents/client/requests/AgentsGetContextRequest.ts b/src/api/resources/agents/client/requests/AgentsGetContextRequest.ts index 8eac4f90..07cb586d 100644 --- a/src/api/resources/agents/client/requests/AgentsGetContextRequest.ts +++ b/src/api/resources/agents/client/requests/AgentsGetContextRequest.ts @@ -1,18 +1,15 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example - * {} + * { + * limit: 1, + * offset: 1 + * } */ export interface AgentsGetContextRequest { - /** - * The maximum number of tasks and messages to return. If not specified all history is returned. - */ + /** The maximum number of tasks and messages to return. If not specified all history is returned. */ limit?: number | null; - /** - * The number of tasks and messages to skip before starting to collect the result set. Default is 0. - */ + /** The number of tasks and messages to skip before starting to collect the result set. Default is 0. */ offset?: number | null; } diff --git a/src/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.ts b/src/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.ts index 299644db..0c325c2f 100644 --- a/src/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.ts +++ b/src/api/resources/agents/client/requests/AgentsGetRegistryExpertsRequest.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example @@ -10,12 +8,8 @@ * } */ export interface AgentsGetRegistryExpertsRequest { - /** - * The maximum number of items to return. If not specified, a default number of items will be returned. - */ + /** The maximum number of items to return. If not specified, a default number of items will be returned. */ limit?: number | null; - /** - * The number of items to skip before starting to collect the result set. Default is 0. - */ + /** The number of items to skip before starting to collect the result set. Default is 0. */ offset?: number | null; } diff --git a/src/api/resources/agents/client/requests/AgentsGetTaskRequest.ts b/src/api/resources/agents/client/requests/AgentsGetTaskRequest.ts index ff6ecc75..f016a40b 100644 --- a/src/api/resources/agents/client/requests/AgentsGetTaskRequest.ts +++ b/src/api/resources/agents/client/requests/AgentsGetTaskRequest.ts @@ -1,14 +1,12 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example - * {} + * { + * historyLength: 1 + * } */ export interface AgentsGetTaskRequest { - /** - * The number of previous messages to include in the context for the agent when retrieving this task. Default is all messages. - */ + /** The number of previous messages to include in the context for the agent when retrieving this task. Default is all messages. */ historyLength?: number | null; } diff --git a/src/api/resources/agents/client/requests/AgentsListRequest.ts b/src/api/resources/agents/client/requests/AgentsListRequest.ts index 0d7ea137..f447ff34 100644 --- a/src/api/resources/agents/client/requests/AgentsListRequest.ts +++ b/src/api/resources/agents/client/requests/AgentsListRequest.ts @@ -1,22 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example - * {} + * { + * limit: 1, + * offset: 1, + * ephemeral: true + * } */ export interface AgentsListRequest { - /** - * The maximum number of agents to return. If not specified, all agents will be returned. - */ + /** The maximum number of agents to return. If not specified, all agents will be returned. */ limit?: number | null; - /** - * The number of agents to skip before starting to collect the result set. Default is 0. - */ + /** The number of agents to skip before starting to collect the result set. Default is 0. */ offset?: number | null; - /** - * If set to true, ephemeral agents will be included in the response. Default is false. - */ + /** If set to true, ephemeral agents will be included in the response. Default is false. */ ephemeral?: boolean | null; } diff --git a/src/api/resources/agents/client/requests/AgentsMessageSendParams.ts b/src/api/resources/agents/client/requests/AgentsMessageSendParams.ts index 49b6ca9c..53f9cf2e 100644 --- a/src/api/resources/agents/client/requests/AgentsMessageSendParams.ts +++ b/src/api/resources/agents/client/requests/AgentsMessageSendParams.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/agents/client/requests/index.ts b/src/api/resources/agents/client/requests/index.ts index c153c97f..272e18a0 100644 --- a/src/api/resources/agents/client/requests/index.ts +++ b/src/api/resources/agents/client/requests/index.ts @@ -1,6 +1,6 @@ -export { type AgentsListRequest } from "./AgentsListRequest.js"; -export { type AgentsCreateAgent } from "./AgentsCreateAgent.js"; -export { type AgentsMessageSendParams } from "./AgentsMessageSendParams.js"; -export { type AgentsGetTaskRequest } from "./AgentsGetTaskRequest.js"; -export { type AgentsGetContextRequest } from "./AgentsGetContextRequest.js"; -export { type AgentsGetRegistryExpertsRequest } from "./AgentsGetRegistryExpertsRequest.js"; +export type { AgentsCreateAgent } from "./AgentsCreateAgent.js"; +export type { AgentsGetContextRequest } from "./AgentsGetContextRequest.js"; +export type { AgentsGetRegistryExpertsRequest } from "./AgentsGetRegistryExpertsRequest.js"; +export type { AgentsGetTaskRequest } from "./AgentsGetTaskRequest.js"; +export type { AgentsListRequest } from "./AgentsListRequest.js"; +export type { AgentsMessageSendParams } from "./AgentsMessageSendParams.js"; diff --git a/src/api/resources/agents/index.ts b/src/api/resources/agents/index.ts index f095e147..d9adb1af 100644 --- a/src/api/resources/agents/index.ts +++ b/src/api/resources/agents/index.ts @@ -1,2 +1,2 @@ -export * from "./types/index.js"; export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/api/resources/agents/types/AgentsCreateAgentExpertsItem.ts b/src/api/resources/agents/types/AgentsCreateAgentExpertsItem.ts index 96139a88..702500f8 100644 --- a/src/api/resources/agents/types/AgentsCreateAgentExpertsItem.ts +++ b/src/api/resources/agents/types/AgentsCreateAgentExpertsItem.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../index.js"; +import type * as Corti from "../../../index.js"; export type AgentsCreateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.AgentsExpertReference; diff --git a/src/api/resources/agents/types/AgentsMessageSendResponse.ts b/src/api/resources/agents/types/AgentsMessageSendResponse.ts index 791d7a91..daa55406 100644 --- a/src/api/resources/agents/types/AgentsMessageSendResponse.ts +++ b/src/api/resources/agents/types/AgentsMessageSendResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../index.js"; +import type * as Corti from "../../../index.js"; export interface AgentsMessageSendResponse { message?: Corti.AgentsMessage; diff --git a/src/api/resources/auth/client/Client.ts b/src/api/resources/auth/client/Client.ts index e59801fe..eb23f063 100644 --- a/src/api/resources/auth/client/Client.ts +++ b/src/api/resources/auth/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import type * as Corti from "../../../index.js"; export declare namespace Auth { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Auth { @@ -50,8 +30,7 @@ export class Auth { * * @example * await client.auth.getToken({ - * clientId: "client_id", - * clientSecret: "client_secret" + * clientId: "client_id" * }) */ public getToken( @@ -65,6 +44,14 @@ export class Auth { request: Corti.AuthGetTokenRequest, requestOptions?: Auth.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -72,27 +59,18 @@ export class Auth { "protocol/openid-connect/token", ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/x-www-form-urlencoded", - requestType: "json", - body: { - ...serializers.AuthGetTokenRequest.jsonOrThrow(request, { - unrecognizedObjectKeys: "strip", - omitUndefined: true, - }), - scope: "openid", - grant_type: "client_credentials", - }, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + queryParameters: requestOptions?.queryParams, + requestType: "form", + body: serializers.AuthGetTokenRequest.jsonOrThrow(request, { + unrecognizedObjectKeys: "strip", + omitUndefined: true, + }), + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { diff --git a/src/api/resources/auth/client/index.ts b/src/api/resources/auth/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/auth/client/index.ts +++ b/src/api/resources/auth/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/auth/client/requests/AuthGetTokenRequest.ts b/src/api/resources/auth/client/requests/AuthGetTokenRequest.ts index 7387dd86..18a40c6f 100644 --- a/src/api/resources/auth/client/requests/AuthGetTokenRequest.ts +++ b/src/api/resources/auth/client/requests/AuthGetTokenRequest.ts @@ -1,15 +1,20 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. + +import type * as Corti from "../../../../index.js"; /** * @example * { - * clientId: "client_id", - * clientSecret: "client_secret" + * clientId: "client_id" * } */ export interface AuthGetTokenRequest { + grantType?: Corti.AuthGetTokenRequestGrantType; clientId: string; - clientSecret: string; + clientSecret?: string; + scope?: "openid"; + code?: string; + redirectUri?: string; + codeVerifier?: string; + refreshToken?: string; } diff --git a/src/api/resources/auth/client/requests/index.ts b/src/api/resources/auth/client/requests/index.ts index db82948f..8142e5ef 100644 --- a/src/api/resources/auth/client/requests/index.ts +++ b/src/api/resources/auth/client/requests/index.ts @@ -1 +1 @@ -export { type AuthGetTokenRequest } from "./AuthGetTokenRequest.js"; +export type { AuthGetTokenRequest } from "./AuthGetTokenRequest.js"; diff --git a/src/api/resources/auth/index.ts b/src/api/resources/auth/index.ts index f095e147..d9adb1af 100644 --- a/src/api/resources/auth/index.ts +++ b/src/api/resources/auth/index.ts @@ -1,2 +1,2 @@ -export * from "./types/index.js"; export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/api/resources/auth/types/AuthGetTokenRequestGrantType.ts b/src/api/resources/auth/types/AuthGetTokenRequestGrantType.ts new file mode 100644 index 00000000..c580b5a8 --- /dev/null +++ b/src/api/resources/auth/types/AuthGetTokenRequestGrantType.ts @@ -0,0 +1,9 @@ +// This file was auto-generated by Fern from our API Definition. + +export const AuthGetTokenRequestGrantType = { + ClientCredentials: "client_credentials", + AuthorizationCode: "authorization_code", + RefreshToken: "refresh_token", +} as const; +export type AuthGetTokenRequestGrantType = + (typeof AuthGetTokenRequestGrantType)[keyof typeof AuthGetTokenRequestGrantType]; diff --git a/src/api/resources/auth/types/GetTokenResponse.ts b/src/api/resources/auth/types/GetTokenResponse.ts index 63db812e..b22cd566 100644 --- a/src/api/resources/auth/types/GetTokenResponse.ts +++ b/src/api/resources/auth/types/GetTokenResponse.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface GetTokenResponse { accessToken: string; diff --git a/src/api/resources/auth/types/index.ts b/src/api/resources/auth/types/index.ts index cecadafd..c24859f5 100644 --- a/src/api/resources/auth/types/index.ts +++ b/src/api/resources/auth/types/index.ts @@ -1 +1,2 @@ +export * from "./AuthGetTokenRequestGrantType.js"; export * from "./GetTokenResponse.js"; diff --git a/src/api/resources/documents/client/Client.ts b/src/api/resources/documents/client/Client.ts index 715eb4a0..bed89127 100644 --- a/src/api/resources/documents/client/Client.ts +++ b/src/api/resources/documents/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Documents { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Documents { @@ -67,24 +47,27 @@ export class Documents { id: Corti.Uuid, requestOptions?: Documents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -191,30 +174,33 @@ export class Documents { request: Corti.DocumentsCreateRequest, requestOptions?: Documents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/`, ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.DocumentsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -311,24 +297,27 @@ export class Documents { documentId: Corti.Uuid, requestOptions?: Documents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/${encodeURIComponent(serializers.Uuid.jsonOrThrow(documentId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(documentId, { omitUndefined: true }))}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -425,24 +414,27 @@ export class Documents { documentId: Corti.Uuid, requestOptions?: Documents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/${encodeURIComponent(serializers.Uuid.jsonOrThrow(documentId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(documentId, { omitUndefined: true }))}`, ), method: "DELETE", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -533,30 +525,33 @@ export class Documents { request: Corti.DocumentsUpdateRequest = {}, requestOptions?: Documents.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/${encodeURIComponent(serializers.Uuid.jsonOrThrow(documentId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/documents/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(documentId, { omitUndefined: true }))}`, ), method: "PATCH", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.DocumentsUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { diff --git a/src/api/resources/documents/client/index.ts b/src/api/resources/documents/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/documents/client/index.ts +++ b/src/api/resources/documents/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/documents/client/requests/DocumentsUpdateRequest.ts b/src/api/resources/documents/client/requests/DocumentsUpdateRequest.ts index c3836133..20c1b75e 100644 --- a/src/api/resources/documents/client/requests/DocumentsUpdateRequest.ts +++ b/src/api/resources/documents/client/requests/DocumentsUpdateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/documents/client/requests/index.ts b/src/api/resources/documents/client/requests/index.ts index 3a81e0fb..d86bd2d7 100644 --- a/src/api/resources/documents/client/requests/index.ts +++ b/src/api/resources/documents/client/requests/index.ts @@ -1 +1 @@ -export { type DocumentsUpdateRequest } from "./DocumentsUpdateRequest.js"; +export type { DocumentsUpdateRequest } from "./DocumentsUpdateRequest.js"; diff --git a/src/api/resources/facts/client/Client.ts b/src/api/resources/facts/client/Client.ts index 50be0c46..4ca47d4a 100644 --- a/src/api/resources/facts/client/Client.ts +++ b/src/api/resources/facts/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Facts { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Facts { @@ -61,6 +41,14 @@ export class Facts { private async __factGroupsList( requestOptions?: Facts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -68,17 +56,12 @@ export class Facts { "factgroups/", ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -145,24 +128,27 @@ export class Facts { id: Corti.Uuid, requestOptions?: Facts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -246,30 +232,33 @@ export class Facts { request: Corti.FactsCreateRequest, requestOptions?: Facts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/`, ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.FactsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -352,30 +341,33 @@ export class Facts { request: Corti.FactsBatchUpdateRequest, requestOptions?: Facts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/`, ), method: "PATCH", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.FactsBatchUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -457,30 +449,33 @@ export class Facts { request: Corti.FactsUpdateRequest = {}, requestOptions?: Facts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/${encodeURIComponent(serializers.Uuid.jsonOrThrow(factId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/facts/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(factId, { omitUndefined: true }))}`, ), method: "PATCH", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.FactsUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -564,6 +559,14 @@ export class Facts { request: Corti.FactsExtractRequest, requestOptions?: Facts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -571,23 +574,18 @@ export class Facts { "tools/extract-facts", ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.FactsExtractRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { diff --git a/src/api/resources/facts/client/index.ts b/src/api/resources/facts/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/facts/client/index.ts +++ b/src/api/resources/facts/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts b/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts index 38bd5fd8..41264121 100644 --- a/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts +++ b/src/api/resources/facts/client/requests/FactsBatchUpdateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/facts/client/requests/FactsCreateRequest.ts b/src/api/resources/facts/client/requests/FactsCreateRequest.ts index 0d77d7fa..17a9c3a2 100644 --- a/src/api/resources/facts/client/requests/FactsCreateRequest.ts +++ b/src/api/resources/facts/client/requests/FactsCreateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/facts/client/requests/FactsExtractRequest.ts b/src/api/resources/facts/client/requests/FactsExtractRequest.ts index 29bc6cb4..f20eeec9 100644 --- a/src/api/resources/facts/client/requests/FactsExtractRequest.ts +++ b/src/api/resources/facts/client/requests/FactsExtractRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/facts/client/requests/FactsUpdateRequest.ts b/src/api/resources/facts/client/requests/FactsUpdateRequest.ts index 2c792157..586b0e51 100644 --- a/src/api/resources/facts/client/requests/FactsUpdateRequest.ts +++ b/src/api/resources/facts/client/requests/FactsUpdateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/facts/client/requests/index.ts b/src/api/resources/facts/client/requests/index.ts index f6557284..c5c6a0cb 100644 --- a/src/api/resources/facts/client/requests/index.ts +++ b/src/api/resources/facts/client/requests/index.ts @@ -1,4 +1,4 @@ -export { type FactsCreateRequest } from "./FactsCreateRequest.js"; -export { type FactsBatchUpdateRequest } from "./FactsBatchUpdateRequest.js"; -export { type FactsUpdateRequest } from "./FactsUpdateRequest.js"; -export { type FactsExtractRequest } from "./FactsExtractRequest.js"; +export type { FactsBatchUpdateRequest } from "./FactsBatchUpdateRequest.js"; +export type { FactsCreateRequest } from "./FactsCreateRequest.js"; +export type { FactsExtractRequest } from "./FactsExtractRequest.js"; +export type { FactsUpdateRequest } from "./FactsUpdateRequest.js"; diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 705fd903..7325136a 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,20 +1,20 @@ -export * as interactions from "./interactions/index.js"; -export * from "./interactions/types/index.js"; -export * as auth from "./auth/index.js"; -export * from "./auth/types/index.js"; +export * from "./agents/client/requests/index.js"; export * as agents from "./agents/index.js"; export * from "./agents/types/index.js"; -export * as stream from "./stream/index.js"; -export * as transcribe from "./transcribe/index.js"; -export * as recordings from "./recordings/index.js"; -export * as transcripts from "./transcripts/index.js"; -export * as facts from "./facts/index.js"; +export * from "./auth/client/requests/index.js"; +export * as auth from "./auth/index.js"; +export * from "./auth/types/index.js"; +export * from "./documents/client/requests/index.js"; export * as documents from "./documents/index.js"; -export * as templates from "./templates/index.js"; -export * from "./interactions/client/requests/index.js"; -export * from "./transcripts/client/requests/index.js"; export * from "./facts/client/requests/index.js"; -export * from "./documents/client/requests/index.js"; +export * as facts from "./facts/index.js"; +export * from "./interactions/client/requests/index.js"; +export * as interactions from "./interactions/index.js"; +export * from "./interactions/types/index.js"; +export * as recordings from "./recordings/index.js"; +export * as stream from "./stream/index.js"; export * from "./templates/client/requests/index.js"; -export * from "./auth/client/requests/index.js"; -export * from "./agents/client/requests/index.js"; +export * as templates from "./templates/index.js"; +export * as transcribe from "./transcribe/index.js"; +export * from "./transcripts/client/requests/index.js"; +export * as transcripts from "./transcripts/index.js"; diff --git a/src/api/resources/interactions/client/Client.ts b/src/api/resources/interactions/client/Client.ts index a8446a32..2ec0d3a1 100644 --- a/src/api/resources/interactions/client/Client.ts +++ b/src/api/resources/interactions/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; -import * as serializers from "../../../../serialization/index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Interactions { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Interactions { @@ -52,12 +32,18 @@ export class Interactions { * @throws {@link Corti.GatewayTimeoutError} * * @example - * await client.interactions.list() + * await client.interactions.list({ + * sort: "id", + * direction: "asc", + * pageSize: 1000000, + * index: 1000000, + * patient: "patient" + * }) */ public async list( request: Corti.InteractionsListRequest = {}, requestOptions?: Interactions.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Corti.InteractionsListRequest, @@ -65,41 +51,49 @@ export class Interactions { const { sort, direction, pageSize, index, encounterStatus, patient } = request; const _queryParams: Record = {}; if (sort !== undefined) { - _queryParams["sort"] = serializers.InteractionsListRequestSort.jsonOrThrow(sort, { + _queryParams.sort = serializers.InteractionsListRequestSort.jsonOrThrow(sort, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); } if (direction !== undefined) { - _queryParams["direction"] = serializers.CommonSortingDirectionEnum.jsonOrThrow(direction, { + _queryParams.direction = serializers.CommonSortingDirectionEnum.jsonOrThrow(direction, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); } if (pageSize !== undefined) { - _queryParams["pageSize"] = pageSize?.toString() ?? null; + _queryParams.pageSize = pageSize?.toString() ?? null; } if (index !== undefined) { - _queryParams["index"] = index?.toString() ?? null; + _queryParams.index = index?.toString() ?? null; } - if (encounterStatus != null) { + if (encounterStatus !== undefined) { if (Array.isArray(encounterStatus)) { - _queryParams["encounterStatus"] = encounterStatus.map((item) => + _queryParams.encounterStatus = encounterStatus.map((item) => serializers.InteractionsEncounterStatusEnum.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), ); } else { - _queryParams["encounterStatus"] = serializers.InteractionsEncounterStatusEnum.jsonOrThrow( + _queryParams.encounterStatus = serializers.InteractionsEncounterStatusEnum.jsonOrThrow( encounterStatus, { unrecognizedObjectKeys: "strip", omitUndefined: true }, ); } } if (patient !== undefined) { - _queryParams["patient"] = patient; + _queryParams.patient = patient; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -107,19 +101,12 @@ export class Interactions { "interactions/", ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: - requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -184,7 +171,7 @@ export class Interactions { ); let _offset = request?.index != null ? request?.index : 1; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.interactions ?? []).length > 0, @@ -227,6 +214,14 @@ export class Interactions { request: Corti.InteractionsCreateRequest, requestOptions?: Interactions.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -234,23 +229,18 @@ export class Interactions { "interactions/", ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.InteractionsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -342,24 +332,27 @@ export class Interactions { id: Corti.Uuid, requestOptions?: Interactions.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -444,24 +437,27 @@ export class Interactions { id: Corti.Uuid, requestOptions?: Interactions.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}`, ), method: "DELETE", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -543,30 +539,33 @@ export class Interactions { request: Corti.InteractionsUpdateRequest = {}, requestOptions?: Interactions.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}`, ), method: "PATCH", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.InteractionsUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { diff --git a/src/api/resources/interactions/client/index.ts b/src/api/resources/interactions/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/interactions/client/index.ts +++ b/src/api/resources/interactions/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/interactions/client/requests/InteractionsCreateRequest.ts b/src/api/resources/interactions/client/requests/InteractionsCreateRequest.ts index deea4b43..4840bd7f 100644 --- a/src/api/resources/interactions/client/requests/InteractionsCreateRequest.ts +++ b/src/api/resources/interactions/client/requests/InteractionsCreateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/interactions/client/requests/InteractionsListRequest.ts b/src/api/resources/interactions/client/requests/InteractionsListRequest.ts index c06164fc..62fbfac0 100644 --- a/src/api/resources/interactions/client/requests/InteractionsListRequest.ts +++ b/src/api/resources/interactions/client/requests/InteractionsListRequest.ts @@ -1,36 +1,28 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example - * {} + * { + * sort: "id", + * direction: "asc", + * pageSize: 1000000, + * index: 1000000, + * patient: "patient" + * } */ export interface InteractionsListRequest { - /** - * Field used to sort interactions. Default is createdAt. - */ + /** Field used to sort interactions. Default is createdAt. */ sort?: Corti.InteractionsListRequestSort | null; - /** - * Sorting order. Allowed values: [asc, desc]. Default is desc. - */ + /** Sorting order. Allowed values: [asc, desc]. Default is desc. */ direction?: Corti.CommonSortingDirectionEnum | null; - /** - * Number of interactions to return per page. Must be greater than 0. Default is 10. - */ + /** Number of interactions to return per page. Must be greater than 0. Default is 10. */ pageSize?: number | null; - /** - * Page number to retrieve. Starts at 1. For example, index=2 with pageSize=10 will return interactions 11–20. Must be greater than 0. Default is 1. - */ + /** Page number to retrieve. Starts at 1. For example, index=2 with pageSize=10 will return interactions 11–20. Must be greater than 0. Default is 1. */ index?: number | null; - /** - * The status of the encounter. To filter on multiple statuses, pass the same parameter again. - */ - encounterStatus?: Corti.InteractionsEncounterStatusEnum | Corti.InteractionsEncounterStatusEnum[]; - /** - * A unique identifier for the patient. - */ + /** The status of the encounter. To filter on multiple statuses, pass the same parameter again. */ + encounterStatus?: (Corti.InteractionsEncounterStatusEnum | null) | (Corti.InteractionsEncounterStatusEnum | null)[]; + /** A unique identifier for the patient. */ patient?: string | null; } diff --git a/src/api/resources/interactions/client/requests/InteractionsUpdateRequest.ts b/src/api/resources/interactions/client/requests/InteractionsUpdateRequest.ts index cff15102..59433ec3 100644 --- a/src/api/resources/interactions/client/requests/InteractionsUpdateRequest.ts +++ b/src/api/resources/interactions/client/requests/InteractionsUpdateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/interactions/client/requests/index.ts b/src/api/resources/interactions/client/requests/index.ts index 1a6b0840..83043afc 100644 --- a/src/api/resources/interactions/client/requests/index.ts +++ b/src/api/resources/interactions/client/requests/index.ts @@ -1,3 +1,3 @@ -export { type InteractionsListRequest } from "./InteractionsListRequest.js"; -export { type InteractionsCreateRequest } from "./InteractionsCreateRequest.js"; -export { type InteractionsUpdateRequest } from "./InteractionsUpdateRequest.js"; +export type { InteractionsCreateRequest } from "./InteractionsCreateRequest.js"; +export type { InteractionsListRequest } from "./InteractionsListRequest.js"; +export type { InteractionsUpdateRequest } from "./InteractionsUpdateRequest.js"; diff --git a/src/api/resources/interactions/index.ts b/src/api/resources/interactions/index.ts index f095e147..d9adb1af 100644 --- a/src/api/resources/interactions/index.ts +++ b/src/api/resources/interactions/index.ts @@ -1,2 +1,2 @@ -export * from "./types/index.js"; export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/api/resources/interactions/types/InteractionsListRequestSort.ts b/src/api/resources/interactions/types/InteractionsListRequestSort.ts index 563c04f4..9a7f4db1 100644 --- a/src/api/resources/interactions/types/InteractionsListRequestSort.ts +++ b/src/api/resources/interactions/types/InteractionsListRequestSort.ts @@ -1,11 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Field used to sort interactions. Default is createdAt. - */ -export type InteractionsListRequestSort = "id" | "assignedUserId" | "patient" | "createdAt" | "endedAt" | "updatedAt"; +/** Field used to sort interactions. Default is createdAt. */ export const InteractionsListRequestSort = { Id: "id", AssignedUserId: "assignedUserId", @@ -14,3 +9,5 @@ export const InteractionsListRequestSort = { EndedAt: "endedAt", UpdatedAt: "updatedAt", } as const; +export type InteractionsListRequestSort = + (typeof InteractionsListRequestSort)[keyof typeof InteractionsListRequestSort]; diff --git a/src/api/resources/recordings/client/Client.ts b/src/api/resources/recordings/client/Client.ts index 51abde5c..f30f4e84 100644 --- a/src/api/resources/recordings/client/Client.ts +++ b/src/api/resources/recordings/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Recordings { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Recordings { @@ -67,24 +47,27 @@ export class Recordings { id: Corti.Uuid, requestOptions?: Recordings.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -179,29 +162,32 @@ export class Recordings { requestOptions?: Recordings.RequestOptions, ): Promise> { const _binaryUploadRequest = await core.file.toBinaryUploadRequest(uploadable); + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + _binaryUploadRequest.headers, + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/`, ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - _binaryUploadRequest.headers, - requestOptions?.headers, - ), + headers: _headers, contentType: "application/octet-stream", + queryParameters: requestOptions?.queryParams, requestType: "bytes", duplex: "half", body: _binaryUploadRequest.body, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -293,25 +279,28 @@ export class Recordings { recordingId: Corti.Uuid, requestOptions?: Recordings.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/${encodeURIComponent(serializers.Uuid.jsonOrThrow(recordingId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(recordingId, { omitUndefined: true }))}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, + queryParameters: requestOptions?.queryParams, responseType: "binary-response", - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { data: _response.body, rawResponse: _response.rawResponse }; @@ -403,24 +392,27 @@ export class Recordings { recordingId: Corti.Uuid, requestOptions?: Recordings.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/${encodeURIComponent(serializers.Uuid.jsonOrThrow(recordingId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(recordingId, { omitUndefined: true }))}`, ), method: "DELETE", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/api/resources/stream/client/Client.ts b/src/api/resources/stream/client/Client.ts index 1a8ebdb2..3aeeb6cf 100644 --- a/src/api/resources/stream/client/Client.ts +++ b/src/api/resources/stream/client/Client.ts @@ -1,21 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; +import type { BaseClientOptions } from "../../../../BaseClient.js"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; import * as core from "../../../../core/index.js"; import { StreamSocket } from "./Socket.js"; export declare namespace Stream { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } export interface ConnectArgs { @@ -42,15 +34,16 @@ export class Stream { const { id, tenantName, token, headers, debug, reconnectAttempts } = args; const _queryParams: Record = {}; _queryParams["tenant-name"] = tenantName; - _queryParams["token"] = token; - let _headers: Record = { - ...headers, - }; + _queryParams.token = token; + const _headers: Record = mergeHeaders( + mergeOnlyDefinedHeaders({ Authorization: await this._getAuthorizationHeader() }), + headers, + ); const socket = new core.ReconnectingWebSocket({ url: core.url.join( - (await core.Supplier.get(this._options["baseUrl"])) ?? - (await core.Supplier.get(this._options["environment"])).wss, - `/audio-bridge/v2/interactions/${encodeURIComponent(id)}/streams`, + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)).wss, + `/audio-bridge/v2/interactions/${core.url.encodePathParam(id)}/streams`, ), protocols: [], queryParameters: _queryParams, diff --git a/src/api/resources/stream/client/Socket.ts b/src/api/resources/stream/client/Socket.ts index ab18b402..1376f2b4 100644 --- a/src/api/resources/stream/client/Socket.ts +++ b/src/api/resources/stream/client/Socket.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; -import { StreamConfigMessage } from "../../../../serialization/types/StreamConfigMessage.js"; -import { StreamEndMessage } from "../../../../serialization/types/StreamEndMessage.js"; import { fromJson } from "../../../../core/json.js"; import * as serializers from "../../../../serialization/index.js"; +import { StreamConfigMessage } from "../../../../serialization/types/StreamConfigMessage.js"; +import { StreamEndMessage } from "../../../../serialization/types/StreamEndMessage.js"; +import type * as Corti from "../../../index.js"; export declare namespace StreamSocket { export interface Args { @@ -82,7 +80,7 @@ export class StreamSocket { * }); * ``` */ - public on(event: T, callback: StreamSocket.EventHandlers[T]) { + public on(event: T, callback: StreamSocket.EventHandlers[T]): void { this.eventHandlers[event] = callback; } diff --git a/src/api/resources/templates/client/Client.ts b/src/api/resources/templates/client/Client.ts index 27be32fa..fc987b34 100644 --- a/src/api/resources/templates/client/Client.ts +++ b/src/api/resources/templates/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Templates { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Templates { @@ -67,22 +47,30 @@ export class Templates { ): Promise> { const { org, lang } = request; const _queryParams: Record = {}; - if (org != null) { + if (org !== undefined) { if (Array.isArray(org)) { - _queryParams["org"] = org.map((item) => item); + _queryParams.org = org.map((item) => item); } else { - _queryParams["org"] = org; + _queryParams.org = org; } } - if (lang != null) { + if (lang !== undefined) { if (Array.isArray(lang)) { - _queryParams["lang"] = lang.map((item) => item); + _queryParams.lang = lang.map((item) => item); } else { - _queryParams["lang"] = lang; + _queryParams.lang = lang; } } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -90,18 +78,12 @@ export class Templates { "templateSections/", ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -173,30 +155,38 @@ export class Templates { ): Promise> { const { org, lang, status } = request; const _queryParams: Record = {}; - if (org != null) { + if (org !== undefined) { if (Array.isArray(org)) { - _queryParams["org"] = org.map((item) => item); + _queryParams.org = org.map((item) => item); } else { - _queryParams["org"] = org; + _queryParams.org = org; } } - if (lang != null) { + if (lang !== undefined) { if (Array.isArray(lang)) { - _queryParams["lang"] = lang.map((item) => item); + _queryParams.lang = lang.map((item) => item); } else { - _queryParams["lang"] = lang; + _queryParams.lang = lang; } } - if (status != null) { + if (status !== undefined) { if (Array.isArray(status)) { - _queryParams["status"] = status.map((item) => item); + _queryParams.status = status.map((item) => item); } else { - _queryParams["status"] = status; + _queryParams.status = status; } } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? @@ -204,18 +194,12 @@ export class Templates { "templates/", ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -282,24 +266,27 @@ export class Templates { key: string, requestOptions?: Templates.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `templates/${encodeURIComponent(key)}`, + `templates/${core.url.encodePathParam(key)}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { diff --git a/src/api/resources/templates/client/index.ts b/src/api/resources/templates/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/templates/client/index.ts +++ b/src/api/resources/templates/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/templates/client/requests/TemplatesListRequest.ts b/src/api/resources/templates/client/requests/TemplatesListRequest.ts index f2b8d6d1..532208a1 100644 --- a/src/api/resources/templates/client/requests/TemplatesListRequest.ts +++ b/src/api/resources/templates/client/requests/TemplatesListRequest.ts @@ -1,22 +1,14 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example * {} */ export interface TemplatesListRequest { - /** - * Filter templates by organization. - */ - org?: string | string[]; - /** - * Filter templates by language. - */ - lang?: string | string[]; - /** - * Filter templates by their status. - */ - status?: string | string[]; + /** Filter templates by organization. */ + org?: (string | null) | (string | null)[]; + /** Filter templates by language. */ + lang?: (string | null) | (string | null)[]; + /** Filter templates by their status. */ + status?: (string | null) | (string | null)[]; } diff --git a/src/api/resources/templates/client/requests/TemplatesSectionListRequest.ts b/src/api/resources/templates/client/requests/TemplatesSectionListRequest.ts index 891a3c2b..22114cd7 100644 --- a/src/api/resources/templates/client/requests/TemplatesSectionListRequest.ts +++ b/src/api/resources/templates/client/requests/TemplatesSectionListRequest.ts @@ -1,18 +1,12 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example * {} */ export interface TemplatesSectionListRequest { - /** - * Filter template sections by organization. - */ - org?: string | string[]; - /** - * Filter template sections by language. - */ - lang?: string | string[]; + /** Filter template sections by organization. */ + org?: (string | null) | (string | null)[]; + /** Filter template sections by language. */ + lang?: (string | null) | (string | null)[]; } diff --git a/src/api/resources/templates/client/requests/index.ts b/src/api/resources/templates/client/requests/index.ts index 9a86ad52..d2764071 100644 --- a/src/api/resources/templates/client/requests/index.ts +++ b/src/api/resources/templates/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type TemplatesSectionListRequest } from "./TemplatesSectionListRequest.js"; -export { type TemplatesListRequest } from "./TemplatesListRequest.js"; +export type { TemplatesListRequest } from "./TemplatesListRequest.js"; +export type { TemplatesSectionListRequest } from "./TemplatesSectionListRequest.js"; diff --git a/src/api/resources/transcribe/client/Client.ts b/src/api/resources/transcribe/client/Client.ts index dd3d4992..d3337cdd 100644 --- a/src/api/resources/transcribe/client/Client.ts +++ b/src/api/resources/transcribe/client/Client.ts @@ -1,21 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; +import type { BaseClientOptions } from "../../../../BaseClient.js"; +import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; import * as core from "../../../../core/index.js"; import { TranscribeSocket } from "./Socket.js"; export declare namespace Transcribe { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } export interface ConnectArgs { @@ -41,14 +33,15 @@ export class Transcribe { const { tenantName, token, headers, debug, reconnectAttempts } = args; const _queryParams: Record = {}; _queryParams["tenant-name"] = tenantName; - _queryParams["token"] = token; - let _headers: Record = { - ...headers, - }; + _queryParams.token = token; + const _headers: Record = mergeHeaders( + mergeOnlyDefinedHeaders({ Authorization: await this._getAuthorizationHeader() }), + headers, + ); const socket = new core.ReconnectingWebSocket({ url: core.url.join( - (await core.Supplier.get(this._options["baseUrl"])) ?? - (await core.Supplier.get(this._options["environment"])).wss, + (await core.Supplier.get(this._options.baseUrl)) ?? + (await core.Supplier.get(this._options.environment)).wss, "/audio-bridge/v2/transcribe", ), protocols: [], diff --git a/src/api/resources/transcribe/client/Socket.ts b/src/api/resources/transcribe/client/Socket.ts index 34c3c015..80500f26 100644 --- a/src/api/resources/transcribe/client/Socket.ts +++ b/src/api/resources/transcribe/client/Socket.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; -import { TranscribeConfigMessage } from "../../../../serialization/types/TranscribeConfigMessage.js"; -import { TranscribeEndMessage } from "../../../../serialization/types/TranscribeEndMessage.js"; import { fromJson } from "../../../../core/json.js"; import * as serializers from "../../../../serialization/index.js"; +import { TranscribeConfigMessage } from "../../../../serialization/types/TranscribeConfigMessage.js"; +import { TranscribeEndMessage } from "../../../../serialization/types/TranscribeEndMessage.js"; +import type * as Corti from "../../../index.js"; export declare namespace TranscribeSocket { export interface Args { @@ -82,7 +80,10 @@ export class TranscribeSocket { * }); * ``` */ - public on(event: T, callback: TranscribeSocket.EventHandlers[T]) { + public on( + event: T, + callback: TranscribeSocket.EventHandlers[T], + ): void { this.eventHandlers[event] = callback; } diff --git a/src/api/resources/transcripts/client/Client.ts b/src/api/resources/transcripts/client/Client.ts index fc08058f..e9cbc557 100644 --- a/src/api/resources/transcripts/client/Client.ts +++ b/src/api/resources/transcripts/client/Client.ts @@ -1,38 +1,18 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; -import * as Corti from "../../../index.js"; +import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; -import * as serializers from "../../../../serialization/index.js"; +import * as core from "../../../../core/index.js"; import * as errors from "../../../../errors/index.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Corti from "../../../index.js"; export declare namespace Transcripts { - export interface Options { - environment: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; + export interface Options extends BaseClientOptions { token?: core.Supplier; - /** Override the Tenant-Name header */ - tenantName: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | undefined>; } - export interface RequestOptions { - /** The maximum time to wait for a response in seconds. */ - timeoutInSeconds?: number; - /** The number of times to retry the request. Defaults to 2. */ - maxRetries?: number; - /** A hook to abort the request. */ - abortSignal?: AbortSignal; - /** Override the Tenant-Name header */ - tenantName?: string; - /** Additional headers to include in the request. */ - headers?: Record | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Transcripts { @@ -56,7 +36,9 @@ export class Transcripts { * @throws {@link Corti.GatewayTimeoutError} * * @example - * await client.transcripts.list("f47ac10b-58cc-4372-a567-0e02b2c3d479") + * await client.transcripts.list("f47ac10b-58cc-4372-a567-0e02b2c3d479", { + * full: true + * }) */ public list( id: Corti.Uuid, @@ -74,28 +56,30 @@ export class Transcripts { const { full } = request; const _queryParams: Record = {}; if (full !== undefined) { - _queryParams["full"] = full?.toString() ?? null; + _queryParams.full = full?.toString() ?? null; } + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - queryParameters: _queryParams, - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -200,30 +184,33 @@ export class Transcripts { request: Corti.TranscriptsCreateRequest, requestOptions?: Transcripts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/`, ), method: "POST", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), + headers: _headers, contentType: "application/json", + queryParameters: requestOptions?.queryParams, requestType: "json", body: serializers.TranscriptsCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -325,24 +312,27 @@ export class Transcripts { transcriptId: Corti.Uuid, requestOptions?: Transcripts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/${encodeURIComponent(serializers.Uuid.jsonOrThrow(transcriptId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(transcriptId, { omitUndefined: true }))}`, ), method: "GET", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { @@ -444,24 +434,27 @@ export class Transcripts { transcriptId: Corti.Uuid, requestOptions?: Transcripts.RequestOptions, ): Promise> { + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( + this._options?.headers, + mergeOnlyDefinedHeaders({ + Authorization: await this._getAuthorizationHeader(), + "Tenant-Name": requestOptions?.tenantName ?? this._options?.tenantName, + }), + requestOptions?.headers, + ); const _response = await core.fetcher({ url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)).base, - `interactions/${encodeURIComponent(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/${encodeURIComponent(serializers.Uuid.jsonOrThrow(transcriptId, { omitUndefined: true }))}`, + `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/transcripts/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(transcriptId, { omitUndefined: true }))}`, ), method: "DELETE", - headers: mergeHeaders( - this._options?.headers, - mergeOnlyDefinedHeaders({ - Authorization: await this._getAuthorizationHeader(), - "Tenant-Name": requestOptions?.tenantName, - }), - requestOptions?.headers, - ), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, - maxRetries: requestOptions?.maxRetries, + headers: _headers, + queryParameters: requestOptions?.queryParams, + timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, + maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, + fetchFn: this._options?.fetch, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/api/resources/transcripts/client/index.ts b/src/api/resources/transcripts/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/transcripts/client/index.ts +++ b/src/api/resources/transcripts/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/transcripts/client/requests/TranscriptsCreateRequest.ts b/src/api/resources/transcripts/client/requests/TranscriptsCreateRequest.ts index c6eb58b9..bedda24e 100644 --- a/src/api/resources/transcripts/client/requests/TranscriptsCreateRequest.ts +++ b/src/api/resources/transcripts/client/requests/TranscriptsCreateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../../../../index.js"; +import type * as Corti from "../../../../index.js"; /** * @example diff --git a/src/api/resources/transcripts/client/requests/TranscriptsListRequest.ts b/src/api/resources/transcripts/client/requests/TranscriptsListRequest.ts index 318c748e..e7bb0f75 100644 --- a/src/api/resources/transcripts/client/requests/TranscriptsListRequest.ts +++ b/src/api/resources/transcripts/client/requests/TranscriptsListRequest.ts @@ -1,14 +1,12 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * @example - * {} + * { + * full: true + * } */ export interface TranscriptsListRequest { - /** - * Display full transcripts in listing - */ + /** Display full transcripts in listing */ full?: boolean | null; } diff --git a/src/api/resources/transcripts/client/requests/index.ts b/src/api/resources/transcripts/client/requests/index.ts index 4895649b..f3082818 100644 --- a/src/api/resources/transcripts/client/requests/index.ts +++ b/src/api/resources/transcripts/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type TranscriptsListRequest } from "./TranscriptsListRequest.js"; -export { type TranscriptsCreateRequest } from "./TranscriptsCreateRequest.js"; +export type { TranscriptsCreateRequest } from "./TranscriptsCreateRequest.js"; +export type { TranscriptsListRequest } from "./TranscriptsListRequest.js"; diff --git a/src/api/types/AgentsAgent.ts b/src/api/types/AgentsAgent.ts index 94b4532b..3de35752 100644 --- a/src/api/types/AgentsAgent.ts +++ b/src/api/types/AgentsAgent.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsAgent { /** The unique identifier of the agent. */ diff --git a/src/api/types/AgentsAgentCapabilities.ts b/src/api/types/AgentsAgentCapabilities.ts index b3adb3a4..1421c537 100644 --- a/src/api/types/AgentsAgentCapabilities.ts +++ b/src/api/types/AgentsAgentCapabilities.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsAgentCapabilities { /** Indicates whether the agent supports streaming responses. */ diff --git a/src/api/types/AgentsAgentCard.ts b/src/api/types/AgentsAgentCard.ts index 98957701..1ab605f7 100644 --- a/src/api/types/AgentsAgentCard.ts +++ b/src/api/types/AgentsAgentCard.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsAgentCard { /** The version of the A2A protocol this agents supports. */ diff --git a/src/api/types/AgentsAgentCardSignature.ts b/src/api/types/AgentsAgentCardSignature.ts index 22d1f282..d80738a0 100644 --- a/src/api/types/AgentsAgentCardSignature.ts +++ b/src/api/types/AgentsAgentCardSignature.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsAgentCardSignature { /** The protected header of the JWS, base64url-encoded. */ diff --git a/src/api/types/AgentsAgentExpertsItem.ts b/src/api/types/AgentsAgentExpertsItem.ts index 7a219b8c..f8a9a698 100644 --- a/src/api/types/AgentsAgentExpertsItem.ts +++ b/src/api/types/AgentsAgentExpertsItem.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type AgentsAgentExpertsItem = Corti.AgentsExpert | Corti.AgentsExpertReference; diff --git a/src/api/types/AgentsAgentExtension.ts b/src/api/types/AgentsAgentExtension.ts index fe7c384c..05d29ff3 100644 --- a/src/api/types/AgentsAgentExtension.ts +++ b/src/api/types/AgentsAgentExtension.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsAgentExtension { /** The URI that identifies the extension. */ diff --git a/src/api/types/AgentsAgentInterface.ts b/src/api/types/AgentsAgentInterface.ts index 52e32b3c..0dcf9151 100644 --- a/src/api/types/AgentsAgentInterface.ts +++ b/src/api/types/AgentsAgentInterface.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsAgentInterface { /** The URL where the agent can be reached using the specified protocol. */ diff --git a/src/api/types/AgentsAgentProvider.ts b/src/api/types/AgentsAgentProvider.ts index 66f4d6af..2359af07 100644 --- a/src/api/types/AgentsAgentProvider.ts +++ b/src/api/types/AgentsAgentProvider.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsAgentProvider { /** The name of the organization providing the agent. */ diff --git a/src/api/types/AgentsAgentReference.ts b/src/api/types/AgentsAgentReference.ts index c5dd3c0c..3f9b93e4 100644 --- a/src/api/types/AgentsAgentReference.ts +++ b/src/api/types/AgentsAgentReference.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * A reference to an agent, either id or name must be provided. If both are passed, the id will be used. diff --git a/src/api/types/AgentsAgentResponse.ts b/src/api/types/AgentsAgentResponse.ts index 20bca0ed..6cdfbabc 100644 --- a/src/api/types/AgentsAgentResponse.ts +++ b/src/api/types/AgentsAgentResponse.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type AgentsAgentResponse = Corti.AgentsAgent | Corti.AgentsAgentReference; diff --git a/src/api/types/AgentsAgentSkill.ts b/src/api/types/AgentsAgentSkill.ts index f4a2fb09..f7cc0579 100644 --- a/src/api/types/AgentsAgentSkill.ts +++ b/src/api/types/AgentsAgentSkill.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsAgentSkill { /** Unique identifier for the skill. */ diff --git a/src/api/types/AgentsArtifact.ts b/src/api/types/AgentsArtifact.ts index a901127f..f04e2c8f 100644 --- a/src/api/types/AgentsArtifact.ts +++ b/src/api/types/AgentsArtifact.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsArtifact { /** Unique identifier for the artifact. */ diff --git a/src/api/types/AgentsContext.ts b/src/api/types/AgentsContext.ts index 6080e2a7..f3daeff2 100644 --- a/src/api/types/AgentsContext.ts +++ b/src/api/types/AgentsContext.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsContext { /** The context ID. */ diff --git a/src/api/types/AgentsContextItemsItem.ts b/src/api/types/AgentsContextItemsItem.ts index 6252d781..2a2affbe 100644 --- a/src/api/types/AgentsContextItemsItem.ts +++ b/src/api/types/AgentsContextItemsItem.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type AgentsContextItemsItem = Corti.AgentsTask | Corti.AgentsMessage; diff --git a/src/api/types/AgentsCreateExpert.ts b/src/api/types/AgentsCreateExpert.ts index 329899de..d44d3a10 100644 --- a/src/api/types/AgentsCreateExpert.ts +++ b/src/api/types/AgentsCreateExpert.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsCreateExpert { type: "new"; diff --git a/src/api/types/AgentsCreateMcpServer.ts b/src/api/types/AgentsCreateMcpServer.ts index c4d156d3..b86821d7 100644 --- a/src/api/types/AgentsCreateMcpServer.ts +++ b/src/api/types/AgentsCreateMcpServer.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsCreateMcpServer { /** Name of the MCP server. */ diff --git a/src/api/types/AgentsCreateMcpServerAuthorizationType.ts b/src/api/types/AgentsCreateMcpServerAuthorizationType.ts index 10ca9a7b..ca4518e9 100644 --- a/src/api/types/AgentsCreateMcpServerAuthorizationType.ts +++ b/src/api/types/AgentsCreateMcpServerAuthorizationType.ts @@ -1,14 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Type of authorization used by the MCP server. - */ -export type AgentsCreateMcpServerAuthorizationType = "none" | "bearer" | "inherit" | "oauth2.0"; +/** Type of authorization used by the MCP server. */ export const AgentsCreateMcpServerAuthorizationType = { None: "none", Bearer: "bearer", Inherit: "inherit", Oauth20: "oauth2.0", } as const; +export type AgentsCreateMcpServerAuthorizationType = + (typeof AgentsCreateMcpServerAuthorizationType)[keyof typeof AgentsCreateMcpServerAuthorizationType]; diff --git a/src/api/types/AgentsCreateMcpServerTransportType.ts b/src/api/types/AgentsCreateMcpServerTransportType.ts index 3ad5e658..37aef0b9 100644 --- a/src/api/types/AgentsCreateMcpServerTransportType.ts +++ b/src/api/types/AgentsCreateMcpServerTransportType.ts @@ -1,13 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Type of transport used by the MCP server. - */ -export type AgentsCreateMcpServerTransportType = "stdio" | "streamable_http" | "sse"; +/** Type of transport used by the MCP server. */ export const AgentsCreateMcpServerTransportType = { Stdio: "stdio", StreamableHttp: "streamable_http", Sse: "sse", } as const; +export type AgentsCreateMcpServerTransportType = + (typeof AgentsCreateMcpServerTransportType)[keyof typeof AgentsCreateMcpServerTransportType]; diff --git a/src/api/types/AgentsDataPart.ts b/src/api/types/AgentsDataPart.ts index b7b47bcf..22617144 100644 --- a/src/api/types/AgentsDataPart.ts +++ b/src/api/types/AgentsDataPart.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsDataPart { /** The kind of the part, always "data". */ diff --git a/src/api/types/AgentsExpert.ts b/src/api/types/AgentsExpert.ts index 81c05f83..94352077 100644 --- a/src/api/types/AgentsExpert.ts +++ b/src/api/types/AgentsExpert.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsExpert { type: "expert"; diff --git a/src/api/types/AgentsExpertReference.ts b/src/api/types/AgentsExpertReference.ts index aed04725..809f0369 100644 --- a/src/api/types/AgentsExpertReference.ts +++ b/src/api/types/AgentsExpertReference.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * A reference to an expert, either id or name must be provided. If both are passed, the id will be used. diff --git a/src/api/types/AgentsFilePart.ts b/src/api/types/AgentsFilePart.ts index c8930175..f47103b9 100644 --- a/src/api/types/AgentsFilePart.ts +++ b/src/api/types/AgentsFilePart.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsFilePart { /** The kind of the part, always "file". */ diff --git a/src/api/types/AgentsFilePartFile.ts b/src/api/types/AgentsFilePartFile.ts index 184bdb5b..8ab63935 100644 --- a/src/api/types/AgentsFilePartFile.ts +++ b/src/api/types/AgentsFilePartFile.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type AgentsFilePartFile = Corti.AgentsFileWithUri | Corti.AgentsFileWithBytes; diff --git a/src/api/types/AgentsFileWithBytes.ts b/src/api/types/AgentsFileWithBytes.ts index 5c69dfae..b58af3f6 100644 --- a/src/api/types/AgentsFileWithBytes.ts +++ b/src/api/types/AgentsFileWithBytes.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsFileWithBytes { /** The byte content of the file. */ diff --git a/src/api/types/AgentsFileWithUri.ts b/src/api/types/AgentsFileWithUri.ts index f1ff4bed..9919157a 100644 --- a/src/api/types/AgentsFileWithUri.ts +++ b/src/api/types/AgentsFileWithUri.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsFileWithUri { /** The URI of the file. */ diff --git a/src/api/types/AgentsMcpServer.ts b/src/api/types/AgentsMcpServer.ts index 26e10bb9..89b57a5e 100644 --- a/src/api/types/AgentsMcpServer.ts +++ b/src/api/types/AgentsMcpServer.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsMcpServer { /** Unique identifier for the MCP server. */ diff --git a/src/api/types/AgentsMcpServerAuthorizationType.ts b/src/api/types/AgentsMcpServerAuthorizationType.ts index 21c44e14..19a3b5ad 100644 --- a/src/api/types/AgentsMcpServerAuthorizationType.ts +++ b/src/api/types/AgentsMcpServerAuthorizationType.ts @@ -1,13 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Type of authorization used by the MCP server. - */ -export type AgentsMcpServerAuthorizationType = "none" | "oauth2.0" | "oauth2.1"; +/** Type of authorization used by the MCP server. */ export const AgentsMcpServerAuthorizationType = { None: "none", Oauth20: "oauth2.0", Oauth21: "oauth2.1", } as const; +export type AgentsMcpServerAuthorizationType = + (typeof AgentsMcpServerAuthorizationType)[keyof typeof AgentsMcpServerAuthorizationType]; diff --git a/src/api/types/AgentsMcpServerTransportType.ts b/src/api/types/AgentsMcpServerTransportType.ts index 10c1f4e4..198e8c44 100644 --- a/src/api/types/AgentsMcpServerTransportType.ts +++ b/src/api/types/AgentsMcpServerTransportType.ts @@ -1,12 +1,9 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Type of transport used by the MCP server. - */ -export type AgentsMcpServerTransportType = "stdio" | "streamable_http"; +/** Type of transport used by the MCP server. */ export const AgentsMcpServerTransportType = { Stdio: "stdio", StreamableHttp: "streamable_http", } as const; +export type AgentsMcpServerTransportType = + (typeof AgentsMcpServerTransportType)[keyof typeof AgentsMcpServerTransportType]; diff --git a/src/api/types/AgentsMessage.ts b/src/api/types/AgentsMessage.ts index 35e3f514..6e52a0e8 100644 --- a/src/api/types/AgentsMessage.ts +++ b/src/api/types/AgentsMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsMessage { /** The role of the message sender. */ diff --git a/src/api/types/AgentsMessageRole.ts b/src/api/types/AgentsMessageRole.ts index c3e12702..c2e2164f 100644 --- a/src/api/types/AgentsMessageRole.ts +++ b/src/api/types/AgentsMessageRole.ts @@ -1,12 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * The role of the message sender. - */ -export type AgentsMessageRole = "user" | "agent"; +/** The role of the message sender. */ export const AgentsMessageRole = { User: "user", Agent: "agent", } as const; +export type AgentsMessageRole = (typeof AgentsMessageRole)[keyof typeof AgentsMessageRole]; diff --git a/src/api/types/AgentsMessageSendConfiguration.ts b/src/api/types/AgentsMessageSendConfiguration.ts index 6b007844..f85cc4fd 100644 --- a/src/api/types/AgentsMessageSendConfiguration.ts +++ b/src/api/types/AgentsMessageSendConfiguration.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsMessageSendConfiguration { /** A list of output MIME types the client is prepared to accept in the response. */ diff --git a/src/api/types/AgentsPart.ts b/src/api/types/AgentsPart.ts index c3a6f69b..dbde9135 100644 --- a/src/api/types/AgentsPart.ts +++ b/src/api/types/AgentsPart.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type AgentsPart = Corti.AgentsTextPart | Corti.AgentsFilePart | Corti.AgentsDataPart; diff --git a/src/api/types/AgentsPushNotificationAuthenticationInfo.ts b/src/api/types/AgentsPushNotificationAuthenticationInfo.ts index 44d4f945..5769026a 100644 --- a/src/api/types/AgentsPushNotificationAuthenticationInfo.ts +++ b/src/api/types/AgentsPushNotificationAuthenticationInfo.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsPushNotificationAuthenticationInfo { /** A list of supported authentication schemes (e.g. 'Basic', 'Bearer'). */ diff --git a/src/api/types/AgentsPushNotificationConfig.ts b/src/api/types/AgentsPushNotificationConfig.ts index 40574731..9c5f9cc4 100644 --- a/src/api/types/AgentsPushNotificationConfig.ts +++ b/src/api/types/AgentsPushNotificationConfig.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsPushNotificationConfig { /** Unique identifier for the push notification configuration. */ diff --git a/src/api/types/AgentsRegistryExpert.ts b/src/api/types/AgentsRegistryExpert.ts index 2c5a06f2..b08891b3 100644 --- a/src/api/types/AgentsRegistryExpert.ts +++ b/src/api/types/AgentsRegistryExpert.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsRegistryExpert { /** The name of the expert. */ diff --git a/src/api/types/AgentsRegistryExpertsResponse.ts b/src/api/types/AgentsRegistryExpertsResponse.ts index 6c1cd705..f923bb1d 100644 --- a/src/api/types/AgentsRegistryExpertsResponse.ts +++ b/src/api/types/AgentsRegistryExpertsResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsRegistryExpertsResponse { /** A list of all available experts in the experts registry. */ diff --git a/src/api/types/AgentsTask.ts b/src/api/types/AgentsTask.ts index 2510a1b6..125d29c7 100644 --- a/src/api/types/AgentsTask.ts +++ b/src/api/types/AgentsTask.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsTask { /** Unique identifier for the task. */ diff --git a/src/api/types/AgentsTaskStatus.ts b/src/api/types/AgentsTaskStatus.ts index df5ea44c..c9f055ed 100644 --- a/src/api/types/AgentsTaskStatus.ts +++ b/src/api/types/AgentsTaskStatus.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface AgentsTaskStatus { /** The current state of the task. */ diff --git a/src/api/types/AgentsTaskStatusState.ts b/src/api/types/AgentsTaskStatusState.ts index d6098a16..7e186848 100644 --- a/src/api/types/AgentsTaskStatusState.ts +++ b/src/api/types/AgentsTaskStatusState.ts @@ -1,20 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * The current state of the task. - */ -export type AgentsTaskStatusState = - | "submitted" - | "working" - | "input-required" - | "completed" - | "canceled" - | "failed" - | "rejected" - | "auth-required" - | "unknown"; +/** The current state of the task. */ export const AgentsTaskStatusState = { Submitted: "submitted", Working: "working", @@ -26,3 +12,4 @@ export const AgentsTaskStatusState = { AuthRequired: "auth-required", Unknown: "unknown", } as const; +export type AgentsTaskStatusState = (typeof AgentsTaskStatusState)[keyof typeof AgentsTaskStatusState]; diff --git a/src/api/types/AgentsTextPart.ts b/src/api/types/AgentsTextPart.ts index 6a4bcab9..c3330d29 100644 --- a/src/api/types/AgentsTextPart.ts +++ b/src/api/types/AgentsTextPart.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface AgentsTextPart { /** The kind of the part, always "text". */ diff --git a/src/api/types/CommonSortingDirectionEnum.ts b/src/api/types/CommonSortingDirectionEnum.ts index 0d8efe0c..b81a9b6b 100644 --- a/src/api/types/CommonSortingDirectionEnum.ts +++ b/src/api/types/CommonSortingDirectionEnum.ts @@ -1,9 +1,7 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -export type CommonSortingDirectionEnum = "asc" | "desc"; export const CommonSortingDirectionEnum = { Asc: "asc", Desc: "desc", } as const; +export type CommonSortingDirectionEnum = (typeof CommonSortingDirectionEnum)[keyof typeof CommonSortingDirectionEnum]; diff --git a/src/api/types/CommonSourceEnum.ts b/src/api/types/CommonSourceEnum.ts index bd679e7d..e38194f1 100644 --- a/src/api/types/CommonSourceEnum.ts +++ b/src/api/types/CommonSourceEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -export type CommonSourceEnum = "core" | "system" | "user"; export const CommonSourceEnum = { Core: "core", System: "system", User: "user", } as const; +export type CommonSourceEnum = (typeof CommonSourceEnum)[keyof typeof CommonSourceEnum]; diff --git a/src/api/types/CommonTextContext.ts b/src/api/types/CommonTextContext.ts index fc34c227..ede39860 100644 --- a/src/api/types/CommonTextContext.ts +++ b/src/api/types/CommonTextContext.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface CommonTextContext { /** The type of context, always "text" in this context. */ diff --git a/src/api/types/CommonTranscriptRequest.ts b/src/api/types/CommonTranscriptRequest.ts index 1de3c43f..7a816c84 100644 --- a/src/api/types/CommonTranscriptRequest.ts +++ b/src/api/types/CommonTranscriptRequest.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface CommonTranscriptRequest { /** The channel associated with this phrase/utterance. */ diff --git a/src/api/types/CommonTranscriptResponse.ts b/src/api/types/CommonTranscriptResponse.ts index 4aecce1c..9a18874f 100644 --- a/src/api/types/CommonTranscriptResponse.ts +++ b/src/api/types/CommonTranscriptResponse.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface CommonTranscriptResponse { /** The channel associated with this phrase/utterance. */ diff --git a/src/api/types/CommonUsageInfo.ts b/src/api/types/CommonUsageInfo.ts index fe707329..ee1f0492 100644 --- a/src/api/types/CommonUsageInfo.ts +++ b/src/api/types/CommonUsageInfo.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Credits consumed for this request. diff --git a/src/api/types/DocumentsContext.ts b/src/api/types/DocumentsContext.ts index de98fad4..fe3496ad 100644 --- a/src/api/types/DocumentsContext.ts +++ b/src/api/types/DocumentsContext.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type DocumentsContext = | Corti.DocumentsContextWithFacts diff --git a/src/api/types/DocumentsContextWithFacts.ts b/src/api/types/DocumentsContextWithFacts.ts index 52ef00cd..453cd357 100644 --- a/src/api/types/DocumentsContextWithFacts.ts +++ b/src/api/types/DocumentsContextWithFacts.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface DocumentsContextWithFacts { /** The type of context data that will be used in the request: `Facts`, `Transcript`, or `String`. */ diff --git a/src/api/types/DocumentsContextWithString.ts b/src/api/types/DocumentsContextWithString.ts index 83a2db5e..d386e5b0 100644 --- a/src/api/types/DocumentsContextWithString.ts +++ b/src/api/types/DocumentsContextWithString.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface DocumentsContextWithString { /** The type of context data that will be used in the request: `Facts`, `Transcript`, or `String`. */ diff --git a/src/api/types/DocumentsContextWithTranscript.ts b/src/api/types/DocumentsContextWithTranscript.ts index e1a23830..ed8eadf3 100644 --- a/src/api/types/DocumentsContextWithTranscript.ts +++ b/src/api/types/DocumentsContextWithTranscript.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface DocumentsContextWithTranscript { /** The type of context data that will be used in the request: `Facts`, `Transcript`, or `String`. */ diff --git a/src/api/types/DocumentsCreateRequest.ts b/src/api/types/DocumentsCreateRequest.ts index 57ce95be..0016e875 100644 --- a/src/api/types/DocumentsCreateRequest.ts +++ b/src/api/types/DocumentsCreateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type DocumentsCreateRequest = /** diff --git a/src/api/types/DocumentsCreateRequestWithTemplate.ts b/src/api/types/DocumentsCreateRequestWithTemplate.ts index 25a39a24..42e9cd38 100644 --- a/src/api/types/DocumentsCreateRequestWithTemplate.ts +++ b/src/api/types/DocumentsCreateRequestWithTemplate.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface DocumentsCreateRequestWithTemplate { /** An array of context objects. Currently accepts exactly one context object to be used as input for document generation. */ diff --git a/src/api/types/DocumentsCreateRequestWithTemplateKey.ts b/src/api/types/DocumentsCreateRequestWithTemplateKey.ts index f912fad6..a67a01f0 100644 --- a/src/api/types/DocumentsCreateRequestWithTemplateKey.ts +++ b/src/api/types/DocumentsCreateRequestWithTemplateKey.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface DocumentsCreateRequestWithTemplateKey { /** An array of context objects. Currently accepts exactly one context object to be used as input for document generation. */ diff --git a/src/api/types/DocumentsGetResponse.ts b/src/api/types/DocumentsGetResponse.ts index d786f3d6..1d79cd9f 100644 --- a/src/api/types/DocumentsGetResponse.ts +++ b/src/api/types/DocumentsGetResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface DocumentsGetResponse { /** Unique ID of the generated document */ diff --git a/src/api/types/DocumentsListResponse.ts b/src/api/types/DocumentsListResponse.ts index dc8bb1d0..3720187f 100644 --- a/src/api/types/DocumentsListResponse.ts +++ b/src/api/types/DocumentsListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface DocumentsListResponse { data: Corti.DocumentsGetResponse[]; diff --git a/src/api/types/DocumentsSection.ts b/src/api/types/DocumentsSection.ts index a7364114..21e4fca4 100644 --- a/src/api/types/DocumentsSection.ts +++ b/src/api/types/DocumentsSection.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface DocumentsSection { /** Document section key */ diff --git a/src/api/types/DocumentsSectionInput.ts b/src/api/types/DocumentsSectionInput.ts index b8975a9d..91c2ea5c 100644 --- a/src/api/types/DocumentsSectionInput.ts +++ b/src/api/types/DocumentsSectionInput.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface DocumentsSectionInput { key: string; diff --git a/src/api/types/DocumentsTemplate.ts b/src/api/types/DocumentsTemplate.ts index 9531b8be..c5049d44 100644 --- a/src/api/types/DocumentsTemplate.ts +++ b/src/api/types/DocumentsTemplate.ts @@ -1,7 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export type DocumentsTemplate = Corti.DocumentsTemplateWithSectionKeys; diff --git a/src/api/types/DocumentsTemplateWithSectionKeys.ts b/src/api/types/DocumentsTemplateWithSectionKeys.ts index 3cca13c8..68947606 100644 --- a/src/api/types/DocumentsTemplateWithSectionKeys.ts +++ b/src/api/types/DocumentsTemplateWithSectionKeys.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface DocumentsTemplateWithSectionKeys { /** An array of section keys. */ diff --git a/src/api/types/ErrorResponse.ts b/src/api/types/ErrorResponse.ts index 6de73fe9..7aaccf33 100644 --- a/src/api/types/ErrorResponse.ts +++ b/src/api/types/ErrorResponse.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface ErrorResponse { requestid?: string; diff --git a/src/api/types/FactsBatchUpdateInput.ts b/src/api/types/FactsBatchUpdateInput.ts index c9df2cef..f410ad28 100644 --- a/src/api/types/FactsBatchUpdateInput.ts +++ b/src/api/types/FactsBatchUpdateInput.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsBatchUpdateInput { /** The unique identifier of the fact to be updated. */ diff --git a/src/api/types/FactsBatchUpdateItem.ts b/src/api/types/FactsBatchUpdateItem.ts index dc60f436..c047cf5f 100644 --- a/src/api/types/FactsBatchUpdateItem.ts +++ b/src/api/types/FactsBatchUpdateItem.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsBatchUpdateItem { /** The unique identifier of the updated fact. */ diff --git a/src/api/types/FactsBatchUpdateResponse.ts b/src/api/types/FactsBatchUpdateResponse.ts index a1d42040..0e065668 100644 --- a/src/api/types/FactsBatchUpdateResponse.ts +++ b/src/api/types/FactsBatchUpdateResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsBatchUpdateResponse { /** A list of updated facts. */ diff --git a/src/api/types/FactsContext.ts b/src/api/types/FactsContext.ts index 1f348a25..13c4031a 100644 --- a/src/api/types/FactsContext.ts +++ b/src/api/types/FactsContext.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsContext { /** The text of the fact. */ diff --git a/src/api/types/FactsCreateInput.ts b/src/api/types/FactsCreateInput.ts index 056c11ba..8b1c42a8 100644 --- a/src/api/types/FactsCreateInput.ts +++ b/src/api/types/FactsCreateInput.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsCreateInput { /** The text content of the fact. */ diff --git a/src/api/types/FactsCreateItem.ts b/src/api/types/FactsCreateItem.ts index c20b3ba0..302858fe 100644 --- a/src/api/types/FactsCreateItem.ts +++ b/src/api/types/FactsCreateItem.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsCreateItem { /** The unique identifier of the newly created fact. */ diff --git a/src/api/types/FactsCreateResponse.ts b/src/api/types/FactsCreateResponse.ts index cf433b5b..b94e4b28 100644 --- a/src/api/types/FactsCreateResponse.ts +++ b/src/api/types/FactsCreateResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsCreateResponse { /** A list of successfully created facts. */ diff --git a/src/api/types/FactsEvidence.ts b/src/api/types/FactsEvidence.ts index 5275982d..989784de 100644 --- a/src/api/types/FactsEvidence.ts +++ b/src/api/types/FactsEvidence.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface FactsEvidence { /** The category of evidence. */ diff --git a/src/api/types/FactsExtractResponse.ts b/src/api/types/FactsExtractResponse.ts index 17ab97f8..4ac3c494 100644 --- a/src/api/types/FactsExtractResponse.ts +++ b/src/api/types/FactsExtractResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsExtractResponse { /** List of extracted facts based on the provided input context. */ diff --git a/src/api/types/FactsExtractResponseFactsItem.ts b/src/api/types/FactsExtractResponseFactsItem.ts index 6ee1a56f..db2b3b0c 100644 --- a/src/api/types/FactsExtractResponseFactsItem.ts +++ b/src/api/types/FactsExtractResponseFactsItem.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface FactsExtractResponseFactsItem { /** The fact group key the fact belongs to. */ diff --git a/src/api/types/FactsFactGroupsItem.ts b/src/api/types/FactsFactGroupsItem.ts index 43dce1db..f71fb28c 100644 --- a/src/api/types/FactsFactGroupsItem.ts +++ b/src/api/types/FactsFactGroupsItem.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsFactGroupsItem { id?: Corti.Uuid; diff --git a/src/api/types/FactsFactGroupsItemTranslationsItem.ts b/src/api/types/FactsFactGroupsItemTranslationsItem.ts index 3289875e..9889285a 100644 --- a/src/api/types/FactsFactGroupsItemTranslationsItem.ts +++ b/src/api/types/FactsFactGroupsItemTranslationsItem.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface FactsFactGroupsItemTranslationsItem { id?: number; diff --git a/src/api/types/FactsFactGroupsListResponse.ts b/src/api/types/FactsFactGroupsListResponse.ts index 350a8da5..32f68282 100644 --- a/src/api/types/FactsFactGroupsListResponse.ts +++ b/src/api/types/FactsFactGroupsListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsFactGroupsListResponse { data: Corti.FactsFactGroupsItem[]; diff --git a/src/api/types/FactsListItem.ts b/src/api/types/FactsListItem.ts index 72f01129..6231b235 100644 --- a/src/api/types/FactsListItem.ts +++ b/src/api/types/FactsListItem.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsListItem { /** The unique identifier of the fact. */ diff --git a/src/api/types/FactsListResponse.ts b/src/api/types/FactsListResponse.ts index 64126b07..895c0c1f 100644 --- a/src/api/types/FactsListResponse.ts +++ b/src/api/types/FactsListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsListResponse { /** A list of facts associated with the interaction. */ diff --git a/src/api/types/FactsUpdateResponse.ts b/src/api/types/FactsUpdateResponse.ts index 9188051d..840f682d 100644 --- a/src/api/types/FactsUpdateResponse.ts +++ b/src/api/types/FactsUpdateResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface FactsUpdateResponse { /** The unique identifier of the fact. */ diff --git a/src/api/types/InteractionsCreateResponse.ts b/src/api/types/InteractionsCreateResponse.ts index 7a49f6ec..829582d8 100644 --- a/src/api/types/InteractionsCreateResponse.ts +++ b/src/api/types/InteractionsCreateResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsCreateResponse { /** Unique identifier for the interaction. */ diff --git a/src/api/types/InteractionsEncounterCreateRequest.ts b/src/api/types/InteractionsEncounterCreateRequest.ts index 4f942dbf..b69be463 100644 --- a/src/api/types/InteractionsEncounterCreateRequest.ts +++ b/src/api/types/InteractionsEncounterCreateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsEncounterCreateRequest { /** A unique identifier for the encounter, essential for tracking and referencing specific patient interactions. */ diff --git a/src/api/types/InteractionsEncounterPeriod.ts b/src/api/types/InteractionsEncounterPeriod.ts index 73b1ac5c..5525b5cc 100644 --- a/src/api/types/InteractionsEncounterPeriod.ts +++ b/src/api/types/InteractionsEncounterPeriod.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface InteractionsEncounterPeriod { /** The start date/time of the encounter. (UTC) */ diff --git a/src/api/types/InteractionsEncounterResponse.ts b/src/api/types/InteractionsEncounterResponse.ts index f3585783..a3ef3f5d 100644 --- a/src/api/types/InteractionsEncounterResponse.ts +++ b/src/api/types/InteractionsEncounterResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsEncounterResponse { /** A unique identifier for the encounter, essential for tracking and referencing specific patient interactions. */ diff --git a/src/api/types/InteractionsEncounterStatusEnum.ts b/src/api/types/InteractionsEncounterStatusEnum.ts index 2b9ffe90..97ea40c5 100644 --- a/src/api/types/InteractionsEncounterStatusEnum.ts +++ b/src/api/types/InteractionsEncounterStatusEnum.ts @@ -1,14 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -export type InteractionsEncounterStatusEnum = - | "planned" - | "in-progress" - | "on-hold" - | "completed" - | "cancelled" - | "deleted"; export const InteractionsEncounterStatusEnum = { Planned: "planned", InProgress: "in-progress", @@ -17,3 +8,5 @@ export const InteractionsEncounterStatusEnum = { Cancelled: "cancelled", Deleted: "deleted", } as const; +export type InteractionsEncounterStatusEnum = + (typeof InteractionsEncounterStatusEnum)[keyof typeof InteractionsEncounterStatusEnum]; diff --git a/src/api/types/InteractionsEncounterTypeEnum.ts b/src/api/types/InteractionsEncounterTypeEnum.ts index 53377c76..67ef5c74 100644 --- a/src/api/types/InteractionsEncounterTypeEnum.ts +++ b/src/api/types/InteractionsEncounterTypeEnum.ts @@ -1,13 +1,5 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -export type InteractionsEncounterTypeEnum = - | "first_consultation" - | "consultation" - | "emergency" - | "inpatient" - | "outpatient"; export const InteractionsEncounterTypeEnum = { FirstConsultation: "first_consultation", Consultation: "consultation", @@ -15,3 +7,5 @@ export const InteractionsEncounterTypeEnum = { Inpatient: "inpatient", Outpatient: "outpatient", } as const; +export type InteractionsEncounterTypeEnum = + (typeof InteractionsEncounterTypeEnum)[keyof typeof InteractionsEncounterTypeEnum]; diff --git a/src/api/types/InteractionsEncounterUpdateRequest.ts b/src/api/types/InteractionsEncounterUpdateRequest.ts index 8781a199..e46049d5 100644 --- a/src/api/types/InteractionsEncounterUpdateRequest.ts +++ b/src/api/types/InteractionsEncounterUpdateRequest.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsEncounterUpdateRequest { /** A unique identifier for the encounter, essential for tracking and referencing specific patient interactions. */ diff --git a/src/api/types/InteractionsGenderEnum.ts b/src/api/types/InteractionsGenderEnum.ts index 989d4bdd..ae0344bd 100644 --- a/src/api/types/InteractionsGenderEnum.ts +++ b/src/api/types/InteractionsGenderEnum.ts @@ -1,11 +1,9 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -export type InteractionsGenderEnum = "male" | "female" | "unknown" | "other"; export const InteractionsGenderEnum = { Male: "male", Female: "female", Unknown: "unknown", Other: "other", } as const; +export type InteractionsGenderEnum = (typeof InteractionsGenderEnum)[keyof typeof InteractionsGenderEnum]; diff --git a/src/api/types/InteractionsGetResponse.ts b/src/api/types/InteractionsGetResponse.ts index f48f22b1..74e26f09 100644 --- a/src/api/types/InteractionsGetResponse.ts +++ b/src/api/types/InteractionsGetResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsGetResponse { /** Unique identifier for the interaction. */ diff --git a/src/api/types/InteractionsListResponse.ts b/src/api/types/InteractionsListResponse.ts index 24df42d6..8a5de3da 100644 --- a/src/api/types/InteractionsListResponse.ts +++ b/src/api/types/InteractionsListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsListResponse { interactions: Corti.InteractionsGetResponse[]; diff --git a/src/api/types/InteractionsPatient.ts b/src/api/types/InteractionsPatient.ts index e933a81d..14c48fa6 100644 --- a/src/api/types/InteractionsPatient.ts +++ b/src/api/types/InteractionsPatient.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface InteractionsPatient { /** FHIR reference to patient identifier. */ diff --git a/src/api/types/RecordingsCreateResponse.ts b/src/api/types/RecordingsCreateResponse.ts index 3922c107..2b62ee09 100644 --- a/src/api/types/RecordingsCreateResponse.ts +++ b/src/api/types/RecordingsCreateResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface RecordingsCreateResponse { /** The unique identifier for the created recording. */ diff --git a/src/api/types/RecordingsListResponse.ts b/src/api/types/RecordingsListResponse.ts index 17f9667b..e9affced 100644 --- a/src/api/types/RecordingsListResponse.ts +++ b/src/api/types/RecordingsListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface RecordingsListResponse { /** A list of recordings for the interaction. */ diff --git a/src/api/types/StreamConfig.ts b/src/api/types/StreamConfig.ts index d60c199a..2d041e77 100644 --- a/src/api/types/StreamConfig.ts +++ b/src/api/types/StreamConfig.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamConfig { transcription: Corti.StreamConfigTranscription; diff --git a/src/api/types/StreamConfigMessage.ts b/src/api/types/StreamConfigMessage.ts index 46a1ac0f..ea1d3b0d 100644 --- a/src/api/types/StreamConfigMessage.ts +++ b/src/api/types/StreamConfigMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamConfigMessage { type: "config"; diff --git a/src/api/types/StreamConfigMode.ts b/src/api/types/StreamConfigMode.ts index 914b8f81..24f617e2 100644 --- a/src/api/types/StreamConfigMode.ts +++ b/src/api/types/StreamConfigMode.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamConfigMode { /** Processing mode */ diff --git a/src/api/types/StreamConfigModeType.ts b/src/api/types/StreamConfigModeType.ts index 26994f25..5326f38a 100644 --- a/src/api/types/StreamConfigModeType.ts +++ b/src/api/types/StreamConfigModeType.ts @@ -1,13 +1,9 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Processing mode - */ -export type StreamConfigModeType = "facts" | "transcription" | "documentation"; +/** Processing mode */ export const StreamConfigModeType = { Facts: "facts", Transcription: "transcription", Documentation: "documentation", } as const; +export type StreamConfigModeType = (typeof StreamConfigModeType)[keyof typeof StreamConfigModeType]; diff --git a/src/api/types/StreamConfigParticipant.ts b/src/api/types/StreamConfigParticipant.ts index ca45df9b..6df615c9 100644 --- a/src/api/types/StreamConfigParticipant.ts +++ b/src/api/types/StreamConfigParticipant.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamConfigParticipant { /** Audio channel number (e.g. 0 or 1) */ diff --git a/src/api/types/StreamConfigParticipantRole.ts b/src/api/types/StreamConfigParticipantRole.ts index 0586c14e..0491b35a 100644 --- a/src/api/types/StreamConfigParticipantRole.ts +++ b/src/api/types/StreamConfigParticipantRole.ts @@ -1,13 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Role of the participant (e.g., doctor, patient, or multiple) - */ -export type StreamConfigParticipantRole = "doctor" | "patient" | "multiple"; +/** Role of the participant (e.g., doctor, patient, or multiple) */ export const StreamConfigParticipantRole = { Doctor: "doctor", Patient: "patient", Multiple: "multiple", } as const; +export type StreamConfigParticipantRole = + (typeof StreamConfigParticipantRole)[keyof typeof StreamConfigParticipantRole]; diff --git a/src/api/types/StreamConfigStatusMessage.ts b/src/api/types/StreamConfigStatusMessage.ts index 2a1d66cc..32a32c1a 100644 --- a/src/api/types/StreamConfigStatusMessage.ts +++ b/src/api/types/StreamConfigStatusMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamConfigStatusMessage { /** Configuration status result */ diff --git a/src/api/types/StreamConfigStatusMessageType.ts b/src/api/types/StreamConfigStatusMessageType.ts index 32c1ec7f..4c9db82e 100644 --- a/src/api/types/StreamConfigStatusMessageType.ts +++ b/src/api/types/StreamConfigStatusMessageType.ts @@ -1,17 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Configuration status result - */ -export type StreamConfigStatusMessageType = - | "CONFIG_ACCEPTED" - | "CONFIG_DENIED" - | "CONFIG_MISSING" - | "CONFIG_NOT_PROVIDED" - | "CONFIG_ALREADY_RECEIVED" - | "CONFIG_TIMEOUT"; +/** Configuration status result */ export const StreamConfigStatusMessageType = { ConfigAccepted: "CONFIG_ACCEPTED", ConfigDenied: "CONFIG_DENIED", @@ -20,3 +9,5 @@ export const StreamConfigStatusMessageType = { ConfigAlreadyReceived: "CONFIG_ALREADY_RECEIVED", ConfigTimeout: "CONFIG_TIMEOUT", } as const; +export type StreamConfigStatusMessageType = + (typeof StreamConfigStatusMessageType)[keyof typeof StreamConfigStatusMessageType]; diff --git a/src/api/types/StreamConfigTranscription.ts b/src/api/types/StreamConfigTranscription.ts index 0f543513..8a61d252 100644 --- a/src/api/types/StreamConfigTranscription.ts +++ b/src/api/types/StreamConfigTranscription.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamConfigTranscription { /** Primary spoken language for transcription */ diff --git a/src/api/types/StreamEndMessage.ts b/src/api/types/StreamEndMessage.ts index cb816658..eeea1dcf 100644 --- a/src/api/types/StreamEndMessage.ts +++ b/src/api/types/StreamEndMessage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamEndMessage { type: "end"; diff --git a/src/api/types/StreamEndedMessage.ts b/src/api/types/StreamEndedMessage.ts index 83a22eb7..d7ed3649 100644 --- a/src/api/types/StreamEndedMessage.ts +++ b/src/api/types/StreamEndedMessage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamEndedMessage { type: "ENDED"; diff --git a/src/api/types/StreamErrorDetail.ts b/src/api/types/StreamErrorDetail.ts index f7d9f9f3..988c5aed 100644 --- a/src/api/types/StreamErrorDetail.ts +++ b/src/api/types/StreamErrorDetail.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamErrorDetail { /** Error identifier */ diff --git a/src/api/types/StreamErrorMessage.ts b/src/api/types/StreamErrorMessage.ts index 5a55a719..f9506d64 100644 --- a/src/api/types/StreamErrorMessage.ts +++ b/src/api/types/StreamErrorMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamErrorMessage { type: "error"; diff --git a/src/api/types/StreamFact.ts b/src/api/types/StreamFact.ts index 64cb1cb9..473ac6e3 100644 --- a/src/api/types/StreamFact.ts +++ b/src/api/types/StreamFact.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamFact { /** Unique identifier for the fact */ diff --git a/src/api/types/StreamFactsMessage.ts b/src/api/types/StreamFactsMessage.ts index 8dcbe032..c6677eee 100644 --- a/src/api/types/StreamFactsMessage.ts +++ b/src/api/types/StreamFactsMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamFactsMessage { type: "facts"; diff --git a/src/api/types/StreamParticipant.ts b/src/api/types/StreamParticipant.ts index 618e6099..1771e496 100644 --- a/src/api/types/StreamParticipant.ts +++ b/src/api/types/StreamParticipant.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamParticipant { /** Audio channel number (e.g. 0 or 1) */ diff --git a/src/api/types/StreamSupportedLanguage.ts b/src/api/types/StreamSupportedLanguage.ts index 13ee8746..c98e879d 100644 --- a/src/api/types/StreamSupportedLanguage.ts +++ b/src/api/types/StreamSupportedLanguage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Supported language codes diff --git a/src/api/types/StreamTranscript.ts b/src/api/types/StreamTranscript.ts index 9e0c59ed..6921a211 100644 --- a/src/api/types/StreamTranscript.ts +++ b/src/api/types/StreamTranscript.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamTranscript { /** Unique identifier for the transcript */ diff --git a/src/api/types/StreamTranscriptMessage.ts b/src/api/types/StreamTranscriptMessage.ts index da98ab78..a0fb3daa 100644 --- a/src/api/types/StreamTranscriptMessage.ts +++ b/src/api/types/StreamTranscriptMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface StreamTranscriptMessage { type: "transcript"; diff --git a/src/api/types/StreamTranscriptTime.ts b/src/api/types/StreamTranscriptTime.ts index e11722e1..2bee128d 100644 --- a/src/api/types/StreamTranscriptTime.ts +++ b/src/api/types/StreamTranscriptTime.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamTranscriptTime { /** Start time of the transcript segment */ diff --git a/src/api/types/StreamUsageMessage.ts b/src/api/types/StreamUsageMessage.ts index 07a52ff4..25d24e4c 100644 --- a/src/api/types/StreamUsageMessage.ts +++ b/src/api/types/StreamUsageMessage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface StreamUsageMessage { type: "usage"; diff --git a/src/api/types/TemplatesItem.ts b/src/api/types/TemplatesItem.ts index 51605a16..61f5c4cc 100644 --- a/src/api/types/TemplatesItem.ts +++ b/src/api/types/TemplatesItem.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TemplatesItem { /** The timestamp when the template was updated. */ diff --git a/src/api/types/TemplatesListResponse.ts b/src/api/types/TemplatesListResponse.ts index 5b3cf670..8c723d3b 100644 --- a/src/api/types/TemplatesListResponse.ts +++ b/src/api/types/TemplatesListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TemplatesListResponse { /** List of filtered templates */ diff --git a/src/api/types/TemplatesSection.ts b/src/api/types/TemplatesSection.ts index 89e76543..80bb6d36 100644 --- a/src/api/types/TemplatesSection.ts +++ b/src/api/types/TemplatesSection.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TemplatesSection { /** The timestamp when the section was updated. */ diff --git a/src/api/types/TemplatesSectionListResponse.ts b/src/api/types/TemplatesSectionListResponse.ts index 6f77eb9f..5b652126 100644 --- a/src/api/types/TemplatesSectionListResponse.ts +++ b/src/api/types/TemplatesSectionListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TemplatesSectionListResponse { /** List of filtered template sections */ diff --git a/src/api/types/TemplatesSectionSorted.ts b/src/api/types/TemplatesSectionSorted.ts index c33923e6..14689500 100644 --- a/src/api/types/TemplatesSectionSorted.ts +++ b/src/api/types/TemplatesSectionSorted.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TemplatesSectionSorted { /** Sort order of the section within the template */ diff --git a/src/api/types/TemplatesSectionTranslation.ts b/src/api/types/TemplatesSectionTranslation.ts index 74b428e3..1aabdfc7 100644 --- a/src/api/types/TemplatesSectionTranslation.ts +++ b/src/api/types/TemplatesSectionTranslation.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TemplatesSectionTranslation { /** Language identifier */ diff --git a/src/api/types/TemplatesTranslation.ts b/src/api/types/TemplatesTranslation.ts index 74ba3752..f7060b85 100644 --- a/src/api/types/TemplatesTranslation.ts +++ b/src/api/types/TemplatesTranslation.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TemplatesTranslation { /** Language identifier */ diff --git a/src/api/types/TemplatesWritingStyle.ts b/src/api/types/TemplatesWritingStyle.ts index 515ef98b..8539dc5d 100644 --- a/src/api/types/TemplatesWritingStyle.ts +++ b/src/api/types/TemplatesWritingStyle.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TemplatesWritingStyle { /** Name of the writing style */ diff --git a/src/api/types/TranscribeCommand.ts b/src/api/types/TranscribeCommand.ts index 71d0160b..7a418c27 100644 --- a/src/api/types/TranscribeCommand.ts +++ b/src/api/types/TranscribeCommand.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeCommand { /** To identify the command when it gets detected and returned over the WebSocket */ diff --git a/src/api/types/TranscribeCommandData.ts b/src/api/types/TranscribeCommandData.ts index 66a17899..da393bf6 100644 --- a/src/api/types/TranscribeCommandData.ts +++ b/src/api/types/TranscribeCommandData.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeCommandData { /** To identify the command when it gets detected and returned over the WebSocket */ diff --git a/src/api/types/TranscribeCommandMessage.ts b/src/api/types/TranscribeCommandMessage.ts index f1d0ce5a..059b8bcd 100644 --- a/src/api/types/TranscribeCommandMessage.ts +++ b/src/api/types/TranscribeCommandMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeCommandMessage { type: "command"; diff --git a/src/api/types/TranscribeCommandVariable.ts b/src/api/types/TranscribeCommandVariable.ts index 003a0d84..a771fdca 100644 --- a/src/api/types/TranscribeCommandVariable.ts +++ b/src/api/types/TranscribeCommandVariable.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeCommandVariable { /** Variable key identifier */ diff --git a/src/api/types/TranscribeConfig.ts b/src/api/types/TranscribeConfig.ts index 6ceb3a6b..de6f72df 100644 --- a/src/api/types/TranscribeConfig.ts +++ b/src/api/types/TranscribeConfig.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeConfig { /** The locale of the primary spoken language. */ diff --git a/src/api/types/TranscribeConfigMessage.ts b/src/api/types/TranscribeConfigMessage.ts index d15d0285..bb21162a 100644 --- a/src/api/types/TranscribeConfigMessage.ts +++ b/src/api/types/TranscribeConfigMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeConfigMessage { type: "config"; diff --git a/src/api/types/TranscribeConfigStatusMessage.ts b/src/api/types/TranscribeConfigStatusMessage.ts index 69801cc0..765dcd6f 100644 --- a/src/api/types/TranscribeConfigStatusMessage.ts +++ b/src/api/types/TranscribeConfigStatusMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeConfigStatusMessage { /** Configuration status result */ diff --git a/src/api/types/TranscribeConfigStatusMessageType.ts b/src/api/types/TranscribeConfigStatusMessageType.ts index 817ac87b..bded7c6c 100644 --- a/src/api/types/TranscribeConfigStatusMessageType.ts +++ b/src/api/types/TranscribeConfigStatusMessageType.ts @@ -1,13 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -/** - * Configuration status result - */ -export type TranscribeConfigStatusMessageType = "CONFIG_ACCEPTED" | "CONFIG_DENIED" | "CONFIG_TIMEOUT"; +/** Configuration status result */ export const TranscribeConfigStatusMessageType = { ConfigAccepted: "CONFIG_ACCEPTED", ConfigDenied: "CONFIG_DENIED", ConfigTimeout: "CONFIG_TIMEOUT", } as const; +export type TranscribeConfigStatusMessageType = + (typeof TranscribeConfigStatusMessageType)[keyof typeof TranscribeConfigStatusMessageType]; diff --git a/src/api/types/TranscribeEndMessage.ts b/src/api/types/TranscribeEndMessage.ts index b008d92d..9802a5cc 100644 --- a/src/api/types/TranscribeEndMessage.ts +++ b/src/api/types/TranscribeEndMessage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeEndMessage { type: "end"; diff --git a/src/api/types/TranscribeEndedMessage.ts b/src/api/types/TranscribeEndedMessage.ts index a33a4675..661d252d 100644 --- a/src/api/types/TranscribeEndedMessage.ts +++ b/src/api/types/TranscribeEndedMessage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeEndedMessage { type: "ended"; diff --git a/src/api/types/TranscribeErrorMessage.ts b/src/api/types/TranscribeErrorMessage.ts index c2ea333e..51bc8564 100644 --- a/src/api/types/TranscribeErrorMessage.ts +++ b/src/api/types/TranscribeErrorMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeErrorMessage { type: "error"; diff --git a/src/api/types/TranscribeErrorMessageError.ts b/src/api/types/TranscribeErrorMessageError.ts index c1948b1b..067e054b 100644 --- a/src/api/types/TranscribeErrorMessageError.ts +++ b/src/api/types/TranscribeErrorMessageError.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeErrorMessageError { /** Unique error identifier */ diff --git a/src/api/types/TranscribeSupportedLanguage.ts b/src/api/types/TranscribeSupportedLanguage.ts index 839d6448..8f7d582e 100644 --- a/src/api/types/TranscribeSupportedLanguage.ts +++ b/src/api/types/TranscribeSupportedLanguage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Supported language codes for transcription diff --git a/src/api/types/TranscribeTranscriptData.ts b/src/api/types/TranscribeTranscriptData.ts index 45bfbb5a..be3aa39a 100644 --- a/src/api/types/TranscribeTranscriptData.ts +++ b/src/api/types/TranscribeTranscriptData.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeTranscriptData { /** Transcript segment with punctuations applied and command phrases removed */ diff --git a/src/api/types/TranscribeTranscriptMessage.ts b/src/api/types/TranscribeTranscriptMessage.ts index 62bec432..7923c6f0 100644 --- a/src/api/types/TranscribeTranscriptMessage.ts +++ b/src/api/types/TranscribeTranscriptMessage.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscribeTranscriptMessage { type: "transcript"; diff --git a/src/api/types/TranscribeUsageMessage.ts b/src/api/types/TranscribeUsageMessage.ts index a3649c3d..606a273b 100644 --- a/src/api/types/TranscribeUsageMessage.ts +++ b/src/api/types/TranscribeUsageMessage.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface TranscribeUsageMessage { type: "usage"; diff --git a/src/api/types/TranscriptsData.ts b/src/api/types/TranscriptsData.ts index 679c9ced..1d4dafe9 100644 --- a/src/api/types/TranscriptsData.ts +++ b/src/api/types/TranscriptsData.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscriptsData { /** Additional information about the participants involved in the transcript. */ diff --git a/src/api/types/TranscriptsListItem.ts b/src/api/types/TranscriptsListItem.ts index eaaf84b9..f45d67b7 100644 --- a/src/api/types/TranscriptsListItem.ts +++ b/src/api/types/TranscriptsListItem.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscriptsListItem { /** The unique identifier of the transcript. */ diff --git a/src/api/types/TranscriptsListResponse.ts b/src/api/types/TranscriptsListResponse.ts index fc99e04a..76dc0ae1 100644 --- a/src/api/types/TranscriptsListResponse.ts +++ b/src/api/types/TranscriptsListResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscriptsListResponse { transcripts?: Corti.TranscriptsListItem[] | null; diff --git a/src/api/types/TranscriptsMetadata.ts b/src/api/types/TranscriptsMetadata.ts index 85f705bf..750e2153 100644 --- a/src/api/types/TranscriptsMetadata.ts +++ b/src/api/types/TranscriptsMetadata.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscriptsMetadata { participantsRoles?: Corti.TranscriptsParticipant[] | null; diff --git a/src/api/types/TranscriptsParticipant.ts b/src/api/types/TranscriptsParticipant.ts index e93d6f8b..6cfa4654 100644 --- a/src/api/types/TranscriptsParticipant.ts +++ b/src/api/types/TranscriptsParticipant.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscriptsParticipant { /** The audio channel to associate with a participant role. */ diff --git a/src/api/types/TranscriptsParticipantRoleEnum.ts b/src/api/types/TranscriptsParticipantRoleEnum.ts index f64ffa23..677b2305 100644 --- a/src/api/types/TranscriptsParticipantRoleEnum.ts +++ b/src/api/types/TranscriptsParticipantRoleEnum.ts @@ -1,10 +1,9 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -export type TranscriptsParticipantRoleEnum = "doctor" | "patient" | "multiple"; export const TranscriptsParticipantRoleEnum = { Doctor: "doctor", Patient: "patient", Multiple: "multiple", } as const; +export type TranscriptsParticipantRoleEnum = + (typeof TranscriptsParticipantRoleEnum)[keyof typeof TranscriptsParticipantRoleEnum]; diff --git a/src/api/types/TranscriptsResponse.ts b/src/api/types/TranscriptsResponse.ts index 785d32b8..bf39d721 100644 --- a/src/api/types/TranscriptsResponse.ts +++ b/src/api/types/TranscriptsResponse.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as Corti from "../index.js"; +import type * as Corti from "../index.js"; export interface TranscriptsResponse { /** The unique identifier of the transcript. */ diff --git a/src/api/types/Uuid.ts b/src/api/types/Uuid.ts index 5412d87a..e33bd68e 100644 --- a/src/api/types/Uuid.ts +++ b/src/api/types/Uuid.ts @@ -1,5 +1,3 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export type Uuid = string; diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 7ae2033e..90bb5c27 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -1,142 +1,142 @@ +export * from "./AgentsAgent.js"; +export * from "./AgentsAgentCapabilities.js"; +export * from "./AgentsAgentCard.js"; +export * from "./AgentsAgentCardSignature.js"; +export * from "./AgentsAgentExpertsItem.js"; +export * from "./AgentsAgentExtension.js"; +export * from "./AgentsAgentInterface.js"; +export * from "./AgentsAgentProvider.js"; +export * from "./AgentsAgentReference.js"; +export * from "./AgentsAgentResponse.js"; +export * from "./AgentsAgentSkill.js"; +export * from "./AgentsArtifact.js"; +export * from "./AgentsContext.js"; +export * from "./AgentsContextItemsItem.js"; +export * from "./AgentsCreateExpert.js"; +export * from "./AgentsCreateMcpServer.js"; +export * from "./AgentsCreateMcpServerAuthorizationType.js"; +export * from "./AgentsCreateMcpServerTransportType.js"; +export * from "./AgentsDataPart.js"; +export * from "./AgentsExpert.js"; +export * from "./AgentsExpertReference.js"; +export * from "./AgentsFilePart.js"; +export * from "./AgentsFilePartFile.js"; +export * from "./AgentsFileWithBytes.js"; +export * from "./AgentsFileWithUri.js"; +export * from "./AgentsMcpServer.js"; +export * from "./AgentsMcpServerAuthorizationType.js"; +export * from "./AgentsMcpServerTransportType.js"; +export * from "./AgentsMessage.js"; +export * from "./AgentsMessageRole.js"; +export * from "./AgentsMessageSendConfiguration.js"; +export * from "./AgentsPart.js"; +export * from "./AgentsPushNotificationAuthenticationInfo.js"; +export * from "./AgentsPushNotificationConfig.js"; +export * from "./AgentsRegistryExpert.js"; +export * from "./AgentsRegistryExpertsResponse.js"; +export * from "./AgentsTask.js"; +export * from "./AgentsTaskStatus.js"; +export * from "./AgentsTaskStatusState.js"; +export * from "./AgentsTextPart.js"; +export * from "./CommonSortingDirectionEnum.js"; +export * from "./CommonSourceEnum.js"; +export * from "./CommonTextContext.js"; +export * from "./CommonTranscriptRequest.js"; +export * from "./CommonTranscriptResponse.js"; +export * from "./CommonUsageInfo.js"; export * from "./DocumentsContext.js"; export * from "./DocumentsContextWithFacts.js"; -export * from "./DocumentsContextWithTranscript.js"; export * from "./DocumentsContextWithString.js"; +export * from "./DocumentsContextWithTranscript.js"; +export * from "./DocumentsCreateRequest.js"; +export * from "./DocumentsCreateRequestWithTemplate.js"; +export * from "./DocumentsCreateRequestWithTemplateKey.js"; +export * from "./DocumentsGetResponse.js"; +export * from "./DocumentsListResponse.js"; export * from "./DocumentsSection.js"; +export * from "./DocumentsSectionInput.js"; export * from "./DocumentsTemplate.js"; export * from "./DocumentsTemplateWithSectionKeys.js"; -export * from "./InteractionsEncounterCreateRequest.js"; -export * from "./InteractionsEncounterUpdateRequest.js"; -export * from "./InteractionsEncounterResponse.js"; -export * from "./InteractionsEncounterPeriod.js"; export * from "./ErrorResponse.js"; +export * from "./FactsBatchUpdateInput.js"; +export * from "./FactsBatchUpdateItem.js"; +export * from "./FactsBatchUpdateResponse.js"; export * from "./FactsContext.js"; -export * from "./FactsFactGroupsItemTranslationsItem.js"; -export * from "./FactsFactGroupsItem.js"; -export * from "./InteractionsPatient.js"; -export * from "./DocumentsCreateRequest.js"; -export * from "./DocumentsCreateRequestWithTemplateKey.js"; -export * from "./DocumentsCreateRequestWithTemplate.js"; -export * from "./DocumentsSectionInput.js"; -export * from "./CommonTextContext.js"; export * from "./FactsCreateInput.js"; -export * from "./FactsBatchUpdateInput.js"; -export * from "./TranscriptsParticipant.js"; -export * from "./TemplatesSectionListResponse.js"; -export * from "./TemplatesListResponse.js"; -export * from "./DocumentsListResponse.js"; -export * from "./DocumentsGetResponse.js"; -export * from "./FactsListItem.js"; export * from "./FactsCreateItem.js"; +export * from "./FactsCreateResponse.js"; export * from "./FactsEvidence.js"; +export * from "./FactsExtractResponse.js"; +export * from "./FactsExtractResponseFactsItem.js"; +export * from "./FactsFactGroupsItem.js"; +export * from "./FactsFactGroupsItemTranslationsItem.js"; export * from "./FactsFactGroupsListResponse.js"; -export * from "./FactsUpdateResponse.js"; -export * from "./FactsCreateResponse.js"; +export * from "./FactsListItem.js"; export * from "./FactsListResponse.js"; -export * from "./FactsBatchUpdateResponse.js"; -export * from "./FactsBatchUpdateItem.js"; -export * from "./FactsExtractResponseFactsItem.js"; -export * from "./FactsExtractResponse.js"; -export * from "./InteractionsGetResponse.js"; +export * from "./FactsUpdateResponse.js"; export * from "./InteractionsCreateResponse.js"; -export * from "./InteractionsListResponse.js"; -export * from "./TranscriptsMetadata.js"; -export * from "./RecordingsCreateResponse.js"; -export * from "./RecordingsListResponse.js"; -export * from "./TranscriptsResponse.js"; -export * from "./TranscriptsListResponse.js"; -export * from "./TranscriptsListItem.js"; -export * from "./TranscriptsData.js"; -export * from "./TemplatesSection.js"; -export * from "./CommonSortingDirectionEnum.js"; -export * from "./TemplatesItem.js"; -export * from "./TemplatesSectionSorted.js"; -export * from "./CommonTranscriptRequest.js"; -export * from "./CommonTranscriptResponse.js"; -export * from "./Uuid.js"; -export * from "./CommonUsageInfo.js"; +export * from "./InteractionsEncounterCreateRequest.js"; +export * from "./InteractionsEncounterPeriod.js"; +export * from "./InteractionsEncounterResponse.js"; export * from "./InteractionsEncounterStatusEnum.js"; export * from "./InteractionsEncounterTypeEnum.js"; +export * from "./InteractionsEncounterUpdateRequest.js"; export * from "./InteractionsGenderEnum.js"; -export * from "./CommonSourceEnum.js"; -export * from "./TranscriptsParticipantRoleEnum.js"; -export * from "./TemplatesWritingStyle.js"; -export * from "./TemplatesSectionTranslation.js"; -export * from "./TemplatesTranslation.js"; -export * from "./StreamConfigMessage.js"; +export * from "./InteractionsGetResponse.js"; +export * from "./InteractionsListResponse.js"; +export * from "./InteractionsPatient.js"; +export * from "./RecordingsCreateResponse.js"; +export * from "./RecordingsListResponse.js"; export * from "./StreamConfig.js"; -export * from "./StreamConfigTranscription.js"; -export * from "./StreamConfigModeType.js"; +export * from "./StreamConfigMessage.js"; export * from "./StreamConfigMode.js"; -export * from "./StreamConfigStatusMessageType.js"; +export * from "./StreamConfigModeType.js"; +export * from "./StreamConfigParticipant.js"; +export * from "./StreamConfigParticipantRole.js"; export * from "./StreamConfigStatusMessage.js"; +export * from "./StreamConfigStatusMessageType.js"; +export * from "./StreamConfigTranscription.js"; export * from "./StreamEndedMessage.js"; -export * from "./StreamUsageMessage.js"; -export * from "./StreamErrorMessage.js"; +export * from "./StreamEndMessage.js"; export * from "./StreamErrorDetail.js"; -export * from "./StreamTranscriptMessage.js"; -export * from "./StreamTranscript.js"; -export * from "./StreamParticipant.js"; -export * from "./StreamConfigParticipantRole.js"; -export * from "./StreamConfigParticipant.js"; -export * from "./StreamTranscriptTime.js"; -export * from "./StreamFactsMessage.js"; +export * from "./StreamErrorMessage.js"; export * from "./StreamFact.js"; -export * from "./StreamEndMessage.js"; +export * from "./StreamFactsMessage.js"; +export * from "./StreamParticipant.js"; export * from "./StreamSupportedLanguage.js"; -export * from "./TranscribeSupportedLanguage.js"; -export * from "./TranscribeConfig.js"; -export * from "./TranscribeConfigMessage.js"; +export * from "./StreamTranscript.js"; +export * from "./StreamTranscriptMessage.js"; +export * from "./StreamTranscriptTime.js"; +export * from "./StreamUsageMessage.js"; +export * from "./TemplatesItem.js"; +export * from "./TemplatesListResponse.js"; +export * from "./TemplatesSection.js"; +export * from "./TemplatesSectionListResponse.js"; +export * from "./TemplatesSectionSorted.js"; +export * from "./TemplatesSectionTranslation.js"; +export * from "./TemplatesTranslation.js"; +export * from "./TemplatesWritingStyle.js"; export * from "./TranscribeCommand.js"; +export * from "./TranscribeCommandData.js"; +export * from "./TranscribeCommandMessage.js"; export * from "./TranscribeCommandVariable.js"; -export * from "./TranscribeConfigStatusMessageType.js"; +export * from "./TranscribeConfig.js"; +export * from "./TranscribeConfigMessage.js"; export * from "./TranscribeConfigStatusMessage.js"; -export * from "./TranscribeEndMessage.js"; -export * from "./TranscribeUsageMessage.js"; +export * from "./TranscribeConfigStatusMessageType.js"; export * from "./TranscribeEndedMessage.js"; -export * from "./TranscribeErrorMessageError.js"; +export * from "./TranscribeEndMessage.js"; export * from "./TranscribeErrorMessage.js"; +export * from "./TranscribeErrorMessageError.js"; +export * from "./TranscribeSupportedLanguage.js"; export * from "./TranscribeTranscriptData.js"; -export * from "./TranscribeCommandData.js"; export * from "./TranscribeTranscriptMessage.js"; -export * from "./TranscribeCommandMessage.js"; -export * from "./AgentsTaskStatusState.js"; -export * from "./AgentsTaskStatus.js"; -export * from "./AgentsTextPart.js"; -export * from "./AgentsFileWithUri.js"; -export * from "./AgentsFileWithBytes.js"; -export * from "./AgentsFilePartFile.js"; -export * from "./AgentsFilePart.js"; -export * from "./AgentsDataPart.js"; -export * from "./AgentsPart.js"; -export * from "./AgentsMessageRole.js"; -export * from "./AgentsMessage.js"; -export * from "./AgentsArtifact.js"; -export * from "./AgentsTask.js"; -export * from "./AgentsPushNotificationAuthenticationInfo.js"; -export * from "./AgentsPushNotificationConfig.js"; -export * from "./AgentsMessageSendConfiguration.js"; -export * from "./AgentsCreateMcpServerTransportType.js"; -export * from "./AgentsCreateMcpServerAuthorizationType.js"; -export * from "./AgentsCreateMcpServer.js"; -export * from "./AgentsMcpServerTransportType.js"; -export * from "./AgentsMcpServerAuthorizationType.js"; -export * from "./AgentsMcpServer.js"; -export * from "./AgentsAgentExpertsItem.js"; -export * from "./AgentsAgent.js"; -export * from "./AgentsAgentReference.js"; -export * from "./AgentsCreateExpert.js"; -export * from "./AgentsExpert.js"; -export * from "./AgentsExpertReference.js"; -export * from "./AgentsAgentResponse.js"; -export * from "./AgentsAgentInterface.js"; -export * from "./AgentsAgentProvider.js"; -export * from "./AgentsAgentCapabilities.js"; -export * from "./AgentsAgentExtension.js"; -export * from "./AgentsAgentSkill.js"; -export * from "./AgentsAgentCardSignature.js"; -export * from "./AgentsAgentCard.js"; -export * from "./AgentsContextItemsItem.js"; -export * from "./AgentsContext.js"; -export * from "./AgentsRegistryExpert.js"; -export * from "./AgentsRegistryExpertsResponse.js"; +export * from "./TranscribeUsageMessage.js"; +export * from "./TranscriptsData.js"; +export * from "./TranscriptsListItem.js"; +export * from "./TranscriptsListResponse.js"; +export * from "./TranscriptsMetadata.js"; +export * from "./TranscriptsParticipant.js"; +export * from "./TranscriptsParticipantRoleEnum.js"; +export * from "./TranscriptsResponse.js"; +export * from "./Uuid.js"; diff --git a/src/core/auth/AuthProvider.ts b/src/core/auth/AuthProvider.ts new file mode 100644 index 00000000..86f670a8 --- /dev/null +++ b/src/core/auth/AuthProvider.ts @@ -0,0 +1,5 @@ +import type { AuthRequest } from "./AuthRequest.js"; + +export interface AuthProvider { + getAuthRequest(): Promise; +} diff --git a/src/core/auth/AuthRequest.ts b/src/core/auth/AuthRequest.ts new file mode 100644 index 00000000..f6218b42 --- /dev/null +++ b/src/core/auth/AuthRequest.ts @@ -0,0 +1,9 @@ +/** + * Request parameters for authentication requests. + */ +export interface AuthRequest { + /** + * The headers to be included in the request. + */ + headers: Record; +} diff --git a/src/core/auth/BasicAuth.ts b/src/core/auth/BasicAuth.ts index 1c0d8835..a6423591 100644 --- a/src/core/auth/BasicAuth.ts +++ b/src/core/auth/BasicAuth.ts @@ -18,7 +18,8 @@ export const BasicAuth = { fromAuthorizationHeader: (header: string): BasicAuth => { const credentials = header.replace(BASIC_AUTH_HEADER_PREFIX, ""); const decoded = base64Decode(credentials); - const [username, password] = decoded.split(":", 2); + const [username, ...passwordParts] = decoded.split(":"); + const password = passwordParts.length > 0 ? passwordParts.join(":") : undefined; if (username == null || password == null) { throw new Error("Invalid basic auth"); diff --git a/src/core/auth/OAuthTokenProvider.ts b/src/core/auth/OAuthTokenProvider.ts index 2f69861e..1294e472 100644 --- a/src/core/auth/OAuthTokenProvider.ts +++ b/src/core/auth/OAuthTokenProvider.ts @@ -1,9 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. + +import type { Auth } from "../../api/resources/auth/client/Client.js"; import * as core from "../../core/index.js"; -import { Auth } from "../../api/resources/auth/client/Client.js"; /** * The OAuthTokenProvider retrieves an OAuth access token, refreshing it as needed. @@ -12,7 +11,7 @@ import { Auth } from "../../api/resources/auth/client/Client.js"; export class OAuthTokenProvider { private readonly BUFFER_IN_MINUTES = 2; private readonly _clientId: core.Supplier; - private readonly _clientSecret: core.Supplier; + private readonly _clientSecret: core.Supplier; private readonly _authClient: Auth; private _accessToken: string | undefined; private _expiresAt: Date; @@ -23,7 +22,7 @@ export class OAuthTokenProvider { authClient, }: { clientId: core.Supplier; - clientSecret: core.Supplier; + clientSecret: core.Supplier; authClient: Auth; }) { this._clientId = clientId; diff --git a/src/core/exports.ts b/src/core/exports.ts index e415a8f6..4c7ee5f1 100644 --- a/src/core/exports.ts +++ b/src/core/exports.ts @@ -1 +1,3 @@ export * from "./file/exports.js"; +export * from "./pagination/exports.js"; +export * from "./websocket/exports.js"; diff --git a/src/core/fetcher/APIResponse.ts b/src/core/fetcher/APIResponse.ts index dd4b9466..97ab83c2 100644 --- a/src/core/fetcher/APIResponse.ts +++ b/src/core/fetcher/APIResponse.ts @@ -1,4 +1,4 @@ -import { RawResponse } from "./RawResponse.js"; +import type { RawResponse } from "./RawResponse.js"; /** * The response of an API call. diff --git a/src/core/fetcher/BinaryResponse.ts b/src/core/fetcher/BinaryResponse.ts index 614cb59b..4b4d0e89 100644 --- a/src/core/fetcher/BinaryResponse.ts +++ b/src/core/fetcher/BinaryResponse.ts @@ -1,4 +1,4 @@ -import { ResponseWithBody } from "./ResponseWithBody.js"; +import type { ResponseWithBody } from "./ResponseWithBody.js"; export type BinaryResponse = { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */ diff --git a/src/core/fetcher/EndpointMetadata.ts b/src/core/fetcher/EndpointMetadata.ts new file mode 100644 index 00000000..998d68f5 --- /dev/null +++ b/src/core/fetcher/EndpointMetadata.ts @@ -0,0 +1,13 @@ +export type SecuritySchemeKey = string; +/** + * A collection of security schemes, where the key is the name of the security scheme and the value is the list of scopes required for that scheme. + * All schemes in the collection must be satisfied for authentication to be successful. + */ +export type SecuritySchemeCollection = Record; +export type AuthScope = string; +export type EndpointMetadata = { + /** + * An array of security scheme collections. Each collection represents an alternative way to authenticate. + */ + security?: SecuritySchemeCollection[]; +}; diff --git a/src/core/fetcher/EndpointSupplier.ts b/src/core/fetcher/EndpointSupplier.ts new file mode 100644 index 00000000..8079841c --- /dev/null +++ b/src/core/fetcher/EndpointSupplier.ts @@ -0,0 +1,14 @@ +import type { EndpointMetadata } from "./EndpointMetadata.js"; +import type { Supplier } from "./Supplier.js"; + +type EndpointSupplierFn = (arg: { endpointMetadata: EndpointMetadata }) => T | Promise; +export type EndpointSupplier = Supplier | EndpointSupplierFn; +export const EndpointSupplier = { + get: async (supplier: EndpointSupplier, arg: { endpointMetadata: EndpointMetadata }): Promise => { + if (typeof supplier === "function") { + return (supplier as EndpointSupplierFn)(arg); + } else { + return supplier; + } + }, +}; diff --git a/src/core/fetcher/Fetcher.ts b/src/core/fetcher/Fetcher.ts index dd9a40fe..feb35357 100644 --- a/src/core/fetcher/Fetcher.ts +++ b/src/core/fetcher/Fetcher.ts @@ -1,13 +1,14 @@ import { toJson } from "../json.js"; -import { APIResponse } from "./APIResponse.js"; -import { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js"; -import { Supplier } from "./Supplier.js"; +import type { APIResponse } from "./APIResponse.js"; import { createRequestUrl } from "./createRequestUrl.js"; +import type { EndpointMetadata } from "./EndpointMetadata.js"; +import { EndpointSupplier } from "./EndpointSupplier.js"; import { getErrorResponseBody } from "./getErrorResponseBody.js"; import { getFetchFn } from "./getFetchFn.js"; import { getRequestBody } from "./getRequestBody.js"; import { getResponseBody } from "./getResponseBody.js"; import { makeRequest } from "./makeRequest.js"; +import { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js"; import { requestWithRetries } from "./requestWithRetries.js"; export type FetchFunction = (args: Fetcher.Args) => Promise>; @@ -17,16 +18,18 @@ export declare namespace Fetcher { url: string; method: string; contentType?: string; - headers?: Record | undefined>; - queryParameters?: Record; + headers?: Record | null | undefined>; + queryParameters?: Record; body?: unknown; timeoutMs?: number; maxRetries?: number; withCredentials?: boolean; abortSignal?: AbortSignal; - requestType?: "json" | "file" | "bytes"; + requestType?: "json" | "file" | "bytes" | "form" | "other"; responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer" | "binary-response"; duplex?: "half"; + endpointMetadata?: EndpointMetadata; + fetchFn?: typeof fetch; } export type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError; @@ -64,7 +67,7 @@ async function getHeaders(args: Fetcher.Args): Promise> { } for (const [key, value] of Object.entries(args.headers)) { - const result = await Supplier.get(value); + const result = await EndpointSupplier.get(value, { endpointMetadata: args.endpointMetadata ?? {} }); if (typeof result === "string") { newHeaders[key] = result; continue; @@ -81,9 +84,9 @@ export async function fetcherImpl(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise case "application/ld+json": case "application/problem+json": case "application/vnd.api+json": - case "text/json": + case "text/json": { const text = await response.text(); return text.length > 0 ? fromJson(text) : undefined; + } default: if (contentType.startsWith("application/vnd.") && contentType.endsWith("+json")) { const text = await response.text(); diff --git a/src/core/fetcher/getRequestBody.ts b/src/core/fetcher/getRequestBody.ts index e38457c5..91d9d81f 100644 --- a/src/core/fetcher/getRequestBody.ts +++ b/src/core/fetcher/getRequestBody.ts @@ -1,13 +1,17 @@ import { toJson } from "../json.js"; +import { toQueryString } from "../url/qs.js"; export declare namespace GetRequestBody { interface Args { body: unknown; - type: "json" | "file" | "bytes" | "other"; + type: "json" | "file" | "bytes" | "form" | "other"; } } export async function getRequestBody({ body, type }: GetRequestBody.Args): Promise { + if (type === "form") { + return toQueryString(body, { arrayFormat: "repeat", encode: true }); + } if (type.includes("json")) { return toJson(body); } else { diff --git a/src/core/fetcher/getResponseBody.ts b/src/core/fetcher/getResponseBody.ts index 7ca8b3d2..0f24de17 100644 --- a/src/core/fetcher/getResponseBody.ts +++ b/src/core/fetcher/getResponseBody.ts @@ -1,6 +1,6 @@ +import { fromJson } from "../json.js"; import { getBinaryResponse } from "./BinaryResponse.js"; import { isResponseWithBody } from "./ResponseWithBody.js"; -import { fromJson } from "../json.js"; export async function getResponseBody(response: Response, responseType?: string): Promise { if (!isResponseWithBody(response)) { @@ -26,9 +26,9 @@ export async function getResponseBody(response: Response, responseType?: string) const text = await response.text(); if (text.length > 0) { try { - let responseBody = fromJson(text); + const responseBody = fromJson(text); return responseBody; - } catch (err) { + } catch (_err) { return { ok: false, error: { diff --git a/src/core/fetcher/index.ts b/src/core/fetcher/index.ts index 49e13932..c3bc6da2 100644 --- a/src/core/fetcher/index.ts +++ b/src/core/fetcher/index.ts @@ -1,9 +1,11 @@ export type { APIResponse } from "./APIResponse.js"; -export { fetcher } from "./Fetcher.js"; +export type { BinaryResponse } from "./BinaryResponse.js"; +export type { EndpointMetadata } from "./EndpointMetadata.js"; +export { EndpointSupplier } from "./EndpointSupplier.js"; export type { Fetcher, FetchFunction } from "./Fetcher.js"; +export { fetcher } from "./Fetcher.js"; export { getHeader } from "./getHeader.js"; -export { Supplier } from "./Supplier.js"; -export { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js"; -export type { RawResponse, WithRawResponse } from "./RawResponse.js"; export { HttpResponsePromise } from "./HttpResponsePromise.js"; -export { BinaryResponse } from "./BinaryResponse.js"; +export type { RawResponse, WithRawResponse } from "./RawResponse.js"; +export { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js"; +export { Supplier } from "./Supplier.js"; diff --git a/src/core/fetcher/makeRequest.ts b/src/core/fetcher/makeRequest.ts index 1a5ffd3c..5edce698 100644 --- a/src/core/fetcher/makeRequest.ts +++ b/src/core/fetcher/makeRequest.ts @@ -14,7 +14,7 @@ export const makeRequest = async ( const signals: AbortSignal[] = []; // Add timeout signal - let timeoutAbortId: NodeJS.Timeout | undefined = undefined; + let timeoutAbortId: NodeJS.Timeout | undefined; if (timeoutMs != null) { const { signal, abortId } = getTimeoutSignal(timeoutMs); timeoutAbortId = abortId; @@ -25,7 +25,7 @@ export const makeRequest = async ( if (abortSignal != null) { signals.push(abortSignal); } - let newSignals = anySignal(signals); + const newSignals = anySignal(signals); const response = await fetchFn(url, { method: method, headers, diff --git a/src/core/fetcher/requestWithRetries.ts b/src/core/fetcher/requestWithRetries.ts index add3cce0..3d30bd1c 100644 --- a/src/core/fetcher/requestWithRetries.ts +++ b/src/core/fetcher/requestWithRetries.ts @@ -3,12 +3,55 @@ const MAX_RETRY_DELAY = 60000; // in milliseconds const DEFAULT_MAX_RETRIES = 2; const JITTER_FACTOR = 0.2; // 20% random jitter -function addJitter(delay: number): number { - // Generate a random value between -JITTER_FACTOR and +JITTER_FACTOR - const jitterMultiplier = 1 + (Math.random() * 2 - 1) * JITTER_FACTOR; +function addPositiveJitter(delay: number): number { + // Generate a random value between 0 and +JITTER_FACTOR + const jitterMultiplier = 1 + Math.random() * JITTER_FACTOR; return delay * jitterMultiplier; } +function addSymmetricJitter(delay: number): number { + // Generate a random value in a JITTER_FACTOR-sized percentage range around delay + const jitterMultiplier = 1 + (Math.random() - 0.5) * JITTER_FACTOR; + return delay * jitterMultiplier; +} + +function getRetryDelayFromHeaders(response: Response, retryAttempt: number): number { + // Check for Retry-After header first (RFC 7231), with no jitter + const retryAfter = response.headers.get("Retry-After"); + if (retryAfter) { + // Parse as number of seconds... + const retryAfterSeconds = parseInt(retryAfter, 10); + if (!Number.isNaN(retryAfterSeconds) && retryAfterSeconds > 0) { + return Math.min(retryAfterSeconds * 1000, MAX_RETRY_DELAY); + } + + // ...or as an HTTP date; both are valid + const retryAfterDate = new Date(retryAfter); + if (!Number.isNaN(retryAfterDate.getTime())) { + const delay = retryAfterDate.getTime() - Date.now(); + if (delay > 0) { + return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY); + } + } + } + + // Then check for industry-standard X-RateLimit-Reset header, with positive jitter + const rateLimitReset = response.headers.get("X-RateLimit-Reset"); + if (rateLimitReset) { + const resetTime = parseInt(rateLimitReset, 10); + if (!Number.isNaN(resetTime)) { + // Assume Unix timestamp in epoch seconds + const delay = resetTime * 1000 - Date.now(); + if (delay > 0) { + return addPositiveJitter(Math.min(delay, MAX_RETRY_DELAY)); + } + } + } + + // Fall back to exponential backoff, with symmetric jitter + return addSymmetricJitter(Math.min(INITIAL_RETRY_DELAY * 2 ** retryAttempt, MAX_RETRY_DELAY)); +} + export async function requestWithRetries( requestFn: () => Promise, maxRetries: number = DEFAULT_MAX_RETRIES, @@ -17,13 +60,10 @@ export async function requestWithRetries( for (let i = 0; i < maxRetries; ++i) { if ([408, 429].includes(response.status) || response.status >= 500) { - // Calculate base delay using exponential backoff (in milliseconds) - const baseDelay = Math.min(INITIAL_RETRY_DELAY * Math.pow(2, i), MAX_RETRY_DELAY); - - // Add jitter to the delay - const delayWithJitter = addJitter(baseDelay); + // Get delay with appropriate jitter applied + const delay = getRetryDelayFromHeaders(response, i); - await new Promise((resolve) => setTimeout(resolve, delayWithJitter)); + await new Promise((resolve) => setTimeout(resolve, delay)); response = await requestFn(); } else { break; diff --git a/src/core/file/exports.ts b/src/core/file/exports.ts index acda0367..3b0b3967 100644 --- a/src/core/file/exports.ts +++ b/src/core/file/exports.ts @@ -1 +1 @@ -export { Uploadable } from "./types.js"; +export type { Uploadable } from "./types.js"; diff --git a/src/core/file/file.ts b/src/core/file/file.ts index bc4b7e50..0bacc484 100644 --- a/src/core/file/file.ts +++ b/src/core/file/file.ts @@ -1,4 +1,4 @@ -import { Uploadable } from "./types.js"; +import type { Uploadable } from "./types.js"; export async function toBinaryUploadRequest( file: Uploadable, @@ -20,19 +20,40 @@ export async function toBinaryUploadRequest( return request; } -async function getFileWithMetadata(file: Uploadable): Promise { +export async function toMultipartDataPart( + file: Uploadable, +): Promise<{ data: Uploadable.FileLike; filename?: string; contentType?: string }> { + const { data, filename, contentType } = await getFileWithMetadata(file, { + noSniffFileSize: true, + }); + return { + data, + filename, + contentType, + }; +} + +async function getFileWithMetadata( + file: Uploadable, + { noSniffFileSize }: { noSniffFileSize?: boolean } = {}, +): Promise { if (isFileLike(file)) { - return getFileWithMetadata({ - data: file, - }); + return getFileWithMetadata( + { + data: file, + }, + { noSniffFileSize }, + ); } + if ("path" in file) { const fs = await import("fs"); if (!fs || !fs.createReadStream) { throw new Error("File path uploads are not supported in this environment."); } const data = fs.createReadStream(file.path); - const contentLength = file.contentLength ?? (await tryGetFileSizeFromPath(file.path)); + const contentLength = + file.contentLength ?? (noSniffFileSize === true ? undefined : await tryGetFileSizeFromPath(file.path)); const filename = file.filename ?? getNameFromPath(file.path); return { data, @@ -43,7 +64,11 @@ async function getFileWithMetadata(file: Uploadable): Promise } const fileStat = await fs.promises.stat(path); return fileStat.size; - } catch (fallbackError) { + } catch (_fallbackError) { return undefined; } } @@ -92,7 +117,10 @@ function tryGetNameFromFileLike(data: Uploadable.FileLike): string | undefined { return undefined; } -async function tryGetContentLengthFromFileLike(data: Uploadable.FileLike): Promise { +async function tryGetContentLengthFromFileLike( + data: Uploadable.FileLike, + { noSniffFileSize }: { noSniffFileSize?: boolean } = {}, +): Promise { if (isBuffer(data)) { return data.length; } @@ -108,6 +136,9 @@ async function tryGetContentLengthFromFileLike(data: Uploadable.FileLike): Promi if (isFile(data)) { return data.size; } + if (noSniffFileSize === true) { + return undefined; + } if (isPathedValue(data)) { return await tryGetFileSizeFromPath(data.path.toString()); } diff --git a/src/core/headers.ts b/src/core/headers.ts index 561314d2..78ed8b50 100644 --- a/src/core/headers.ts +++ b/src/core/headers.ts @@ -1,33 +1,33 @@ -import * as core from "./index.js"; - -export function mergeHeaders( - ...headersArray: (Record | undefined> | undefined)[] -): Record> { - const result: Record> = {}; +export function mergeHeaders( + ...headersArray: (Record | null | undefined)[] +): Record { + const result: Record = {}; for (const [key, value] of headersArray .filter((headers) => headers != null) .flatMap((headers) => Object.entries(headers))) { + const insensitiveKey = key.toLowerCase(); if (value != null) { - result[key] = value; - } else if (key in result) { - delete result[key]; + result[insensitiveKey] = value; + } else if (insensitiveKey in result) { + delete result[insensitiveKey]; } } return result; } -export function mergeOnlyDefinedHeaders( - ...headersArray: (Record | undefined> | undefined)[] -): Record> { - const result: Record> = {}; +export function mergeOnlyDefinedHeaders( + ...headersArray: (Record | null | undefined)[] +): Record { + const result: Record = {}; for (const [key, value] of headersArray .filter((headers) => headers != null) .flatMap((headers) => Object.entries(headers))) { + const insensitiveKey = key.toLowerCase(); if (value != null) { - result[key] = value; + result[insensitiveKey] = value; } } diff --git a/src/core/index.ts b/src/core/index.ts index 8a48e319..8e380e0b 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,10 +1,10 @@ export * from "./auth/index.js"; +export * from "./base64.js"; export * from "./fetcher/index.js"; +export * as file from "./file/index.js"; +export * from "./pagination/index.js"; export * from "./runtime/index.js"; -export * as url from "./url/index.js"; export * as serialization from "./schemas/index.js"; -export * from "./websocket/index.js"; -export * from "./base64.js"; +export * as url from "./url/index.js"; export * from "./utils/index.js"; -export * from "./pagination/index.js"; -export * as file from "./file/index.js"; +export * from "./websocket/index.js"; diff --git a/src/core/pagination/Page.ts b/src/core/pagination/Page.ts index 307989ef..6621a6f1 100644 --- a/src/core/pagination/Page.ts +++ b/src/core/pagination/Page.ts @@ -1,18 +1,19 @@ -import { HttpResponsePromise, RawResponse } from "../fetcher/index.js"; +import type { HttpResponsePromise, RawResponse } from "../fetcher/index.js"; /** * A page of results from a paginated API. * * @template T The type of the items in the page. + * @template R The type of the API response. */ -export class Page implements AsyncIterable { +export class Page implements AsyncIterable { public data: T[]; public rawResponse: RawResponse; + public response: R; - private response: unknown; - private _hasNextPage: (response: unknown) => boolean; - private getItems: (response: unknown) => T[]; - private loadNextPage: (response: unknown) => HttpResponsePromise; + private _hasNextPage: (response: R) => boolean; + private getItems: (response: R) => T[]; + private loadNextPage: (response: R) => HttpResponsePromise; constructor({ response, @@ -21,11 +22,11 @@ export class Page implements AsyncIterable { getItems, loadPage, }: { - response: unknown; + response: R; rawResponse: RawResponse; - hasNextPage: (response: unknown) => boolean; - getItems: (response: unknown) => T[]; - loadPage: (response: unknown) => HttpResponsePromise; + hasNextPage: (response: R) => boolean; + getItems: (response: R) => T[]; + loadPage: (response: R) => HttpResponsePromise; }) { this.response = response; this.rawResponse = rawResponse; diff --git a/src/core/pagination/Pageable.ts b/src/core/pagination/Pageable.ts deleted file mode 100644 index faec8642..00000000 --- a/src/core/pagination/Pageable.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { RawResponse } from "../fetcher/index.js"; -import { Page } from "./Page.js"; - -export declare namespace Pageable { - interface Args { - response: Response; - rawResponse: RawResponse; - hasNextPage: (response: Response) => boolean; - getItems: (response: Response) => Item[]; - loadPage: (response: Response) => Promise; - } -} - -export class Pageable extends Page { - constructor(args: Pageable.Args) { - super(args as any); - } -} diff --git a/src/core/pagination/exports.ts b/src/core/pagination/exports.ts new file mode 100644 index 00000000..d3acc60b --- /dev/null +++ b/src/core/pagination/exports.ts @@ -0,0 +1 @@ +export type { Page } from "./Page.js"; diff --git a/src/core/pagination/index.ts b/src/core/pagination/index.ts index b0cd68fa..7781cbd6 100644 --- a/src/core/pagination/index.ts +++ b/src/core/pagination/index.ts @@ -1,2 +1 @@ export { Page } from "./Page.js"; -export { Pageable } from "./Pageable.js"; diff --git a/src/core/schemas/Schema.ts b/src/core/schemas/Schema.ts index 5216437c..179edf6a 100644 --- a/src/core/schemas/Schema.ts +++ b/src/core/schemas/Schema.ts @@ -1,4 +1,4 @@ -import { SchemaUtils } from "./builders/index.js"; +import type { SchemaUtils } from "./builders/index.js"; export type Schema = BaseSchema & SchemaUtils; diff --git a/src/core/schemas/builders/bigint/bigint.ts b/src/core/schemas/builders/bigint/bigint.ts index 098b4bf9..2c7c74c5 100644 --- a/src/core/schemas/builders/bigint/bigint.ts +++ b/src/core/schemas/builders/bigint/bigint.ts @@ -1,4 +1,4 @@ -import { BaseSchema, Schema, SchemaType } from "../../Schema.js"; +import { type BaseSchema, type Schema, SchemaType } from "../../Schema.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { getSchemaUtils } from "../schema-utils/index.js"; diff --git a/src/core/schemas/builders/date/date.ts b/src/core/schemas/builders/date/date.ts index 5afaa49b..f02e3367 100644 --- a/src/core/schemas/builders/date/date.ts +++ b/src/core/schemas/builders/date/date.ts @@ -1,4 +1,4 @@ -import { BaseSchema, Schema, SchemaType } from "../../Schema.js"; +import { type BaseSchema, type Schema, SchemaType } from "../../Schema.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { getSchemaUtils } from "../schema-utils/index.js"; diff --git a/src/core/schemas/builders/enum/enum.ts b/src/core/schemas/builders/enum/enum.ts index b8921867..ccae24bc 100644 --- a/src/core/schemas/builders/enum/enum.ts +++ b/src/core/schemas/builders/enum/enum.ts @@ -1,4 +1,4 @@ -import { Schema, SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; diff --git a/src/core/schemas/builders/lazy/index.ts b/src/core/schemas/builders/lazy/index.ts index e346ac9d..e8ca4099 100644 --- a/src/core/schemas/builders/lazy/index.ts +++ b/src/core/schemas/builders/lazy/index.ts @@ -1,3 +1,3 @@ -export { lazy } from "./lazy.js"; export type { SchemaGetter } from "./lazy.js"; +export { lazy } from "./lazy.js"; export { lazyObject } from "./lazyObject.js"; diff --git a/src/core/schemas/builders/lazy/lazy.ts b/src/core/schemas/builders/lazy/lazy.ts index c3ec78fe..37f28871 100644 --- a/src/core/schemas/builders/lazy/lazy.ts +++ b/src/core/schemas/builders/lazy/lazy.ts @@ -1,4 +1,4 @@ -import { BaseSchema, Schema } from "../../Schema.js"; +import type { BaseSchema, Schema } from "../../Schema.js"; import { getSchemaUtils } from "../schema-utils/index.js"; export type SchemaGetter> = () => SchemaType; diff --git a/src/core/schemas/builders/lazy/lazyObject.ts b/src/core/schemas/builders/lazy/lazyObject.ts index 0971f921..192c90e5 100644 --- a/src/core/schemas/builders/lazy/lazyObject.ts +++ b/src/core/schemas/builders/lazy/lazyObject.ts @@ -1,8 +1,8 @@ import { getObjectUtils } from "../object/index.js"; +import type { BaseObjectSchema, ObjectSchema } from "../object/types.js"; import { getObjectLikeUtils } from "../object-like/index.js"; -import { BaseObjectSchema, ObjectSchema } from "../object/types.js"; import { getSchemaUtils } from "../schema-utils/index.js"; -import { SchemaGetter, constructLazyBaseSchema, getMemoizedSchema } from "./lazy.js"; +import { constructLazyBaseSchema, getMemoizedSchema, type SchemaGetter } from "./lazy.js"; export function lazyObject(getter: SchemaGetter>): ObjectSchema { const baseSchema: BaseObjectSchema = { diff --git a/src/core/schemas/builders/list/list.ts b/src/core/schemas/builders/list/list.ts index 4cee68ee..4f8c10ba 100644 --- a/src/core/schemas/builders/list/list.ts +++ b/src/core/schemas/builders/list/list.ts @@ -1,4 +1,4 @@ -import { BaseSchema, MaybeValid, Schema, SchemaType, ValidationError } from "../../Schema.js"; +import { type BaseSchema, type MaybeValid, type Schema, SchemaType, type ValidationError } from "../../Schema.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { getSchemaUtils } from "../schema-utils/index.js"; diff --git a/src/core/schemas/builders/literals/booleanLiteral.ts b/src/core/schemas/builders/literals/booleanLiteral.ts index 0bebfb5b..db5d2c7a 100644 --- a/src/core/schemas/builders/literals/booleanLiteral.ts +++ b/src/core/schemas/builders/literals/booleanLiteral.ts @@ -1,4 +1,4 @@ -import { Schema, SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; diff --git a/src/core/schemas/builders/literals/index.ts b/src/core/schemas/builders/literals/index.ts index fb172c47..4a4ab39d 100644 --- a/src/core/schemas/builders/literals/index.ts +++ b/src/core/schemas/builders/literals/index.ts @@ -1,2 +1,2 @@ -export { stringLiteral } from "./stringLiteral.js"; export { booleanLiteral } from "./booleanLiteral.js"; +export { stringLiteral } from "./stringLiteral.js"; diff --git a/src/core/schemas/builders/literals/stringLiteral.ts b/src/core/schemas/builders/literals/stringLiteral.ts index e3efa7bb..ce6e20ca 100644 --- a/src/core/schemas/builders/literals/stringLiteral.ts +++ b/src/core/schemas/builders/literals/stringLiteral.ts @@ -1,4 +1,4 @@ -import { Schema, SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; diff --git a/src/core/schemas/builders/object-like/getObjectLikeUtils.ts b/src/core/schemas/builders/object-like/getObjectLikeUtils.ts index 124a0828..af69acb0 100644 --- a/src/core/schemas/builders/object-like/getObjectLikeUtils.ts +++ b/src/core/schemas/builders/object-like/getObjectLikeUtils.ts @@ -1,9 +1,9 @@ -import { BaseSchema } from "../../Schema.js"; +import type { BaseSchema } from "../../Schema.js"; import { filterObject } from "../../utils/filterObject.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { isPlainObject } from "../../utils/isPlainObject.js"; import { getSchemaUtils } from "../schema-utils/index.js"; -import { ObjectLikeSchema, ObjectLikeUtils } from "./types.js"; +import type { ObjectLikeSchema, ObjectLikeUtils } from "./types.js"; export function getObjectLikeUtils(schema: BaseSchema): ObjectLikeUtils { return { diff --git a/src/core/schemas/builders/object-like/types.ts b/src/core/schemas/builders/object-like/types.ts index 5a49242a..44b96691 100644 --- a/src/core/schemas/builders/object-like/types.ts +++ b/src/core/schemas/builders/object-like/types.ts @@ -1,11 +1,13 @@ -import { BaseSchema, Schema } from "../../Schema.js"; +import type { BaseSchema, Schema } from "../../Schema.js"; export type ObjectLikeSchema = Schema & BaseSchema & ObjectLikeUtils; export interface ObjectLikeUtils { - withParsedProperties: >(properties: { - [K in keyof T]: T[K] | ((parsed: Parsed) => T[K]); - }) => ObjectLikeSchema; + withParsedProperties: >( + properties: { + [K in keyof T]: T[K] | ((parsed: Parsed) => T[K]); + }, + ) => ObjectLikeSchema; } diff --git a/src/core/schemas/builders/object/index.ts b/src/core/schemas/builders/object/index.ts index a6337fac..c6611aaa 100644 --- a/src/core/schemas/builders/object/index.ts +++ b/src/core/schemas/builders/object/index.ts @@ -1,11 +1,11 @@ export { getObjectUtils, object } from "./object.js"; -export { objectWithoutOptionalProperties } from "./objectWithoutOptionalProperties.js"; export type { inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas, } from "./objectWithoutOptionalProperties.js"; -export { isProperty, property } from "./property.js"; +export { objectWithoutOptionalProperties } from "./objectWithoutOptionalProperties.js"; export type { Property } from "./property.js"; +export { isProperty, property } from "./property.js"; export type { BaseObjectSchema, inferObjectSchemaFromPropertySchemas, diff --git a/src/core/schemas/builders/object/object.ts b/src/core/schemas/builders/object/object.ts index bdb8c89c..ca6d2270 100644 --- a/src/core/schemas/builders/object/object.ts +++ b/src/core/schemas/builders/object/object.ts @@ -1,4 +1,4 @@ -import { MaybeValid, Schema, SchemaType, ValidationError } from "../../Schema.js"; +import { type MaybeValid, type Schema, SchemaType, type ValidationError } from "../../Schema.js"; import { entries } from "../../utils/entries.js"; import { filterObject } from "../../utils/filterObject.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; @@ -9,14 +9,14 @@ import { partition } from "../../utils/partition.js"; import { getObjectLikeUtils } from "../object-like/index.js"; import { getSchemaUtils } from "../schema-utils/index.js"; import { isProperty } from "./property.js"; -import { +import type { BaseObjectSchema, - ObjectSchema, - ObjectUtils, - PropertySchemas, inferObjectSchemaFromPropertySchemas, inferParsedObjectFromPropertySchemas, inferRawObjectFromPropertySchemas, + ObjectSchema, + ObjectUtils, + PropertySchemas, } from "./types.js"; interface ObjectPropertyWithRawKey { diff --git a/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts b/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts index 5c852bef..4d39c862 100644 --- a/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts +++ b/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts @@ -1,9 +1,9 @@ import { object } from "./object.js"; -import { - ObjectSchema, - PropertySchemas, +import type { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, + ObjectSchema, + PropertySchemas, } from "./types.js"; export function objectWithoutOptionalProperties>( diff --git a/src/core/schemas/builders/object/property.ts b/src/core/schemas/builders/object/property.ts index 4c684fdd..d1f9f386 100644 --- a/src/core/schemas/builders/object/property.ts +++ b/src/core/schemas/builders/object/property.ts @@ -1,4 +1,4 @@ -import { Schema } from "../../Schema.js"; +import type { Schema } from "../../Schema.js"; export function property( rawKey: RawKey, diff --git a/src/core/schemas/builders/object/types.ts b/src/core/schemas/builders/object/types.ts index 4c7aa687..735d14fc 100644 --- a/src/core/schemas/builders/object/types.ts +++ b/src/core/schemas/builders/object/types.ts @@ -1,8 +1,8 @@ -import { BaseSchema, Schema, inferParsed, inferRaw } from "../../Schema.js"; -import { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties.js"; -import { ObjectLikeUtils } from "../object-like/index.js"; -import { SchemaUtils } from "../schema-utils/index.js"; -import { Property } from "./property.js"; +import type { BaseSchema, inferParsed, inferRaw, Schema } from "../../Schema.js"; +import type { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties.js"; +import type { ObjectLikeUtils } from "../object-like/index.js"; +import type { SchemaUtils } from "../schema-utils/index.js"; +import type { Property } from "./property.js"; export type ObjectSchema = BaseObjectSchema & ObjectLikeUtils & @@ -23,8 +23,9 @@ export interface ObjectUtils { export type inferRawObject> = O extends ObjectSchema ? Raw : never; -export type inferParsedObject> = - O extends ObjectSchema ? Parsed : never; +export type inferParsedObject> = O extends ObjectSchema + ? Parsed + : never; export type inferObjectSchemaFromPropertySchemas> = ObjectSchema< inferRawObjectFromPropertySchemas, @@ -46,11 +47,25 @@ export type PropertySchemas = Recor Property | Schema >; -export type inferRawPropertySchema

| Schema> = - P extends Property ? Raw : P extends Schema ? inferRaw

: never; +export type inferRawPropertySchema

| Schema> = P extends Property< + any, + infer Raw, + any +> + ? Raw + : P extends Schema + ? inferRaw

+ : never; -export type inferParsedPropertySchema

| Schema> = - P extends Property ? Parsed : P extends Schema ? inferParsed

: never; +export type inferParsedPropertySchema

| Schema> = P extends Property< + any, + any, + infer Parsed +> + ? Parsed + : P extends Schema + ? inferParsed

+ : never; export type inferRawKey< ParsedKey extends string | number | symbol, diff --git a/src/core/schemas/builders/primitives/any.ts b/src/core/schemas/builders/primitives/any.ts index bff7c042..bc4d47fa 100644 --- a/src/core/schemas/builders/primitives/any.ts +++ b/src/core/schemas/builders/primitives/any.ts @@ -1,4 +1,7 @@ -import { SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; -export const any = createIdentitySchemaCreator(SchemaType.ANY, (value) => ({ ok: true, value })); +export const any: () => Schema = createIdentitySchemaCreator(SchemaType.ANY, (value) => ({ + ok: true, + value, +})); diff --git a/src/core/schemas/builders/primitives/boolean.ts b/src/core/schemas/builders/primitives/boolean.ts index 6d93becd..78c3c362 100644 --- a/src/core/schemas/builders/primitives/boolean.ts +++ b/src/core/schemas/builders/primitives/boolean.ts @@ -1,8 +1,8 @@ -import { SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; -export const boolean = createIdentitySchemaCreator( +export const boolean: () => Schema = createIdentitySchemaCreator( SchemaType.BOOLEAN, (value, { breadcrumbsPrefix = [] } = {}) => { if (typeof value === "boolean") { diff --git a/src/core/schemas/builders/primitives/number.ts b/src/core/schemas/builders/primitives/number.ts index a927539e..6f16cd46 100644 --- a/src/core/schemas/builders/primitives/number.ts +++ b/src/core/schemas/builders/primitives/number.ts @@ -1,8 +1,8 @@ -import { SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; -export const number = createIdentitySchemaCreator( +export const number: () => Schema = createIdentitySchemaCreator( SchemaType.NUMBER, (value, { breadcrumbsPrefix = [] } = {}) => { if (typeof value === "number") { diff --git a/src/core/schemas/builders/primitives/string.ts b/src/core/schemas/builders/primitives/string.ts index fac9cd71..b29d72ae 100644 --- a/src/core/schemas/builders/primitives/string.ts +++ b/src/core/schemas/builders/primitives/string.ts @@ -1,8 +1,8 @@ -import { SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; -export const string = createIdentitySchemaCreator( +export const string: () => Schema = createIdentitySchemaCreator( SchemaType.STRING, (value, { breadcrumbsPrefix = [] } = {}) => { if (typeof value === "string") { diff --git a/src/core/schemas/builders/primitives/unknown.ts b/src/core/schemas/builders/primitives/unknown.ts index 4df0a6ce..04514160 100644 --- a/src/core/schemas/builders/primitives/unknown.ts +++ b/src/core/schemas/builders/primitives/unknown.ts @@ -1,4 +1,7 @@ -import { SchemaType } from "../../Schema.js"; +import { type Schema, SchemaType } from "../../Schema.js"; import { createIdentitySchemaCreator } from "../../utils/createIdentitySchemaCreator.js"; -export const unknown = createIdentitySchemaCreator(SchemaType.UNKNOWN, (value) => ({ ok: true, value })); +export const unknown: () => Schema = createIdentitySchemaCreator( + SchemaType.UNKNOWN, + (value) => ({ ok: true, value }), +); diff --git a/src/core/schemas/builders/record/record.ts b/src/core/schemas/builders/record/record.ts index de1d7e13..a4896603 100644 --- a/src/core/schemas/builders/record/record.ts +++ b/src/core/schemas/builders/record/record.ts @@ -1,10 +1,10 @@ -import { MaybeValid, Schema, SchemaType, ValidationError } from "../../Schema.js"; +import { type MaybeValid, type Schema, SchemaType, type ValidationError } from "../../Schema.js"; import { entries } from "../../utils/entries.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { isPlainObject } from "../../utils/isPlainObject.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { getSchemaUtils } from "../schema-utils/index.js"; -import { BaseRecordSchema, RecordSchema } from "./types.js"; +import type { BaseRecordSchema, RecordSchema } from "./types.js"; export function record( keySchema: Schema, @@ -90,7 +90,7 @@ function validateAndTransformRecord 0 ? Number(stringKey) : NaN; - if (!isNaN(numberKey)) { + if (!Number.isNaN(numberKey)) { key = numberKey; } } diff --git a/src/core/schemas/builders/record/types.ts b/src/core/schemas/builders/record/types.ts index e629d5be..5950b4cb 100644 --- a/src/core/schemas/builders/record/types.ts +++ b/src/core/schemas/builders/record/types.ts @@ -1,5 +1,5 @@ -import { BaseSchema } from "../../Schema.js"; -import { SchemaUtils } from "../schema-utils/index.js"; +import type { BaseSchema } from "../../Schema.js"; +import type { SchemaUtils } from "../schema-utils/index.js"; export type RecordSchema< RawKey extends string | number, diff --git a/src/core/schemas/builders/schema-utils/JsonError.ts b/src/core/schemas/builders/schema-utils/JsonError.ts index 14adcb70..daee3dc7 100644 --- a/src/core/schemas/builders/schema-utils/JsonError.ts +++ b/src/core/schemas/builders/schema-utils/JsonError.ts @@ -1,4 +1,4 @@ -import { ValidationError } from "../../Schema.js"; +import type { ValidationError } from "../../Schema.js"; import { stringifyValidationError } from "./stringifyValidationErrors.js"; export class JsonError extends Error { diff --git a/src/core/schemas/builders/schema-utils/ParseError.ts b/src/core/schemas/builders/schema-utils/ParseError.ts index 052a1d31..9facf061 100644 --- a/src/core/schemas/builders/schema-utils/ParseError.ts +++ b/src/core/schemas/builders/schema-utils/ParseError.ts @@ -1,4 +1,4 @@ -import { ValidationError } from "../../Schema.js"; +import type { ValidationError } from "../../Schema.js"; import { stringifyValidationError } from "./stringifyValidationErrors.js"; export class ParseError extends Error { diff --git a/src/core/schemas/builders/schema-utils/getSchemaUtils.ts b/src/core/schemas/builders/schema-utils/getSchemaUtils.ts index 0087b66b..3ceaf4e0 100644 --- a/src/core/schemas/builders/schema-utils/getSchemaUtils.ts +++ b/src/core/schemas/builders/schema-utils/getSchemaUtils.ts @@ -1,4 +1,4 @@ -import { BaseSchema, Schema, SchemaOptions, SchemaType } from "../../Schema.js"; +import { type BaseSchema, type Schema, type SchemaOptions, SchemaType } from "../../Schema.js"; import { JsonError } from "./JsonError.js"; import { ParseError } from "./ParseError.js"; diff --git a/src/core/schemas/builders/schema-utils/index.ts b/src/core/schemas/builders/schema-utils/index.ts index 43ea0082..efb3b0c4 100644 --- a/src/core/schemas/builders/schema-utils/index.ts +++ b/src/core/schemas/builders/schema-utils/index.ts @@ -1,4 +1,4 @@ -export { getSchemaUtils, optional, transform } from "./getSchemaUtils.js"; export type { SchemaUtils } from "./getSchemaUtils.js"; +export { getSchemaUtils, optional, transform } from "./getSchemaUtils.js"; export { JsonError } from "./JsonError.js"; export { ParseError } from "./ParseError.js"; diff --git a/src/core/schemas/builders/schema-utils/stringifyValidationErrors.ts b/src/core/schemas/builders/schema-utils/stringifyValidationErrors.ts index 4252fb22..d36a4900 100644 --- a/src/core/schemas/builders/schema-utils/stringifyValidationErrors.ts +++ b/src/core/schemas/builders/schema-utils/stringifyValidationErrors.ts @@ -1,4 +1,4 @@ -import { ValidationError } from "../../Schema.js"; +import type { ValidationError } from "../../Schema.js"; export function stringifyValidationError(error: ValidationError): string { if (error.path.length === 0) { diff --git a/src/core/schemas/builders/set/set.ts b/src/core/schemas/builders/set/set.ts index 8cce5526..2013cdb4 100644 --- a/src/core/schemas/builders/set/set.ts +++ b/src/core/schemas/builders/set/set.ts @@ -1,4 +1,4 @@ -import { BaseSchema, Schema, SchemaType } from "../../Schema.js"; +import { type BaseSchema, type Schema, SchemaType } from "../../Schema.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { list } from "../list/index.js"; diff --git a/src/core/schemas/builders/undiscriminated-union/types.ts b/src/core/schemas/builders/undiscriminated-union/types.ts index ec6ad439..0d5096fa 100644 --- a/src/core/schemas/builders/undiscriminated-union/types.ts +++ b/src/core/schemas/builders/undiscriminated-union/types.ts @@ -1,4 +1,4 @@ -import { Schema, inferParsed, inferRaw } from "../../Schema.js"; +import type { inferParsed, inferRaw, Schema } from "../../Schema.js"; export type UndiscriminatedUnionSchema = Schema< inferRawUnidiscriminatedUnionSchema, diff --git a/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.ts b/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.ts index f5fdb157..07591b4d 100644 --- a/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.ts +++ b/src/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.ts @@ -1,7 +1,14 @@ -import { BaseSchema, MaybeValid, Schema, SchemaOptions, SchemaType, ValidationError } from "../../Schema.js"; +import { + type BaseSchema, + type MaybeValid, + type Schema, + type SchemaOptions, + SchemaType, + type ValidationError, +} from "../../Schema.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { getSchemaUtils } from "../schema-utils/index.js"; -import { inferParsedUnidiscriminatedUnionSchema, inferRawUnidiscriminatedUnionSchema } from "./types.js"; +import type { inferParsedUnidiscriminatedUnionSchema, inferRawUnidiscriminatedUnionSchema } from "./types.js"; export function undiscriminatedUnion, ...Schema[]]>( schemas: Schemas, diff --git a/src/core/schemas/builders/union/index.ts b/src/core/schemas/builders/union/index.ts index 7b487752..6bc29ba9 100644 --- a/src/core/schemas/builders/union/index.ts +++ b/src/core/schemas/builders/union/index.ts @@ -1,5 +1,5 @@ -export { discriminant } from "./discriminant.js"; export type { Discriminant } from "./discriminant.js"; +export { discriminant } from "./discriminant.js"; export type { inferParsedDiscriminant, inferParsedUnion, diff --git a/src/core/schemas/builders/union/types.ts b/src/core/schemas/builders/union/types.ts index bf19fa27..7bfdd636 100644 --- a/src/core/schemas/builders/union/types.ts +++ b/src/core/schemas/builders/union/types.ts @@ -1,5 +1,5 @@ -import { ObjectSchema, inferParsedObject, inferRawObject } from "../object/index.js"; -import { Discriminant } from "./discriminant.js"; +import type { inferParsedObject, inferRawObject, ObjectSchema } from "../object/index.js"; +import type { Discriminant } from "./discriminant.js"; export type UnionSubtypes = { [K in DiscriminantValues]: ObjectSchema; diff --git a/src/core/schemas/builders/union/union.ts b/src/core/schemas/builders/union/union.ts index df33568d..509658e0 100644 --- a/src/core/schemas/builders/union/union.ts +++ b/src/core/schemas/builders/union/union.ts @@ -1,19 +1,19 @@ -import { BaseSchema, MaybeValid, SchemaType } from "../../Schema.js"; +import { type BaseSchema, type MaybeValid, SchemaType } from "../../Schema.js"; import { getErrorMessageForIncorrectType } from "../../utils/getErrorMessageForIncorrectType.js"; import { isPlainObject } from "../../utils/isPlainObject.js"; import { keys } from "../../utils/keys.js"; import { maybeSkipValidation } from "../../utils/maybeSkipValidation.js"; import { enum_ } from "../enum/index.js"; -import { ObjectSchema } from "../object/index.js"; -import { ObjectLikeSchema, getObjectLikeUtils } from "../object-like/index.js"; +import type { ObjectSchema } from "../object/index.js"; +import { getObjectLikeUtils, type ObjectLikeSchema } from "../object-like/index.js"; import { getSchemaUtils } from "../schema-utils/index.js"; -import { Discriminant } from "./discriminant.js"; -import { - UnionSubtypes, +import type { Discriminant } from "./discriminant.js"; +import type { inferParsedDiscriminant, inferParsedUnion, inferRawDiscriminant, inferRawUnion, + UnionSubtypes, } from "./types.js"; export function union, U extends UnionSubtypes>( diff --git a/src/core/schemas/utils/createIdentitySchemaCreator.ts b/src/core/schemas/utils/createIdentitySchemaCreator.ts index 729c51c0..9aa4ed50 100644 --- a/src/core/schemas/utils/createIdentitySchemaCreator.ts +++ b/src/core/schemas/utils/createIdentitySchemaCreator.ts @@ -1,5 +1,5 @@ -import { BaseSchema, MaybeValid, Schema, SchemaOptions, SchemaType } from "../Schema.js"; import { getSchemaUtils } from "../builders/schema-utils/index.js"; +import type { BaseSchema, MaybeValid, Schema, SchemaOptions, SchemaType } from "../Schema.js"; import { maybeSkipValidation } from "./maybeSkipValidation.js"; export function createIdentitySchemaCreator( diff --git a/src/core/schemas/utils/maybeSkipValidation.ts b/src/core/schemas/utils/maybeSkipValidation.ts index c7fd6d93..f32d4525 100644 --- a/src/core/schemas/utils/maybeSkipValidation.ts +++ b/src/core/schemas/utils/maybeSkipValidation.ts @@ -1,4 +1,4 @@ -import { BaseSchema, MaybeValid, SchemaOptions } from "../Schema.js"; +import type { BaseSchema, MaybeValid, SchemaOptions } from "../Schema.js"; export function maybeSkipValidation, Raw, Parsed>(schema: S): S { return { diff --git a/src/core/url/encodePathParam.ts b/src/core/url/encodePathParam.ts new file mode 100644 index 00000000..19b90124 --- /dev/null +++ b/src/core/url/encodePathParam.ts @@ -0,0 +1,18 @@ +export function encodePathParam(param: unknown): string { + if (param === null) { + return "null"; + } + const typeofParam = typeof param; + switch (typeofParam) { + case "undefined": + return "undefined"; + case "string": + case "number": + case "boolean": + break; + default: + param = String(param); + break; + } + return encodeURIComponent(param as string | number | boolean); +} diff --git a/src/core/url/index.ts b/src/core/url/index.ts index ed5aa0ff..f2e0fa2d 100644 --- a/src/core/url/index.ts +++ b/src/core/url/index.ts @@ -1,2 +1,3 @@ +export { encodePathParam } from "./encodePathParam.js"; export { join } from "./join.js"; export { toQueryString } from "./qs.js"; diff --git a/src/core/url/join.ts b/src/core/url/join.ts index 200426be..b872a90a 100644 --- a/src/core/url/join.ts +++ b/src/core/url/join.ts @@ -17,7 +17,7 @@ export function join(base: string, ...segments: string[]): string { } const lastSegment = segments[segments.length - 1]; - const shouldPreserveTrailingSlash = lastSegment && lastSegment.endsWith("/"); + const shouldPreserveTrailingSlash = lastSegment?.endsWith("/"); for (const segment of segments) { const cleanSegment = trimSlashes(segment); @@ -44,7 +44,7 @@ function joinPath(base: string, ...segments: string[]): string { let result = base; const lastSegment = segments[segments.length - 1]; - const shouldPreserveTrailingSlash = lastSegment && lastSegment.endsWith("/"); + const shouldPreserveTrailingSlash = lastSegment?.endsWith("/"); for (const segment of segments) { const cleanSegment = trimSlashes(segment); @@ -64,7 +64,7 @@ function joinPathSegments(left: string, right: string): string { if (left.endsWith("/")) { return left + right; } - return left + "/" + right; + return `${left}/${right}`; } function trimSlashes(str: string): string { diff --git a/src/core/websocket/exports.ts b/src/core/websocket/exports.ts new file mode 100644 index 00000000..91271654 --- /dev/null +++ b/src/core/websocket/exports.ts @@ -0,0 +1,9 @@ +import type * as events from "./events.js"; +import type * as ws from "./ws.js"; + +export type ReconnectingWebSocket = typeof ws.ReconnectingWebSocket; +export declare namespace ReconnectingWebSocket { + export type Event = events.Event; + export type CloseEvent = events.CloseEvent; + export type ErrorEvent = events.ErrorEvent; +} diff --git a/src/core/websocket/ws.ts b/src/core/websocket/ws.ts index b068af14..cba4f692 100644 --- a/src/core/websocket/ws.ts +++ b/src/core/websocket/ws.ts @@ -28,7 +28,7 @@ export declare namespace ReconnectingWebSocket { url: string; protocols?: string | string[]; options?: ReconnectingWebSocket.Options; - headers?: Record; + headers?: Record; queryParameters?: Record; } @@ -104,31 +104,15 @@ export class ReconnectingWebSocket { this._connect(); } - static get CONNECTING() { - return 0; - } - static get OPEN() { - return 1; - } - static get CLOSING() { - return 2; - } - static get CLOSED() { - return 3; - } + public static readonly CONNECTING = 0; + public static readonly OPEN = 1; + public static readonly CLOSING = 2; + public static readonly CLOSED = 3; - get CONNECTING() { - return ReconnectingWebSocket.CONNECTING; - } - get OPEN() { - return ReconnectingWebSocket.OPEN; - } - get CLOSING() { - return ReconnectingWebSocket.CLOSING; - } - get CLOSED() { - return ReconnectingWebSocket.CLOSED; - } + public readonly CONNECTING: typeof ReconnectingWebSocket.CONNECTING = ReconnectingWebSocket.CONNECTING; + public readonly OPEN: typeof ReconnectingWebSocket.OPEN = ReconnectingWebSocket.OPEN; + public readonly CLOSING: typeof ReconnectingWebSocket.CLOSING = ReconnectingWebSocket.CLOSING; + public readonly CLOSED: typeof ReconnectingWebSocket.CLOSED = ReconnectingWebSocket.CLOSED; get binaryType() { return this._ws ? this._ws.binaryType : this._binaryType; @@ -227,7 +211,7 @@ export class ReconnectingWebSocket { * Closes the WebSocket connection or connection attempt, if any. If the connection is already * CLOSED, this method does nothing */ - public close(code = 1000, reason?: string) { + public close(code = 1000, reason?: string): void { this._closeCalled = true; this._shouldReconnect = false; this._clearTimeouts(); @@ -246,7 +230,7 @@ export class ReconnectingWebSocket { * Closes the WebSocket connection or connection attempt and connects again. * Resets retry counter; */ - public reconnect(code?: number, reason?: string) { + public reconnect(code?: number, reason?: string): void { this._shouldReconnect = true; this._closeCalled = false; this._retryCount = -1; @@ -261,7 +245,7 @@ export class ReconnectingWebSocket { /** * Enqueue specified data to be transmitted to the server over the WebSocket connection */ - public send(data: ReconnectingWebSocket.Message) { + public send(data: ReconnectingWebSocket.Message): void { if (this._ws && this._ws.readyState === this.OPEN) { this._debug("send", data); this._ws.send(data); @@ -330,7 +314,7 @@ export class ReconnectingWebSocket { } = this._options; let delay = 0; if (this._retryCount > 0) { - delay = minReconnectionDelay * Math.pow(reconnectionDelayGrowFactor, this._retryCount - 1); + delay = minReconnectionDelay * reconnectionDelayGrowFactor ** (this._retryCount - 1); if (delay > maxReconnectionDelay) { delay = maxReconnectionDelay; } @@ -425,7 +409,7 @@ export class ReconnectingWebSocket { try { this._ws.close(code, reason); this._handleClose(new Events.CloseEvent(code, reason, this)); - } catch (error) { + } catch (_error) { // ignore } } diff --git a/src/environments.ts b/src/environments.ts index ab1a38ff..761bfe61 100644 --- a/src/environments.ts +++ b/src/environments.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export interface CortiEnvironmentUrls { base: string; diff --git a/src/errors/CortiError.ts b/src/errors/CortiError.ts index f8a40423..b66156e7 100644 --- a/src/errors/CortiError.ts +++ b/src/errors/CortiError.ts @@ -1,8 +1,6 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as core from "../core/index.js"; +import type * as core from "../core/index.js"; import { toJson } from "../core/json.js"; export class CortiError extends Error { @@ -38,7 +36,7 @@ function buildMessage({ statusCode: number | undefined; body: unknown | undefined; }): string { - let lines: string[] = []; + const lines: string[] = []; if (message != null) { lines.push(message); } diff --git a/src/errors/CortiTimeoutError.ts b/src/errors/CortiTimeoutError.ts index 81808d54..42be5438 100644 --- a/src/errors/CortiTimeoutError.ts +++ b/src/errors/CortiTimeoutError.ts @@ -1,6 +1,4 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. export class CortiTimeoutError extends Error { constructor(message: string) { diff --git a/src/serialization/resources/agents/client/list.ts b/src/serialization/resources/agents/client/list.ts index 63f5bbf1..9866ad37 100644 --- a/src/serialization/resources/agents/client/list.ts +++ b/src/serialization/resources/agents/client/list.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../index.js"; -import * as Corti from "../../../../api/index.js"; +import type * as Corti from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AgentsAgentResponse } from "../../../types/AgentsAgentResponse.js"; export const Response: core.serialization.Schema = diff --git a/src/serialization/resources/agents/client/requests/AgentsCreateAgent.ts b/src/serialization/resources/agents/client/requests/AgentsCreateAgent.ts index 624c9e7e..a4ccc798 100644 --- a/src/serialization/resources/agents/client/requests/AgentsCreateAgent.ts +++ b/src/serialization/resources/agents/client/requests/AgentsCreateAgent.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.js"; export const AgentsCreateAgent: core.serialization.Schema< diff --git a/src/serialization/resources/agents/client/requests/AgentsMessageSendParams.ts b/src/serialization/resources/agents/client/requests/AgentsMessageSendParams.ts index 45d60745..24247fb7 100644 --- a/src/serialization/resources/agents/client/requests/AgentsMessageSendParams.ts +++ b/src/serialization/resources/agents/client/requests/AgentsMessageSendParams.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { AgentsMessage } from "../../../../types/AgentsMessage.js"; import { AgentsMessageSendConfiguration } from "../../../../types/AgentsMessageSendConfiguration.js"; diff --git a/src/serialization/resources/agents/index.ts b/src/serialization/resources/agents/index.ts index f095e147..d9adb1af 100644 --- a/src/serialization/resources/agents/index.ts +++ b/src/serialization/resources/agents/index.ts @@ -1,2 +1,2 @@ -export * from "./types/index.js"; export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.ts b/src/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.ts index 7c095759..9be0a021 100644 --- a/src/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.ts +++ b/src/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../index.js"; -import * as Corti from "../../../../api/index.js"; +import type * as Corti from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.js"; import { AgentsExpertReference } from "../../../types/AgentsExpertReference.js"; diff --git a/src/serialization/resources/agents/types/AgentsMessageSendResponse.ts b/src/serialization/resources/agents/types/AgentsMessageSendResponse.ts index 13ec08fa..9e7b74db 100644 --- a/src/serialization/resources/agents/types/AgentsMessageSendResponse.ts +++ b/src/serialization/resources/agents/types/AgentsMessageSendResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../index.js"; -import * as Corti from "../../../../api/index.js"; +import type * as Corti from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AgentsMessage } from "../../../types/AgentsMessage.js"; import { AgentsTask } from "../../../types/AgentsTask.js"; diff --git a/src/serialization/resources/auth/client/requests/AuthGetTokenRequest.ts b/src/serialization/resources/auth/client/requests/AuthGetTokenRequest.ts index d49311a8..44831be3 100644 --- a/src/serialization/resources/auth/client/requests/AuthGetTokenRequest.ts +++ b/src/serialization/resources/auth/client/requests/AuthGetTokenRequest.ts @@ -1,22 +1,33 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; +import { AuthGetTokenRequestGrantType } from "../../types/AuthGetTokenRequestGrantType.js"; export const AuthGetTokenRequest: core.serialization.Schema< serializers.AuthGetTokenRequest.Raw, Corti.AuthGetTokenRequest > = core.serialization.object({ + grantType: core.serialization.property("grant_type", AuthGetTokenRequestGrantType.optional()), clientId: core.serialization.property("client_id", core.serialization.string()), - clientSecret: core.serialization.property("client_secret", core.serialization.string()), + clientSecret: core.serialization.property("client_secret", core.serialization.string().optional()), + scope: core.serialization.stringLiteral("openid").optional(), + code: core.serialization.string().optional(), + redirectUri: core.serialization.property("redirect_uri", core.serialization.string().optional()), + codeVerifier: core.serialization.property("code_verifier", core.serialization.string().optional()), + refreshToken: core.serialization.property("refresh_token", core.serialization.string().optional()), }); export declare namespace AuthGetTokenRequest { export interface Raw { + grant_type?: AuthGetTokenRequestGrantType.Raw | null; client_id: string; - client_secret: string; + client_secret?: string | null; + scope?: "openid" | null; + code?: string | null; + redirect_uri?: string | null; + code_verifier?: string | null; + refresh_token?: string | null; } } diff --git a/src/serialization/resources/auth/index.ts b/src/serialization/resources/auth/index.ts index f095e147..d9adb1af 100644 --- a/src/serialization/resources/auth/index.ts +++ b/src/serialization/resources/auth/index.ts @@ -1,2 +1,2 @@ -export * from "./types/index.js"; export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/serialization/resources/auth/types/AuthGetTokenRequestGrantType.ts b/src/serialization/resources/auth/types/AuthGetTokenRequestGrantType.ts new file mode 100644 index 00000000..724d7730 --- /dev/null +++ b/src/serialization/resources/auth/types/AuthGetTokenRequestGrantType.ts @@ -0,0 +1,14 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Corti from "../../../../api/index.js"; +import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; + +export const AuthGetTokenRequestGrantType: core.serialization.Schema< + serializers.AuthGetTokenRequestGrantType.Raw, + Corti.AuthGetTokenRequestGrantType +> = core.serialization.enum_(["client_credentials", "authorization_code", "refresh_token"]); + +export declare namespace AuthGetTokenRequestGrantType { + export type Raw = "client_credentials" | "authorization_code" | "refresh_token"; +} diff --git a/src/serialization/resources/auth/types/GetTokenResponse.ts b/src/serialization/resources/auth/types/GetTokenResponse.ts index f09aa775..de799772 100644 --- a/src/serialization/resources/auth/types/GetTokenResponse.ts +++ b/src/serialization/resources/auth/types/GetTokenResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../index.js"; -import * as Corti from "../../../../api/index.js"; +import type * as Corti from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const GetTokenResponse: core.serialization.ObjectSchema< serializers.GetTokenResponse.Raw, diff --git a/src/serialization/resources/auth/types/index.ts b/src/serialization/resources/auth/types/index.ts index cecadafd..c24859f5 100644 --- a/src/serialization/resources/auth/types/index.ts +++ b/src/serialization/resources/auth/types/index.ts @@ -1 +1,2 @@ +export * from "./AuthGetTokenRequestGrantType.js"; export * from "./GetTokenResponse.js"; diff --git a/src/serialization/resources/documents/client/requests/DocumentsUpdateRequest.ts b/src/serialization/resources/documents/client/requests/DocumentsUpdateRequest.ts index b5ab6788..bf1bf144 100644 --- a/src/serialization/resources/documents/client/requests/DocumentsUpdateRequest.ts +++ b/src/serialization/resources/documents/client/requests/DocumentsUpdateRequest.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { DocumentsSectionInput } from "../../../../types/DocumentsSectionInput.js"; export const DocumentsUpdateRequest: core.serialization.Schema< diff --git a/src/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.ts b/src/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.ts index 66a16fee..ca29f0ab 100644 --- a/src/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.ts +++ b/src/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { FactsBatchUpdateInput } from "../../../../types/FactsBatchUpdateInput.js"; export const FactsBatchUpdateRequest: core.serialization.Schema< diff --git a/src/serialization/resources/facts/client/requests/FactsCreateRequest.ts b/src/serialization/resources/facts/client/requests/FactsCreateRequest.ts index f8590277..3ff375df 100644 --- a/src/serialization/resources/facts/client/requests/FactsCreateRequest.ts +++ b/src/serialization/resources/facts/client/requests/FactsCreateRequest.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { FactsCreateInput } from "../../../../types/FactsCreateInput.js"; export const FactsCreateRequest: core.serialization.Schema< diff --git a/src/serialization/resources/facts/client/requests/FactsExtractRequest.ts b/src/serialization/resources/facts/client/requests/FactsExtractRequest.ts index 09699141..ceb6246c 100644 --- a/src/serialization/resources/facts/client/requests/FactsExtractRequest.ts +++ b/src/serialization/resources/facts/client/requests/FactsExtractRequest.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { CommonTextContext } from "../../../../types/CommonTextContext.js"; export const FactsExtractRequest: core.serialization.Schema< diff --git a/src/serialization/resources/facts/client/requests/FactsUpdateRequest.ts b/src/serialization/resources/facts/client/requests/FactsUpdateRequest.ts index 2ebf8f60..5feb287f 100644 --- a/src/serialization/resources/facts/client/requests/FactsUpdateRequest.ts +++ b/src/serialization/resources/facts/client/requests/FactsUpdateRequest.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { CommonSourceEnum } from "../../../../types/CommonSourceEnum.js"; export const FactsUpdateRequest: core.serialization.Schema< diff --git a/src/serialization/resources/facts/client/requests/index.ts b/src/serialization/resources/facts/client/requests/index.ts index 0022b155..ee9e5d91 100644 --- a/src/serialization/resources/facts/client/requests/index.ts +++ b/src/serialization/resources/facts/client/requests/index.ts @@ -1,4 +1,4 @@ -export { FactsCreateRequest } from "./FactsCreateRequest.js"; export { FactsBatchUpdateRequest } from "./FactsBatchUpdateRequest.js"; -export { FactsUpdateRequest } from "./FactsUpdateRequest.js"; +export { FactsCreateRequest } from "./FactsCreateRequest.js"; export { FactsExtractRequest } from "./FactsExtractRequest.js"; +export { FactsUpdateRequest } from "./FactsUpdateRequest.js"; diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index edb85dac..bb65341b 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -1,19 +1,19 @@ -export * as stream from "./stream/index.js"; -export * from "./stream/client/socket/index.js"; -export * as transcribe from "./transcribe/index.js"; -export * from "./transcribe/client/socket/index.js"; -export * as interactions from "./interactions/index.js"; -export * from "./interactions/types/index.js"; -export * as auth from "./auth/index.js"; -export * from "./auth/types/index.js"; +export * from "./agents/client/requests/index.js"; export * as agents from "./agents/index.js"; export * from "./agents/types/index.js"; +export * from "./auth/client/requests/index.js"; +export * as auth from "./auth/index.js"; +export * from "./auth/types/index.js"; +export * from "./documents/client/requests/index.js"; +export * as documents from "./documents/index.js"; +export * from "./facts/client/requests/index.js"; +export * as facts from "./facts/index.js"; export * from "./interactions/client/requests/index.js"; -export * as transcripts from "./transcripts/index.js"; +export * as interactions from "./interactions/index.js"; +export * from "./interactions/types/index.js"; +export * from "./stream/client/socket/index.js"; +export * as stream from "./stream/index.js"; +export * from "./transcribe/client/socket/index.js"; +export * as transcribe from "./transcribe/index.js"; export * from "./transcripts/client/requests/index.js"; -export * as facts from "./facts/index.js"; -export * from "./facts/client/requests/index.js"; -export * as documents from "./documents/index.js"; -export * from "./documents/client/requests/index.js"; -export * from "./auth/client/requests/index.js"; -export * from "./agents/client/requests/index.js"; +export * as transcripts from "./transcripts/index.js"; diff --git a/src/serialization/resources/interactions/client/requests/InteractionsCreateRequest.ts b/src/serialization/resources/interactions/client/requests/InteractionsCreateRequest.ts index d5ad0960..def31f5f 100644 --- a/src/serialization/resources/interactions/client/requests/InteractionsCreateRequest.ts +++ b/src/serialization/resources/interactions/client/requests/InteractionsCreateRequest.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; -import { Uuid } from "../../../../types/Uuid.js"; +import type * as serializers from "../../../../index.js"; import { InteractionsEncounterCreateRequest } from "../../../../types/InteractionsEncounterCreateRequest.js"; import { InteractionsPatient } from "../../../../types/InteractionsPatient.js"; +import { Uuid } from "../../../../types/Uuid.js"; export const InteractionsCreateRequest: core.serialization.Schema< serializers.InteractionsCreateRequest.Raw, diff --git a/src/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.ts b/src/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.ts index 17990d27..19d78173 100644 --- a/src/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.ts +++ b/src/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; -import { Uuid } from "../../../../types/Uuid.js"; +import type * as serializers from "../../../../index.js"; import { InteractionsEncounterUpdateRequest } from "../../../../types/InteractionsEncounterUpdateRequest.js"; import { InteractionsPatient } from "../../../../types/InteractionsPatient.js"; +import { Uuid } from "../../../../types/Uuid.js"; export const InteractionsUpdateRequest: core.serialization.Schema< serializers.InteractionsUpdateRequest.Raw, diff --git a/src/serialization/resources/interactions/index.ts b/src/serialization/resources/interactions/index.ts index f095e147..d9adb1af 100644 --- a/src/serialization/resources/interactions/index.ts +++ b/src/serialization/resources/interactions/index.ts @@ -1,2 +1,2 @@ -export * from "./types/index.js"; export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/serialization/resources/interactions/types/InteractionsListRequestSort.ts b/src/serialization/resources/interactions/types/InteractionsListRequestSort.ts index 7fed8b7b..c4ca7aff 100644 --- a/src/serialization/resources/interactions/types/InteractionsListRequestSort.ts +++ b/src/serialization/resources/interactions/types/InteractionsListRequestSort.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../index.js"; -import * as Corti from "../../../../api/index.js"; +import type * as Corti from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const InteractionsListRequestSort: core.serialization.Schema< serializers.InteractionsListRequestSort.Raw, diff --git a/src/serialization/resources/stream/client/socket/StreamSocketResponse.ts b/src/serialization/resources/stream/client/socket/StreamSocketResponse.ts index e5a028df..e4481189 100644 --- a/src/serialization/resources/stream/client/socket/StreamSocketResponse.ts +++ b/src/serialization/resources/stream/client/socket/StreamSocketResponse.ts @@ -1,16 +1,14 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; import { StreamConfigStatusMessage } from "../../../../types/StreamConfigStatusMessage.js"; -import { StreamTranscriptMessage } from "../../../../types/StreamTranscriptMessage.js"; -import { StreamFactsMessage } from "../../../../types/StreamFactsMessage.js"; import { StreamEndedMessage } from "../../../../types/StreamEndedMessage.js"; -import { StreamUsageMessage } from "../../../../types/StreamUsageMessage.js"; import { StreamErrorMessage } from "../../../../types/StreamErrorMessage.js"; +import { StreamFactsMessage } from "../../../../types/StreamFactsMessage.js"; +import { StreamTranscriptMessage } from "../../../../types/StreamTranscriptMessage.js"; +import { StreamUsageMessage } from "../../../../types/StreamUsageMessage.js"; export const StreamSocketResponse: core.serialization.Schema< serializers.StreamSocketResponse.Raw, diff --git a/src/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.ts b/src/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.ts index 632fa1dd..68dfe6e8 100644 --- a/src/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.ts +++ b/src/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.ts @@ -1,16 +1,14 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; +import type * as serializers from "../../../../index.js"; +import { TranscribeCommandMessage } from "../../../../types/TranscribeCommandMessage.js"; import { TranscribeConfigStatusMessage } from "../../../../types/TranscribeConfigStatusMessage.js"; -import { TranscribeUsageMessage } from "../../../../types/TranscribeUsageMessage.js"; import { TranscribeEndedMessage } from "../../../../types/TranscribeEndedMessage.js"; import { TranscribeErrorMessage } from "../../../../types/TranscribeErrorMessage.js"; import { TranscribeTranscriptMessage } from "../../../../types/TranscribeTranscriptMessage.js"; -import { TranscribeCommandMessage } from "../../../../types/TranscribeCommandMessage.js"; +import { TranscribeUsageMessage } from "../../../../types/TranscribeUsageMessage.js"; export const TranscribeSocketResponse: core.serialization.Schema< serializers.TranscribeSocketResponse.Raw, diff --git a/src/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.ts b/src/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.ts index 06372a22..2c78933f 100644 --- a/src/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.ts +++ b/src/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../../../../index.js"; -import * as Corti from "../../../../../api/index.js"; +import type * as Corti from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; -import { Uuid } from "../../../../types/Uuid.js"; +import type * as serializers from "../../../../index.js"; import { TranscriptsParticipant } from "../../../../types/TranscriptsParticipant.js"; +import { Uuid } from "../../../../types/Uuid.js"; export const TranscriptsCreateRequest: core.serialization.Schema< serializers.TranscriptsCreateRequest.Raw, diff --git a/src/serialization/types/AgentsAgent.ts b/src/serialization/types/AgentsAgent.ts index c80ecc79..9289d227 100644 --- a/src/serialization/types/AgentsAgent.ts +++ b/src/serialization/types/AgentsAgent.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsAgentExpertsItem } from "./AgentsAgentExpertsItem.js"; export const AgentsAgent: core.serialization.ObjectSchema = diff --git a/src/serialization/types/AgentsAgentCapabilities.ts b/src/serialization/types/AgentsAgentCapabilities.ts index e8f5f589..93e62f14 100644 --- a/src/serialization/types/AgentsAgentCapabilities.ts +++ b/src/serialization/types/AgentsAgentCapabilities.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsAgentExtension } from "./AgentsAgentExtension.js"; export const AgentsAgentCapabilities: core.serialization.ObjectSchema< @@ -22,6 +20,6 @@ export declare namespace AgentsAgentCapabilities { streaming?: boolean | null; pushNotifications?: boolean | null; stateTransitionHistory?: boolean | null; - extensions?: (AgentsAgentExtension.Raw[] | null) | null; + extensions?: (AgentsAgentExtension.Raw[] | null | undefined) | null; } } diff --git a/src/serialization/types/AgentsAgentCard.ts b/src/serialization/types/AgentsAgentCard.ts index d2b31171..b07ecc9c 100644 --- a/src/serialization/types/AgentsAgentCard.ts +++ b/src/serialization/types/AgentsAgentCard.ts @@ -1,15 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; +import { AgentsAgentCapabilities } from "./AgentsAgentCapabilities.js"; +import { AgentsAgentCardSignature } from "./AgentsAgentCardSignature.js"; import { AgentsAgentInterface } from "./AgentsAgentInterface.js"; import { AgentsAgentProvider } from "./AgentsAgentProvider.js"; -import { AgentsAgentCapabilities } from "./AgentsAgentCapabilities.js"; import { AgentsAgentSkill } from "./AgentsAgentSkill.js"; -import { AgentsAgentCardSignature } from "./AgentsAgentCardSignature.js"; export const AgentsAgentCard: core.serialization.ObjectSchema = core.serialization.object({ @@ -43,19 +41,19 @@ export declare namespace AgentsAgentCard { name: string; description: string; url: string; - preferredTransport?: (string | null) | null; - additionalInterfaces?: (AgentsAgentInterface.Raw[] | null) | null; - iconUrl?: (string | null) | null; - documentationUrl?: (string | null) | null; + preferredTransport?: (string | null | undefined) | null; + additionalInterfaces?: (AgentsAgentInterface.Raw[] | null | undefined) | null; + iconUrl?: (string | null | undefined) | null; + documentationUrl?: (string | null | undefined) | null; provider?: AgentsAgentProvider.Raw | null; version: string; capabilities: AgentsAgentCapabilities.Raw; - securitySchemes?: (Record | null) | null; - security?: (Record | null) | null; + securitySchemes?: (Record | null | undefined) | null; + security?: (Record | null | undefined) | null; defaultInputModes: string[]; defaultOutputModes: string[]; skills: AgentsAgentSkill.Raw[]; - supportsAuthenticatedExtendedCard?: (boolean | null) | null; - signatures?: (AgentsAgentCardSignature.Raw[] | null) | null; + supportsAuthenticatedExtendedCard?: (boolean | null | undefined) | null; + signatures?: (AgentsAgentCardSignature.Raw[] | null | undefined) | null; } } diff --git a/src/serialization/types/AgentsAgentCardSignature.ts b/src/serialization/types/AgentsAgentCardSignature.ts index 3b495cd9..b9bd1fd0 100644 --- a/src/serialization/types/AgentsAgentCardSignature.ts +++ b/src/serialization/types/AgentsAgentCardSignature.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsAgentCardSignature: core.serialization.ObjectSchema< serializers.AgentsAgentCardSignature.Raw, diff --git a/src/serialization/types/AgentsAgentExpertsItem.ts b/src/serialization/types/AgentsAgentExpertsItem.ts index 379ccb1a..1978ab11 100644 --- a/src/serialization/types/AgentsAgentExpertsItem.ts +++ b/src/serialization/types/AgentsAgentExpertsItem.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsExpert } from "./AgentsExpert.js"; import { AgentsExpertReference } from "./AgentsExpertReference.js"; diff --git a/src/serialization/types/AgentsAgentExtension.ts b/src/serialization/types/AgentsAgentExtension.ts index dc09a4c9..f3dfb95c 100644 --- a/src/serialization/types/AgentsAgentExtension.ts +++ b/src/serialization/types/AgentsAgentExtension.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsAgentExtension: core.serialization.ObjectSchema< serializers.AgentsAgentExtension.Raw, diff --git a/src/serialization/types/AgentsAgentInterface.ts b/src/serialization/types/AgentsAgentInterface.ts index 7117567f..f8c7187e 100644 --- a/src/serialization/types/AgentsAgentInterface.ts +++ b/src/serialization/types/AgentsAgentInterface.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsAgentInterface: core.serialization.ObjectSchema< serializers.AgentsAgentInterface.Raw, diff --git a/src/serialization/types/AgentsAgentProvider.ts b/src/serialization/types/AgentsAgentProvider.ts index 204efdb5..8915c8ef 100644 --- a/src/serialization/types/AgentsAgentProvider.ts +++ b/src/serialization/types/AgentsAgentProvider.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsAgentProvider: core.serialization.ObjectSchema< serializers.AgentsAgentProvider.Raw, diff --git a/src/serialization/types/AgentsAgentReference.ts b/src/serialization/types/AgentsAgentReference.ts index 46cb2c58..5e9acd07 100644 --- a/src/serialization/types/AgentsAgentReference.ts +++ b/src/serialization/types/AgentsAgentReference.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsAgentReference: core.serialization.ObjectSchema< serializers.AgentsAgentReference.Raw, diff --git a/src/serialization/types/AgentsAgentResponse.ts b/src/serialization/types/AgentsAgentResponse.ts index 28918a51..bd90f605 100644 --- a/src/serialization/types/AgentsAgentResponse.ts +++ b/src/serialization/types/AgentsAgentResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsAgent } from "./AgentsAgent.js"; import { AgentsAgentReference } from "./AgentsAgentReference.js"; diff --git a/src/serialization/types/AgentsAgentSkill.ts b/src/serialization/types/AgentsAgentSkill.ts index ef2f1a2b..789396d3 100644 --- a/src/serialization/types/AgentsAgentSkill.ts +++ b/src/serialization/types/AgentsAgentSkill.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsMessage } from "./AgentsMessage.js"; export const AgentsAgentSkill: core.serialization.ObjectSchema< @@ -27,9 +25,9 @@ export declare namespace AgentsAgentSkill { name: string; description: string; tags: string[]; - examples?: (AgentsMessage.Raw[] | null) | null; - inputModes?: (string[] | null) | null; - outputModes?: (string[] | null) | null; - security?: (Record | null) | null; + examples?: (AgentsMessage.Raw[] | null | undefined) | null; + inputModes?: (string[] | null | undefined) | null; + outputModes?: (string[] | null | undefined) | null; + security?: (Record | null | undefined) | null; } } diff --git a/src/serialization/types/AgentsArtifact.ts b/src/serialization/types/AgentsArtifact.ts index 2118e27e..63d29168 100644 --- a/src/serialization/types/AgentsArtifact.ts +++ b/src/serialization/types/AgentsArtifact.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsPart } from "./AgentsPart.js"; export const AgentsArtifact: core.serialization.ObjectSchema = diff --git a/src/serialization/types/AgentsContext.ts b/src/serialization/types/AgentsContext.ts index d5e31f08..aea565d3 100644 --- a/src/serialization/types/AgentsContext.ts +++ b/src/serialization/types/AgentsContext.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsContextItemsItem } from "./AgentsContextItemsItem.js"; export const AgentsContext: core.serialization.ObjectSchema = diff --git a/src/serialization/types/AgentsContextItemsItem.ts b/src/serialization/types/AgentsContextItemsItem.ts index ff87461d..51296ae8 100644 --- a/src/serialization/types/AgentsContextItemsItem.ts +++ b/src/serialization/types/AgentsContextItemsItem.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsTask } from "./AgentsTask.js"; +import type * as serializers from "../index.js"; import { AgentsMessage } from "./AgentsMessage.js"; +import { AgentsTask } from "./AgentsTask.js"; export const AgentsContextItemsItem: core.serialization.Schema< serializers.AgentsContextItemsItem.Raw, diff --git a/src/serialization/types/AgentsCreateExpert.ts b/src/serialization/types/AgentsCreateExpert.ts index 98aec015..b6986599 100644 --- a/src/serialization/types/AgentsCreateExpert.ts +++ b/src/serialization/types/AgentsCreateExpert.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsCreateMcpServer } from "./AgentsCreateMcpServer.js"; export const AgentsCreateExpert: core.serialization.ObjectSchema< diff --git a/src/serialization/types/AgentsCreateMcpServer.ts b/src/serialization/types/AgentsCreateMcpServer.ts index 2d1eb68b..35d50f60 100644 --- a/src/serialization/types/AgentsCreateMcpServer.ts +++ b/src/serialization/types/AgentsCreateMcpServer.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsCreateMcpServerTransportType } from "./AgentsCreateMcpServerTransportType.js"; +import type * as serializers from "../index.js"; import { AgentsCreateMcpServerAuthorizationType } from "./AgentsCreateMcpServerAuthorizationType.js"; +import { AgentsCreateMcpServerTransportType } from "./AgentsCreateMcpServerTransportType.js"; export const AgentsCreateMcpServer: core.serialization.ObjectSchema< serializers.AgentsCreateMcpServer.Raw, diff --git a/src/serialization/types/AgentsCreateMcpServerAuthorizationType.ts b/src/serialization/types/AgentsCreateMcpServerAuthorizationType.ts index 18e224c1..9447f5d6 100644 --- a/src/serialization/types/AgentsCreateMcpServerAuthorizationType.ts +++ b/src/serialization/types/AgentsCreateMcpServerAuthorizationType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsCreateMcpServerAuthorizationType: core.serialization.Schema< serializers.AgentsCreateMcpServerAuthorizationType.Raw, diff --git a/src/serialization/types/AgentsCreateMcpServerTransportType.ts b/src/serialization/types/AgentsCreateMcpServerTransportType.ts index 5ace911f..8e91252c 100644 --- a/src/serialization/types/AgentsCreateMcpServerTransportType.ts +++ b/src/serialization/types/AgentsCreateMcpServerTransportType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsCreateMcpServerTransportType: core.serialization.Schema< serializers.AgentsCreateMcpServerTransportType.Raw, diff --git a/src/serialization/types/AgentsDataPart.ts b/src/serialization/types/AgentsDataPart.ts index 05d1049e..b282f058 100644 --- a/src/serialization/types/AgentsDataPart.ts +++ b/src/serialization/types/AgentsDataPart.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsDataPart: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/AgentsExpert.ts b/src/serialization/types/AgentsExpert.ts index 298c4b4c..b29f5545 100644 --- a/src/serialization/types/AgentsExpert.ts +++ b/src/serialization/types/AgentsExpert.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsMcpServer } from "./AgentsMcpServer.js"; export const AgentsExpert: core.serialization.ObjectSchema = diff --git a/src/serialization/types/AgentsExpertReference.ts b/src/serialization/types/AgentsExpertReference.ts index 2381570a..b985cdda 100644 --- a/src/serialization/types/AgentsExpertReference.ts +++ b/src/serialization/types/AgentsExpertReference.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsExpertReference: core.serialization.ObjectSchema< serializers.AgentsExpertReference.Raw, diff --git a/src/serialization/types/AgentsFilePart.ts b/src/serialization/types/AgentsFilePart.ts index 0f059301..7d31c969 100644 --- a/src/serialization/types/AgentsFilePart.ts +++ b/src/serialization/types/AgentsFilePart.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsFilePartFile } from "./AgentsFilePartFile.js"; export const AgentsFilePart: core.serialization.ObjectSchema = diff --git a/src/serialization/types/AgentsFilePartFile.ts b/src/serialization/types/AgentsFilePartFile.ts index 8572ae9b..827a1b4c 100644 --- a/src/serialization/types/AgentsFilePartFile.ts +++ b/src/serialization/types/AgentsFilePartFile.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsFileWithUri } from "./AgentsFileWithUri.js"; +import type * as serializers from "../index.js"; import { AgentsFileWithBytes } from "./AgentsFileWithBytes.js"; +import { AgentsFileWithUri } from "./AgentsFileWithUri.js"; export const AgentsFilePartFile: core.serialization.Schema< serializers.AgentsFilePartFile.Raw, diff --git a/src/serialization/types/AgentsFileWithBytes.ts b/src/serialization/types/AgentsFileWithBytes.ts index a501a7b7..6bf82871 100644 --- a/src/serialization/types/AgentsFileWithBytes.ts +++ b/src/serialization/types/AgentsFileWithBytes.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsFileWithBytes: core.serialization.ObjectSchema< serializers.AgentsFileWithBytes.Raw, diff --git a/src/serialization/types/AgentsFileWithUri.ts b/src/serialization/types/AgentsFileWithUri.ts index 0e753c49..f6025b3e 100644 --- a/src/serialization/types/AgentsFileWithUri.ts +++ b/src/serialization/types/AgentsFileWithUri.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsFileWithUri: core.serialization.ObjectSchema< serializers.AgentsFileWithUri.Raw, diff --git a/src/serialization/types/AgentsMcpServer.ts b/src/serialization/types/AgentsMcpServer.ts index 87c641a8..4f795a2d 100644 --- a/src/serialization/types/AgentsMcpServer.ts +++ b/src/serialization/types/AgentsMcpServer.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsMcpServerTransportType } from "./AgentsMcpServerTransportType.js"; +import type * as serializers from "../index.js"; import { AgentsMcpServerAuthorizationType } from "./AgentsMcpServerAuthorizationType.js"; +import { AgentsMcpServerTransportType } from "./AgentsMcpServerTransportType.js"; export const AgentsMcpServer: core.serialization.ObjectSchema = core.serialization.object({ @@ -25,6 +23,6 @@ export declare namespace AgentsMcpServer { transportType: AgentsMcpServerTransportType.Raw; authorizationType: AgentsMcpServerAuthorizationType.Raw; url: string; - redirectUrl?: (string | null) | null; + redirectUrl?: (string | null | undefined) | null; } } diff --git a/src/serialization/types/AgentsMcpServerAuthorizationType.ts b/src/serialization/types/AgentsMcpServerAuthorizationType.ts index baf5a2c8..fa652679 100644 --- a/src/serialization/types/AgentsMcpServerAuthorizationType.ts +++ b/src/serialization/types/AgentsMcpServerAuthorizationType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsMcpServerAuthorizationType: core.serialization.Schema< serializers.AgentsMcpServerAuthorizationType.Raw, diff --git a/src/serialization/types/AgentsMcpServerTransportType.ts b/src/serialization/types/AgentsMcpServerTransportType.ts index 679cd63c..1b050cca 100644 --- a/src/serialization/types/AgentsMcpServerTransportType.ts +++ b/src/serialization/types/AgentsMcpServerTransportType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsMcpServerTransportType: core.serialization.Schema< serializers.AgentsMcpServerTransportType.Raw, diff --git a/src/serialization/types/AgentsMessage.ts b/src/serialization/types/AgentsMessage.ts index 0d94a8db..5c15ee57 100644 --- a/src/serialization/types/AgentsMessage.ts +++ b/src/serialization/types/AgentsMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsMessageRole } from "./AgentsMessageRole.js"; import { AgentsPart } from "./AgentsPart.js"; diff --git a/src/serialization/types/AgentsMessageRole.ts b/src/serialization/types/AgentsMessageRole.ts index 006c605d..4c3115f9 100644 --- a/src/serialization/types/AgentsMessageRole.ts +++ b/src/serialization/types/AgentsMessageRole.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsMessageRole: core.serialization.Schema = core.serialization.enum_(["user", "agent"]); diff --git a/src/serialization/types/AgentsMessageSendConfiguration.ts b/src/serialization/types/AgentsMessageSendConfiguration.ts index b0f2bb16..e3bd0a73 100644 --- a/src/serialization/types/AgentsMessageSendConfiguration.ts +++ b/src/serialization/types/AgentsMessageSendConfiguration.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsPushNotificationConfig } from "./AgentsPushNotificationConfig.js"; export const AgentsMessageSendConfiguration: core.serialization.ObjectSchema< diff --git a/src/serialization/types/AgentsPart.ts b/src/serialization/types/AgentsPart.ts index 5a9f895d..cba88209 100644 --- a/src/serialization/types/AgentsPart.ts +++ b/src/serialization/types/AgentsPart.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsTextPart } from "./AgentsTextPart.js"; -import { AgentsFilePart } from "./AgentsFilePart.js"; +import type * as serializers from "../index.js"; import { AgentsDataPart } from "./AgentsDataPart.js"; +import { AgentsFilePart } from "./AgentsFilePart.js"; +import { AgentsTextPart } from "./AgentsTextPart.js"; export const AgentsPart: core.serialization.Schema = core.serialization.undiscriminatedUnion([AgentsTextPart, AgentsFilePart, AgentsDataPart]); diff --git a/src/serialization/types/AgentsPushNotificationAuthenticationInfo.ts b/src/serialization/types/AgentsPushNotificationAuthenticationInfo.ts index a055bdbb..eb0b5742 100644 --- a/src/serialization/types/AgentsPushNotificationAuthenticationInfo.ts +++ b/src/serialization/types/AgentsPushNotificationAuthenticationInfo.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsPushNotificationAuthenticationInfo: core.serialization.ObjectSchema< serializers.AgentsPushNotificationAuthenticationInfo.Raw, diff --git a/src/serialization/types/AgentsPushNotificationConfig.ts b/src/serialization/types/AgentsPushNotificationConfig.ts index 61f8f7cf..5c809ea9 100644 --- a/src/serialization/types/AgentsPushNotificationConfig.ts +++ b/src/serialization/types/AgentsPushNotificationConfig.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsPushNotificationAuthenticationInfo } from "./AgentsPushNotificationAuthenticationInfo.js"; export const AgentsPushNotificationConfig: core.serialization.ObjectSchema< diff --git a/src/serialization/types/AgentsRegistryExpert.ts b/src/serialization/types/AgentsRegistryExpert.ts index 07587081..f88de34d 100644 --- a/src/serialization/types/AgentsRegistryExpert.ts +++ b/src/serialization/types/AgentsRegistryExpert.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsRegistryExpert: core.serialization.ObjectSchema< serializers.AgentsRegistryExpert.Raw, diff --git a/src/serialization/types/AgentsRegistryExpertsResponse.ts b/src/serialization/types/AgentsRegistryExpertsResponse.ts index a16e89bc..a2654f1f 100644 --- a/src/serialization/types/AgentsRegistryExpertsResponse.ts +++ b/src/serialization/types/AgentsRegistryExpertsResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { AgentsRegistryExpert } from "./AgentsRegistryExpert.js"; export const AgentsRegistryExpertsResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/AgentsTask.ts b/src/serialization/types/AgentsTask.ts index b89efa0a..103b0e85 100644 --- a/src/serialization/types/AgentsTask.ts +++ b/src/serialization/types/AgentsTask.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsTaskStatus } from "./AgentsTaskStatus.js"; -import { AgentsMessage } from "./AgentsMessage.js"; +import type * as serializers from "../index.js"; import { AgentsArtifact } from "./AgentsArtifact.js"; +import { AgentsMessage } from "./AgentsMessage.js"; +import { AgentsTaskStatus } from "./AgentsTaskStatus.js"; export const AgentsTask: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/AgentsTaskStatus.ts b/src/serialization/types/AgentsTaskStatus.ts index cdcaa6c8..4511659b 100644 --- a/src/serialization/types/AgentsTaskStatus.ts +++ b/src/serialization/types/AgentsTaskStatus.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AgentsTaskStatusState } from "./AgentsTaskStatusState.js"; +import type * as serializers from "../index.js"; import { AgentsMessage } from "./AgentsMessage.js"; +import { AgentsTaskStatusState } from "./AgentsTaskStatusState.js"; export const AgentsTaskStatus: core.serialization.ObjectSchema< serializers.AgentsTaskStatus.Raw, diff --git a/src/serialization/types/AgentsTaskStatusState.ts b/src/serialization/types/AgentsTaskStatusState.ts index f0224368..24e1e1d4 100644 --- a/src/serialization/types/AgentsTaskStatusState.ts +++ b/src/serialization/types/AgentsTaskStatusState.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsTaskStatusState: core.serialization.Schema< serializers.AgentsTaskStatusState.Raw, diff --git a/src/serialization/types/AgentsTextPart.ts b/src/serialization/types/AgentsTextPart.ts index 1335d71c..2ab93ef2 100644 --- a/src/serialization/types/AgentsTextPart.ts +++ b/src/serialization/types/AgentsTextPart.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const AgentsTextPart: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/CommonSortingDirectionEnum.ts b/src/serialization/types/CommonSortingDirectionEnum.ts index 8c7ed9d1..fc9e2d34 100644 --- a/src/serialization/types/CommonSortingDirectionEnum.ts +++ b/src/serialization/types/CommonSortingDirectionEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const CommonSortingDirectionEnum: core.serialization.Schema< serializers.CommonSortingDirectionEnum.Raw, diff --git a/src/serialization/types/CommonSourceEnum.ts b/src/serialization/types/CommonSourceEnum.ts index 5243d837..ca6ae27c 100644 --- a/src/serialization/types/CommonSourceEnum.ts +++ b/src/serialization/types/CommonSourceEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const CommonSourceEnum: core.serialization.Schema = core.serialization.enum_(["core", "system", "user"]); diff --git a/src/serialization/types/CommonTextContext.ts b/src/serialization/types/CommonTextContext.ts index 6e731bcc..be1a97d7 100644 --- a/src/serialization/types/CommonTextContext.ts +++ b/src/serialization/types/CommonTextContext.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const CommonTextContext: core.serialization.ObjectSchema< serializers.CommonTextContext.Raw, diff --git a/src/serialization/types/CommonTranscriptRequest.ts b/src/serialization/types/CommonTranscriptRequest.ts index dceb4b68..8efc4be5 100644 --- a/src/serialization/types/CommonTranscriptRequest.ts +++ b/src/serialization/types/CommonTranscriptRequest.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const CommonTranscriptRequest: core.serialization.ObjectSchema< serializers.CommonTranscriptRequest.Raw, diff --git a/src/serialization/types/CommonTranscriptResponse.ts b/src/serialization/types/CommonTranscriptResponse.ts index c156474b..b47d9b4d 100644 --- a/src/serialization/types/CommonTranscriptResponse.ts +++ b/src/serialization/types/CommonTranscriptResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const CommonTranscriptResponse: core.serialization.ObjectSchema< serializers.CommonTranscriptResponse.Raw, diff --git a/src/serialization/types/CommonUsageInfo.ts b/src/serialization/types/CommonUsageInfo.ts index 0df329b4..d69190b6 100644 --- a/src/serialization/types/CommonUsageInfo.ts +++ b/src/serialization/types/CommonUsageInfo.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const CommonUsageInfo: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/DocumentsContext.ts b/src/serialization/types/DocumentsContext.ts index 10f2e75f..1085537b 100644 --- a/src/serialization/types/DocumentsContext.ts +++ b/src/serialization/types/DocumentsContext.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { DocumentsContextWithFacts } from "./DocumentsContextWithFacts.js"; -import { DocumentsContextWithTranscript } from "./DocumentsContextWithTranscript.js"; import { DocumentsContextWithString } from "./DocumentsContextWithString.js"; +import { DocumentsContextWithTranscript } from "./DocumentsContextWithTranscript.js"; export const DocumentsContext: core.serialization.Schema = core.serialization.undiscriminatedUnion([ diff --git a/src/serialization/types/DocumentsContextWithFacts.ts b/src/serialization/types/DocumentsContextWithFacts.ts index 5f7bf473..fe220ef9 100644 --- a/src/serialization/types/DocumentsContextWithFacts.ts +++ b/src/serialization/types/DocumentsContextWithFacts.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { FactsContext } from "./FactsContext.js"; export const DocumentsContextWithFacts: core.serialization.ObjectSchema< diff --git a/src/serialization/types/DocumentsContextWithString.ts b/src/serialization/types/DocumentsContextWithString.ts index 1ab1d4ea..7fa1820b 100644 --- a/src/serialization/types/DocumentsContextWithString.ts +++ b/src/serialization/types/DocumentsContextWithString.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const DocumentsContextWithString: core.serialization.ObjectSchema< serializers.DocumentsContextWithString.Raw, diff --git a/src/serialization/types/DocumentsContextWithTranscript.ts b/src/serialization/types/DocumentsContextWithTranscript.ts index eb23238b..f9e2706c 100644 --- a/src/serialization/types/DocumentsContextWithTranscript.ts +++ b/src/serialization/types/DocumentsContextWithTranscript.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { CommonTranscriptRequest } from "./CommonTranscriptRequest.js"; export const DocumentsContextWithTranscript: core.serialization.ObjectSchema< diff --git a/src/serialization/types/DocumentsCreateRequest.ts b/src/serialization/types/DocumentsCreateRequest.ts index 06aeec2d..62b9db55 100644 --- a/src/serialization/types/DocumentsCreateRequest.ts +++ b/src/serialization/types/DocumentsCreateRequest.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { DocumentsCreateRequestWithTemplateKey } from "./DocumentsCreateRequestWithTemplateKey.js"; +import type * as serializers from "../index.js"; import { DocumentsCreateRequestWithTemplate } from "./DocumentsCreateRequestWithTemplate.js"; +import { DocumentsCreateRequestWithTemplateKey } from "./DocumentsCreateRequestWithTemplateKey.js"; export const DocumentsCreateRequest: core.serialization.Schema< serializers.DocumentsCreateRequest.Raw, diff --git a/src/serialization/types/DocumentsCreateRequestWithTemplate.ts b/src/serialization/types/DocumentsCreateRequestWithTemplate.ts index eb5aace2..5d8f333c 100644 --- a/src/serialization/types/DocumentsCreateRequestWithTemplate.ts +++ b/src/serialization/types/DocumentsCreateRequestWithTemplate.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { DocumentsContext } from "./DocumentsContext.js"; import { DocumentsTemplate } from "./DocumentsTemplate.js"; diff --git a/src/serialization/types/DocumentsCreateRequestWithTemplateKey.ts b/src/serialization/types/DocumentsCreateRequestWithTemplateKey.ts index 6be0e3f3..2edb8110 100644 --- a/src/serialization/types/DocumentsCreateRequestWithTemplateKey.ts +++ b/src/serialization/types/DocumentsCreateRequestWithTemplateKey.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { DocumentsContext } from "./DocumentsContext.js"; export const DocumentsCreateRequestWithTemplateKey: core.serialization.ObjectSchema< diff --git a/src/serialization/types/DocumentsGetResponse.ts b/src/serialization/types/DocumentsGetResponse.ts index 695d568e..2eebf07a 100644 --- a/src/serialization/types/DocumentsGetResponse.ts +++ b/src/serialization/types/DocumentsGetResponse.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; -import { DocumentsSection } from "./DocumentsSection.js"; +import type * as serializers from "../index.js"; import { CommonUsageInfo } from "./CommonUsageInfo.js"; +import { DocumentsSection } from "./DocumentsSection.js"; +import { Uuid } from "./Uuid.js"; export const DocumentsGetResponse: core.serialization.ObjectSchema< serializers.DocumentsGetResponse.Raw, diff --git a/src/serialization/types/DocumentsListResponse.ts b/src/serialization/types/DocumentsListResponse.ts index f8c53aec..d4966afc 100644 --- a/src/serialization/types/DocumentsListResponse.ts +++ b/src/serialization/types/DocumentsListResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { DocumentsGetResponse } from "./DocumentsGetResponse.js"; export const DocumentsListResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/DocumentsSection.ts b/src/serialization/types/DocumentsSection.ts index 08235ad0..b2803f8b 100644 --- a/src/serialization/types/DocumentsSection.ts +++ b/src/serialization/types/DocumentsSection.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const DocumentsSection: core.serialization.ObjectSchema< serializers.DocumentsSection.Raw, diff --git a/src/serialization/types/DocumentsSectionInput.ts b/src/serialization/types/DocumentsSectionInput.ts index 688508d5..0e454878 100644 --- a/src/serialization/types/DocumentsSectionInput.ts +++ b/src/serialization/types/DocumentsSectionInput.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const DocumentsSectionInput: core.serialization.ObjectSchema< serializers.DocumentsSectionInput.Raw, diff --git a/src/serialization/types/DocumentsTemplate.ts b/src/serialization/types/DocumentsTemplate.ts index ec097bcc..fdc98d9d 100644 --- a/src/serialization/types/DocumentsTemplate.ts +++ b/src/serialization/types/DocumentsTemplate.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; -import * as core from "../../core/index.js"; +import type * as Corti from "../../api/index.js"; +import type * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { DocumentsTemplateWithSectionKeys } from "./DocumentsTemplateWithSectionKeys.js"; export const DocumentsTemplate: core.serialization.ObjectSchema< diff --git a/src/serialization/types/DocumentsTemplateWithSectionKeys.ts b/src/serialization/types/DocumentsTemplateWithSectionKeys.ts index baf98322..4b5d13d5 100644 --- a/src/serialization/types/DocumentsTemplateWithSectionKeys.ts +++ b/src/serialization/types/DocumentsTemplateWithSectionKeys.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const DocumentsTemplateWithSectionKeys: core.serialization.ObjectSchema< serializers.DocumentsTemplateWithSectionKeys.Raw, diff --git a/src/serialization/types/ErrorResponse.ts b/src/serialization/types/ErrorResponse.ts index 56585ee9..2954afbc 100644 --- a/src/serialization/types/ErrorResponse.ts +++ b/src/serialization/types/ErrorResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const ErrorResponse: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/FactsBatchUpdateInput.ts b/src/serialization/types/FactsBatchUpdateInput.ts index 19586567..a124b405 100644 --- a/src/serialization/types/FactsBatchUpdateInput.ts +++ b/src/serialization/types/FactsBatchUpdateInput.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { Uuid } from "./Uuid.js"; export const FactsBatchUpdateInput: core.serialization.ObjectSchema< diff --git a/src/serialization/types/FactsBatchUpdateItem.ts b/src/serialization/types/FactsBatchUpdateItem.ts index 036635b8..99da11d9 100644 --- a/src/serialization/types/FactsBatchUpdateItem.ts +++ b/src/serialization/types/FactsBatchUpdateItem.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { CommonSourceEnum } from "./CommonSourceEnum.js"; +import { Uuid } from "./Uuid.js"; export const FactsBatchUpdateItem: core.serialization.ObjectSchema< serializers.FactsBatchUpdateItem.Raw, diff --git a/src/serialization/types/FactsBatchUpdateResponse.ts b/src/serialization/types/FactsBatchUpdateResponse.ts index be2370d6..4d0f4cab 100644 --- a/src/serialization/types/FactsBatchUpdateResponse.ts +++ b/src/serialization/types/FactsBatchUpdateResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { FactsBatchUpdateItem } from "./FactsBatchUpdateItem.js"; export const FactsBatchUpdateResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/FactsContext.ts b/src/serialization/types/FactsContext.ts index a00966ba..f22cd996 100644 --- a/src/serialization/types/FactsContext.ts +++ b/src/serialization/types/FactsContext.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { CommonSourceEnum } from "./CommonSourceEnum.js"; export const FactsContext: core.serialization.ObjectSchema = diff --git a/src/serialization/types/FactsCreateInput.ts b/src/serialization/types/FactsCreateInput.ts index 1a4a1713..7e31b51b 100644 --- a/src/serialization/types/FactsCreateInput.ts +++ b/src/serialization/types/FactsCreateInput.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { CommonSourceEnum } from "./CommonSourceEnum.js"; export const FactsCreateInput: core.serialization.ObjectSchema< diff --git a/src/serialization/types/FactsCreateItem.ts b/src/serialization/types/FactsCreateItem.ts index 619cb583..f8bb8bbe 100644 --- a/src/serialization/types/FactsCreateItem.ts +++ b/src/serialization/types/FactsCreateItem.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { CommonSourceEnum } from "./CommonSourceEnum.js"; +import { Uuid } from "./Uuid.js"; export const FactsCreateItem: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/FactsCreateResponse.ts b/src/serialization/types/FactsCreateResponse.ts index a38c26bf..311f4375 100644 --- a/src/serialization/types/FactsCreateResponse.ts +++ b/src/serialization/types/FactsCreateResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { FactsCreateItem } from "./FactsCreateItem.js"; export const FactsCreateResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/FactsEvidence.ts b/src/serialization/types/FactsEvidence.ts index bfba9204..c1592bfe 100644 --- a/src/serialization/types/FactsEvidence.ts +++ b/src/serialization/types/FactsEvidence.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const FactsEvidence: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/FactsExtractResponse.ts b/src/serialization/types/FactsExtractResponse.ts index b0eb6891..f66008f2 100644 --- a/src/serialization/types/FactsExtractResponse.ts +++ b/src/serialization/types/FactsExtractResponse.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { FactsExtractResponseFactsItem } from "./FactsExtractResponseFactsItem.js"; +import type * as serializers from "../index.js"; import { CommonUsageInfo } from "./CommonUsageInfo.js"; +import { FactsExtractResponseFactsItem } from "./FactsExtractResponseFactsItem.js"; export const FactsExtractResponse: core.serialization.ObjectSchema< serializers.FactsExtractResponse.Raw, diff --git a/src/serialization/types/FactsExtractResponseFactsItem.ts b/src/serialization/types/FactsExtractResponseFactsItem.ts index d4c1077c..5dc87d54 100644 --- a/src/serialization/types/FactsExtractResponseFactsItem.ts +++ b/src/serialization/types/FactsExtractResponseFactsItem.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const FactsExtractResponseFactsItem: core.serialization.ObjectSchema< serializers.FactsExtractResponseFactsItem.Raw, diff --git a/src/serialization/types/FactsFactGroupsItem.ts b/src/serialization/types/FactsFactGroupsItem.ts index 363c8675..9fe17a8d 100644 --- a/src/serialization/types/FactsFactGroupsItem.ts +++ b/src/serialization/types/FactsFactGroupsItem.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { FactsFactGroupsItemTranslationsItem } from "./FactsFactGroupsItemTranslationsItem.js"; +import { Uuid } from "./Uuid.js"; export const FactsFactGroupsItem: core.serialization.ObjectSchema< serializers.FactsFactGroupsItem.Raw, diff --git a/src/serialization/types/FactsFactGroupsItemTranslationsItem.ts b/src/serialization/types/FactsFactGroupsItemTranslationsItem.ts index 0e0b08b2..de72bef8 100644 --- a/src/serialization/types/FactsFactGroupsItemTranslationsItem.ts +++ b/src/serialization/types/FactsFactGroupsItemTranslationsItem.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const FactsFactGroupsItemTranslationsItem: core.serialization.ObjectSchema< serializers.FactsFactGroupsItemTranslationsItem.Raw, diff --git a/src/serialization/types/FactsFactGroupsListResponse.ts b/src/serialization/types/FactsFactGroupsListResponse.ts index b5804e8a..74947df8 100644 --- a/src/serialization/types/FactsFactGroupsListResponse.ts +++ b/src/serialization/types/FactsFactGroupsListResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { FactsFactGroupsItem } from "./FactsFactGroupsItem.js"; export const FactsFactGroupsListResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/FactsListItem.ts b/src/serialization/types/FactsListItem.ts index c2d29fe6..38ecdabf 100644 --- a/src/serialization/types/FactsListItem.ts +++ b/src/serialization/types/FactsListItem.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { CommonSourceEnum } from "./CommonSourceEnum.js"; import { FactsEvidence } from "./FactsEvidence.js"; +import { Uuid } from "./Uuid.js"; export const FactsListItem: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/FactsListResponse.ts b/src/serialization/types/FactsListResponse.ts index 91c19ee1..7c84d431 100644 --- a/src/serialization/types/FactsListResponse.ts +++ b/src/serialization/types/FactsListResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { FactsListItem } from "./FactsListItem.js"; export const FactsListResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/FactsUpdateResponse.ts b/src/serialization/types/FactsUpdateResponse.ts index 1e28ab83..a0292a51 100644 --- a/src/serialization/types/FactsUpdateResponse.ts +++ b/src/serialization/types/FactsUpdateResponse.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { CommonSourceEnum } from "./CommonSourceEnum.js"; +import { Uuid } from "./Uuid.js"; export const FactsUpdateResponse: core.serialization.ObjectSchema< serializers.FactsUpdateResponse.Raw, diff --git a/src/serialization/types/InteractionsCreateResponse.ts b/src/serialization/types/InteractionsCreateResponse.ts index cdf5c222..08ab99a4 100644 --- a/src/serialization/types/InteractionsCreateResponse.ts +++ b/src/serialization/types/InteractionsCreateResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { Uuid } from "./Uuid.js"; export const InteractionsCreateResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/InteractionsEncounterCreateRequest.ts b/src/serialization/types/InteractionsEncounterCreateRequest.ts index 776e612f..a744e275 100644 --- a/src/serialization/types/InteractionsEncounterCreateRequest.ts +++ b/src/serialization/types/InteractionsEncounterCreateRequest.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; +import { InteractionsEncounterPeriod } from "./InteractionsEncounterPeriod.js"; import { InteractionsEncounterStatusEnum } from "./InteractionsEncounterStatusEnum.js"; import { InteractionsEncounterTypeEnum } from "./InteractionsEncounterTypeEnum.js"; -import { InteractionsEncounterPeriod } from "./InteractionsEncounterPeriod.js"; export const InteractionsEncounterCreateRequest: core.serialization.ObjectSchema< serializers.InteractionsEncounterCreateRequest.Raw, @@ -26,6 +24,6 @@ export declare namespace InteractionsEncounterCreateRequest { status: InteractionsEncounterStatusEnum.Raw; type: InteractionsEncounterTypeEnum.Raw; period?: InteractionsEncounterPeriod.Raw | null; - title?: (string | null) | null; + title?: (string | null | undefined) | null; } } diff --git a/src/serialization/types/InteractionsEncounterPeriod.ts b/src/serialization/types/InteractionsEncounterPeriod.ts index 494e4eb6..1942e1cd 100644 --- a/src/serialization/types/InteractionsEncounterPeriod.ts +++ b/src/serialization/types/InteractionsEncounterPeriod.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const InteractionsEncounterPeriod: core.serialization.ObjectSchema< serializers.InteractionsEncounterPeriod.Raw, @@ -17,6 +15,6 @@ export const InteractionsEncounterPeriod: core.serialization.ObjectSchema< export declare namespace InteractionsEncounterPeriod { export interface Raw { startedAt: string; - endedAt?: (string | null) | null; + endedAt?: (string | null | undefined) | null; } } diff --git a/src/serialization/types/InteractionsEncounterResponse.ts b/src/serialization/types/InteractionsEncounterResponse.ts index 9aba1e9c..682d9816 100644 --- a/src/serialization/types/InteractionsEncounterResponse.ts +++ b/src/serialization/types/InteractionsEncounterResponse.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; +import { InteractionsEncounterPeriod } from "./InteractionsEncounterPeriod.js"; import { InteractionsEncounterStatusEnum } from "./InteractionsEncounterStatusEnum.js"; import { InteractionsEncounterTypeEnum } from "./InteractionsEncounterTypeEnum.js"; -import { InteractionsEncounterPeriod } from "./InteractionsEncounterPeriod.js"; export const InteractionsEncounterResponse: core.serialization.ObjectSchema< serializers.InteractionsEncounterResponse.Raw, @@ -26,6 +24,6 @@ export declare namespace InteractionsEncounterResponse { status: InteractionsEncounterStatusEnum.Raw; type: InteractionsEncounterTypeEnum.Raw; period: InteractionsEncounterPeriod.Raw; - title?: (string | null) | null; + title?: (string | null | undefined) | null; } } diff --git a/src/serialization/types/InteractionsEncounterStatusEnum.ts b/src/serialization/types/InteractionsEncounterStatusEnum.ts index b2be6623..2ea507af 100644 --- a/src/serialization/types/InteractionsEncounterStatusEnum.ts +++ b/src/serialization/types/InteractionsEncounterStatusEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const InteractionsEncounterStatusEnum: core.serialization.Schema< serializers.InteractionsEncounterStatusEnum.Raw, diff --git a/src/serialization/types/InteractionsEncounterTypeEnum.ts b/src/serialization/types/InteractionsEncounterTypeEnum.ts index a537bf32..8abed470 100644 --- a/src/serialization/types/InteractionsEncounterTypeEnum.ts +++ b/src/serialization/types/InteractionsEncounterTypeEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const InteractionsEncounterTypeEnum: core.serialization.Schema< serializers.InteractionsEncounterTypeEnum.Raw, diff --git a/src/serialization/types/InteractionsEncounterUpdateRequest.ts b/src/serialization/types/InteractionsEncounterUpdateRequest.ts index 41758c7b..01102315 100644 --- a/src/serialization/types/InteractionsEncounterUpdateRequest.ts +++ b/src/serialization/types/InteractionsEncounterUpdateRequest.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; +import { InteractionsEncounterPeriod } from "./InteractionsEncounterPeriod.js"; import { InteractionsEncounterStatusEnum } from "./InteractionsEncounterStatusEnum.js"; import { InteractionsEncounterTypeEnum } from "./InteractionsEncounterTypeEnum.js"; -import { InteractionsEncounterPeriod } from "./InteractionsEncounterPeriod.js"; export const InteractionsEncounterUpdateRequest: core.serialization.ObjectSchema< serializers.InteractionsEncounterUpdateRequest.Raw, @@ -26,6 +24,6 @@ export declare namespace InteractionsEncounterUpdateRequest { status?: InteractionsEncounterStatusEnum.Raw | null; type?: InteractionsEncounterTypeEnum.Raw | null; period?: InteractionsEncounterPeriod.Raw | null; - title?: (string | null) | null; + title?: (string | null | undefined) | null; } } diff --git a/src/serialization/types/InteractionsGenderEnum.ts b/src/serialization/types/InteractionsGenderEnum.ts index e3b28064..e3cae371 100644 --- a/src/serialization/types/InteractionsGenderEnum.ts +++ b/src/serialization/types/InteractionsGenderEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const InteractionsGenderEnum: core.serialization.Schema< serializers.InteractionsGenderEnum.Raw, diff --git a/src/serialization/types/InteractionsGetResponse.ts b/src/serialization/types/InteractionsGetResponse.ts index ab6d5898..e7b0a2c0 100644 --- a/src/serialization/types/InteractionsGetResponse.ts +++ b/src/serialization/types/InteractionsGetResponse.ts @@ -1,13 +1,11 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { InteractionsEncounterResponse } from "./InteractionsEncounterResponse.js"; import { InteractionsPatient } from "./InteractionsPatient.js"; +import { Uuid } from "./Uuid.js"; export const InteractionsGetResponse: core.serialization.ObjectSchema< serializers.InteractionsGetResponse.Raw, @@ -30,7 +28,7 @@ export declare namespace InteractionsGetResponse { assignedUserId: Uuid.Raw; encounter: InteractionsEncounterResponse.Raw; patient: InteractionsPatient.Raw; - endedAt?: (string | null) | null; + endedAt?: (string | null | undefined) | null; createdAt: string; updatedAt: string; websocketUrl: string; diff --git a/src/serialization/types/InteractionsListResponse.ts b/src/serialization/types/InteractionsListResponse.ts index b9e2a35d..8d3b6950 100644 --- a/src/serialization/types/InteractionsListResponse.ts +++ b/src/serialization/types/InteractionsListResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { InteractionsGetResponse } from "./InteractionsGetResponse.js"; export const InteractionsListResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/InteractionsPatient.ts b/src/serialization/types/InteractionsPatient.ts index 0cb14248..7ab9980b 100644 --- a/src/serialization/types/InteractionsPatient.ts +++ b/src/serialization/types/InteractionsPatient.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { InteractionsGenderEnum } from "./InteractionsGenderEnum.js"; export const InteractionsPatient: core.serialization.ObjectSchema< @@ -21,9 +19,9 @@ export const InteractionsPatient: core.serialization.ObjectSchema< export declare namespace InteractionsPatient { export interface Raw { identifier: string; - name?: (string | null) | null; + name?: (string | null | undefined) | null; gender?: InteractionsGenderEnum.Raw | null; - birthDate?: (string | null) | null; - pronouns?: (string | null) | null; + birthDate?: (string | null | undefined) | null; + pronouns?: (string | null | undefined) | null; } } diff --git a/src/serialization/types/RecordingsCreateResponse.ts b/src/serialization/types/RecordingsCreateResponse.ts index 343bd795..0cf50b8c 100644 --- a/src/serialization/types/RecordingsCreateResponse.ts +++ b/src/serialization/types/RecordingsCreateResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { Uuid } from "./Uuid.js"; export const RecordingsCreateResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/RecordingsListResponse.ts b/src/serialization/types/RecordingsListResponse.ts index 3f546662..ab134cf6 100644 --- a/src/serialization/types/RecordingsListResponse.ts +++ b/src/serialization/types/RecordingsListResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { Uuid } from "./Uuid.js"; export const RecordingsListResponse: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamConfig.ts b/src/serialization/types/StreamConfig.ts index ccb98f40..a39b6664 100644 --- a/src/serialization/types/StreamConfig.ts +++ b/src/serialization/types/StreamConfig.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { StreamConfigTranscription } from "./StreamConfigTranscription.js"; +import type * as serializers from "../index.js"; import { StreamConfigMode } from "./StreamConfigMode.js"; +import { StreamConfigTranscription } from "./StreamConfigTranscription.js"; export const StreamConfig: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/StreamConfigMessage.ts b/src/serialization/types/StreamConfigMessage.ts index ed35d913..c814c47d 100644 --- a/src/serialization/types/StreamConfigMessage.ts +++ b/src/serialization/types/StreamConfigMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamConfig } from "./StreamConfig.js"; export const StreamConfigMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamConfigMode.ts b/src/serialization/types/StreamConfigMode.ts index bf724a17..ad81fb41 100644 --- a/src/serialization/types/StreamConfigMode.ts +++ b/src/serialization/types/StreamConfigMode.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamConfigModeType } from "./StreamConfigModeType.js"; import { StreamSupportedLanguage } from "./StreamSupportedLanguage.js"; diff --git a/src/serialization/types/StreamConfigModeType.ts b/src/serialization/types/StreamConfigModeType.ts index 775cb34f..d6ae7f76 100644 --- a/src/serialization/types/StreamConfigModeType.ts +++ b/src/serialization/types/StreamConfigModeType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamConfigModeType: core.serialization.Schema< serializers.StreamConfigModeType.Raw, diff --git a/src/serialization/types/StreamConfigParticipant.ts b/src/serialization/types/StreamConfigParticipant.ts index 4c7aaafd..eb384c47 100644 --- a/src/serialization/types/StreamConfigParticipant.ts +++ b/src/serialization/types/StreamConfigParticipant.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamConfigParticipantRole } from "./StreamConfigParticipantRole.js"; export const StreamConfigParticipant: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamConfigParticipantRole.ts b/src/serialization/types/StreamConfigParticipantRole.ts index 19948650..5ba09d2d 100644 --- a/src/serialization/types/StreamConfigParticipantRole.ts +++ b/src/serialization/types/StreamConfigParticipantRole.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamConfigParticipantRole: core.serialization.Schema< serializers.StreamConfigParticipantRole.Raw, diff --git a/src/serialization/types/StreamConfigStatusMessage.ts b/src/serialization/types/StreamConfigStatusMessage.ts index dcad2498..cf1b8e11 100644 --- a/src/serialization/types/StreamConfigStatusMessage.ts +++ b/src/serialization/types/StreamConfigStatusMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamConfigStatusMessageType } from "./StreamConfigStatusMessageType.js"; export const StreamConfigStatusMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamConfigStatusMessageType.ts b/src/serialization/types/StreamConfigStatusMessageType.ts index 014af96d..3c9b378b 100644 --- a/src/serialization/types/StreamConfigStatusMessageType.ts +++ b/src/serialization/types/StreamConfigStatusMessageType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamConfigStatusMessageType: core.serialization.Schema< serializers.StreamConfigStatusMessageType.Raw, diff --git a/src/serialization/types/StreamConfigTranscription.ts b/src/serialization/types/StreamConfigTranscription.ts index d4f7c36d..a07bf536 100644 --- a/src/serialization/types/StreamConfigTranscription.ts +++ b/src/serialization/types/StreamConfigTranscription.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { StreamSupportedLanguage } from "./StreamSupportedLanguage.js"; +import type * as serializers from "../index.js"; import { StreamConfigParticipant } from "./StreamConfigParticipant.js"; +import { StreamSupportedLanguage } from "./StreamSupportedLanguage.js"; export const StreamConfigTranscription: core.serialization.ObjectSchema< serializers.StreamConfigTranscription.Raw, diff --git a/src/serialization/types/StreamEndMessage.ts b/src/serialization/types/StreamEndMessage.ts index 981f8a61..297ff56e 100644 --- a/src/serialization/types/StreamEndMessage.ts +++ b/src/serialization/types/StreamEndMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamEndMessage: core.serialization.ObjectSchema< serializers.StreamEndMessage.Raw, diff --git a/src/serialization/types/StreamEndedMessage.ts b/src/serialization/types/StreamEndedMessage.ts index 2ff74444..5cb210f7 100644 --- a/src/serialization/types/StreamEndedMessage.ts +++ b/src/serialization/types/StreamEndedMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamEndedMessage: core.serialization.ObjectSchema< serializers.StreamEndedMessage.Raw, diff --git a/src/serialization/types/StreamErrorDetail.ts b/src/serialization/types/StreamErrorDetail.ts index eaaa0c1e..153dca11 100644 --- a/src/serialization/types/StreamErrorDetail.ts +++ b/src/serialization/types/StreamErrorDetail.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamErrorDetail: core.serialization.ObjectSchema< serializers.StreamErrorDetail.Raw, diff --git a/src/serialization/types/StreamErrorMessage.ts b/src/serialization/types/StreamErrorMessage.ts index e182559c..9bf6ffcb 100644 --- a/src/serialization/types/StreamErrorMessage.ts +++ b/src/serialization/types/StreamErrorMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamErrorDetail } from "./StreamErrorDetail.js"; export const StreamErrorMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamFact.ts b/src/serialization/types/StreamFact.ts index ab456de0..7f67465f 100644 --- a/src/serialization/types/StreamFact.ts +++ b/src/serialization/types/StreamFact.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamFact: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/StreamFactsMessage.ts b/src/serialization/types/StreamFactsMessage.ts index 8ca75483..8b36dbb2 100644 --- a/src/serialization/types/StreamFactsMessage.ts +++ b/src/serialization/types/StreamFactsMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamFact } from "./StreamFact.js"; export const StreamFactsMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamParticipant.ts b/src/serialization/types/StreamParticipant.ts index db5cdae1..d4fb6e90 100644 --- a/src/serialization/types/StreamParticipant.ts +++ b/src/serialization/types/StreamParticipant.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamParticipant: core.serialization.ObjectSchema< serializers.StreamParticipant.Raw, diff --git a/src/serialization/types/StreamSupportedLanguage.ts b/src/serialization/types/StreamSupportedLanguage.ts index 733e9421..1068fcb0 100644 --- a/src/serialization/types/StreamSupportedLanguage.ts +++ b/src/serialization/types/StreamSupportedLanguage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamSupportedLanguage: core.serialization.Schema< serializers.StreamSupportedLanguage.Raw, diff --git a/src/serialization/types/StreamTranscript.ts b/src/serialization/types/StreamTranscript.ts index ffb8829e..6c9e1e4e 100644 --- a/src/serialization/types/StreamTranscript.ts +++ b/src/serialization/types/StreamTranscript.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamParticipant } from "./StreamParticipant.js"; import { StreamTranscriptTime } from "./StreamTranscriptTime.js"; diff --git a/src/serialization/types/StreamTranscriptMessage.ts b/src/serialization/types/StreamTranscriptMessage.ts index 541cf6af..e08e749b 100644 --- a/src/serialization/types/StreamTranscriptMessage.ts +++ b/src/serialization/types/StreamTranscriptMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { StreamTranscript } from "./StreamTranscript.js"; export const StreamTranscriptMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/StreamTranscriptTime.ts b/src/serialization/types/StreamTranscriptTime.ts index a0674f2a..66153dc2 100644 --- a/src/serialization/types/StreamTranscriptTime.ts +++ b/src/serialization/types/StreamTranscriptTime.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamTranscriptTime: core.serialization.ObjectSchema< serializers.StreamTranscriptTime.Raw, diff --git a/src/serialization/types/StreamUsageMessage.ts b/src/serialization/types/StreamUsageMessage.ts index 3a184b4a..d48f27ef 100644 --- a/src/serialization/types/StreamUsageMessage.ts +++ b/src/serialization/types/StreamUsageMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const StreamUsageMessage: core.serialization.ObjectSchema< serializers.StreamUsageMessage.Raw, diff --git a/src/serialization/types/TemplatesItem.ts b/src/serialization/types/TemplatesItem.ts index 35e6350d..f6f331d2 100644 --- a/src/serialization/types/TemplatesItem.ts +++ b/src/serialization/types/TemplatesItem.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TemplatesSectionSorted } from "./TemplatesSectionSorted.js"; import { TemplatesTranslation } from "./TemplatesTranslation.js"; @@ -24,7 +22,7 @@ export const TemplatesItem: core.serialization.ObjectSchema | null) | null; + variables?: (Record | null | undefined) | null; rawTranscriptText: string; start: number; end: number; diff --git a/src/serialization/types/TranscribeCommandMessage.ts b/src/serialization/types/TranscribeCommandMessage.ts index 8b6665f1..2dbfeee9 100644 --- a/src/serialization/types/TranscribeCommandMessage.ts +++ b/src/serialization/types/TranscribeCommandMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscribeCommandData } from "./TranscribeCommandData.js"; export const TranscribeCommandMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/TranscribeCommandVariable.ts b/src/serialization/types/TranscribeCommandVariable.ts index c344d506..cd5a8cb3 100644 --- a/src/serialization/types/TranscribeCommandVariable.ts +++ b/src/serialization/types/TranscribeCommandVariable.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeCommandVariable: core.serialization.ObjectSchema< serializers.TranscribeCommandVariable.Raw, diff --git a/src/serialization/types/TranscribeConfig.ts b/src/serialization/types/TranscribeConfig.ts index f446aa86..fedd1b76 100644 --- a/src/serialization/types/TranscribeConfig.ts +++ b/src/serialization/types/TranscribeConfig.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { TranscribeSupportedLanguage } from "./TranscribeSupportedLanguage.js"; +import type * as serializers from "../index.js"; import { TranscribeCommand } from "./TranscribeCommand.js"; +import { TranscribeSupportedLanguage } from "./TranscribeSupportedLanguage.js"; export const TranscribeConfig: core.serialization.ObjectSchema< serializers.TranscribeConfig.Raw, diff --git a/src/serialization/types/TranscribeConfigMessage.ts b/src/serialization/types/TranscribeConfigMessage.ts index 9014768c..6b4dc8c5 100644 --- a/src/serialization/types/TranscribeConfigMessage.ts +++ b/src/serialization/types/TranscribeConfigMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscribeConfig } from "./TranscribeConfig.js"; export const TranscribeConfigMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/TranscribeConfigStatusMessage.ts b/src/serialization/types/TranscribeConfigStatusMessage.ts index ddadc2ef..d5afff35 100644 --- a/src/serialization/types/TranscribeConfigStatusMessage.ts +++ b/src/serialization/types/TranscribeConfigStatusMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscribeConfigStatusMessageType } from "./TranscribeConfigStatusMessageType.js"; export const TranscribeConfigStatusMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/TranscribeConfigStatusMessageType.ts b/src/serialization/types/TranscribeConfigStatusMessageType.ts index d486699e..a5a9fdbe 100644 --- a/src/serialization/types/TranscribeConfigStatusMessageType.ts +++ b/src/serialization/types/TranscribeConfigStatusMessageType.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeConfigStatusMessageType: core.serialization.Schema< serializers.TranscribeConfigStatusMessageType.Raw, diff --git a/src/serialization/types/TranscribeEndMessage.ts b/src/serialization/types/TranscribeEndMessage.ts index c4c40e2e..989d16d3 100644 --- a/src/serialization/types/TranscribeEndMessage.ts +++ b/src/serialization/types/TranscribeEndMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeEndMessage: core.serialization.ObjectSchema< serializers.TranscribeEndMessage.Raw, diff --git a/src/serialization/types/TranscribeEndedMessage.ts b/src/serialization/types/TranscribeEndedMessage.ts index b6677e96..d6ab9584 100644 --- a/src/serialization/types/TranscribeEndedMessage.ts +++ b/src/serialization/types/TranscribeEndedMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeEndedMessage: core.serialization.ObjectSchema< serializers.TranscribeEndedMessage.Raw, diff --git a/src/serialization/types/TranscribeErrorMessage.ts b/src/serialization/types/TranscribeErrorMessage.ts index d7506b25..c4d43710 100644 --- a/src/serialization/types/TranscribeErrorMessage.ts +++ b/src/serialization/types/TranscribeErrorMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscribeErrorMessageError } from "./TranscribeErrorMessageError.js"; export const TranscribeErrorMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/TranscribeErrorMessageError.ts b/src/serialization/types/TranscribeErrorMessageError.ts index b15ac32b..9c37d1e4 100644 --- a/src/serialization/types/TranscribeErrorMessageError.ts +++ b/src/serialization/types/TranscribeErrorMessageError.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeErrorMessageError: core.serialization.ObjectSchema< serializers.TranscribeErrorMessageError.Raw, diff --git a/src/serialization/types/TranscribeSupportedLanguage.ts b/src/serialization/types/TranscribeSupportedLanguage.ts index dc85dade..1ad617f9 100644 --- a/src/serialization/types/TranscribeSupportedLanguage.ts +++ b/src/serialization/types/TranscribeSupportedLanguage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeSupportedLanguage: core.serialization.Schema< serializers.TranscribeSupportedLanguage.Raw, diff --git a/src/serialization/types/TranscribeTranscriptData.ts b/src/serialization/types/TranscribeTranscriptData.ts index c2860ce3..c7c59b88 100644 --- a/src/serialization/types/TranscribeTranscriptData.ts +++ b/src/serialization/types/TranscribeTranscriptData.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeTranscriptData: core.serialization.ObjectSchema< serializers.TranscribeTranscriptData.Raw, diff --git a/src/serialization/types/TranscribeTranscriptMessage.ts b/src/serialization/types/TranscribeTranscriptMessage.ts index 21f7f5e1..2a2d5798 100644 --- a/src/serialization/types/TranscribeTranscriptMessage.ts +++ b/src/serialization/types/TranscribeTranscriptMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscribeTranscriptData } from "./TranscribeTranscriptData.js"; export const TranscribeTranscriptMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/types/TranscribeUsageMessage.ts b/src/serialization/types/TranscribeUsageMessage.ts index 660cd9b4..e5540369 100644 --- a/src/serialization/types/TranscribeUsageMessage.ts +++ b/src/serialization/types/TranscribeUsageMessage.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscribeUsageMessage: core.serialization.ObjectSchema< serializers.TranscribeUsageMessage.Raw, diff --git a/src/serialization/types/TranscriptsData.ts b/src/serialization/types/TranscriptsData.ts index d368d168..4a580b1b 100644 --- a/src/serialization/types/TranscriptsData.ts +++ b/src/serialization/types/TranscriptsData.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { TranscriptsMetadata } from "./TranscriptsMetadata.js"; +import type * as serializers from "../index.js"; import { CommonTranscriptResponse } from "./CommonTranscriptResponse.js"; +import { TranscriptsMetadata } from "./TranscriptsMetadata.js"; export const TranscriptsData: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/types/TranscriptsListItem.ts b/src/serialization/types/TranscriptsListItem.ts index 331861da..505f8956 100644 --- a/src/serialization/types/TranscriptsListItem.ts +++ b/src/serialization/types/TranscriptsListItem.ts @@ -1,12 +1,10 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; +import type * as serializers from "../index.js"; import { TranscriptsData } from "./TranscriptsData.js"; +import { Uuid } from "./Uuid.js"; export const TranscriptsListItem: core.serialization.ObjectSchema< serializers.TranscriptsListItem.Raw, diff --git a/src/serialization/types/TranscriptsListResponse.ts b/src/serialization/types/TranscriptsListResponse.ts index f54029bf..029453d4 100644 --- a/src/serialization/types/TranscriptsListResponse.ts +++ b/src/serialization/types/TranscriptsListResponse.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscriptsListItem } from "./TranscriptsListItem.js"; export const TranscriptsListResponse: core.serialization.ObjectSchema< @@ -16,6 +14,6 @@ export const TranscriptsListResponse: core.serialization.ObjectSchema< export declare namespace TranscriptsListResponse { export interface Raw { - transcripts?: (TranscriptsListItem.Raw[] | null) | null; + transcripts?: (TranscriptsListItem.Raw[] | null | undefined) | null; } } diff --git a/src/serialization/types/TranscriptsMetadata.ts b/src/serialization/types/TranscriptsMetadata.ts index 9b84afe5..4f188255 100644 --- a/src/serialization/types/TranscriptsMetadata.ts +++ b/src/serialization/types/TranscriptsMetadata.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscriptsParticipant } from "./TranscriptsParticipant.js"; export const TranscriptsMetadata: core.serialization.ObjectSchema< @@ -16,6 +14,6 @@ export const TranscriptsMetadata: core.serialization.ObjectSchema< export declare namespace TranscriptsMetadata { export interface Raw { - participantsRoles?: (TranscriptsParticipant.Raw[] | null) | null; + participantsRoles?: (TranscriptsParticipant.Raw[] | null | undefined) | null; } } diff --git a/src/serialization/types/TranscriptsParticipant.ts b/src/serialization/types/TranscriptsParticipant.ts index 92158ca3..0d75a19e 100644 --- a/src/serialization/types/TranscriptsParticipant.ts +++ b/src/serialization/types/TranscriptsParticipant.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; import { TranscriptsParticipantRoleEnum } from "./TranscriptsParticipantRoleEnum.js"; export const TranscriptsParticipant: core.serialization.ObjectSchema< diff --git a/src/serialization/types/TranscriptsParticipantRoleEnum.ts b/src/serialization/types/TranscriptsParticipantRoleEnum.ts index 412bb211..10e90f47 100644 --- a/src/serialization/types/TranscriptsParticipantRoleEnum.ts +++ b/src/serialization/types/TranscriptsParticipantRoleEnum.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const TranscriptsParticipantRoleEnum: core.serialization.Schema< serializers.TranscriptsParticipantRoleEnum.Raw, diff --git a/src/serialization/types/TranscriptsResponse.ts b/src/serialization/types/TranscriptsResponse.ts index 77f1c7cc..8232e9d1 100644 --- a/src/serialization/types/TranscriptsResponse.ts +++ b/src/serialization/types/TranscriptsResponse.ts @@ -1,14 +1,12 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Uuid } from "./Uuid.js"; -import { TranscriptsMetadata } from "./TranscriptsMetadata.js"; +import type * as serializers from "../index.js"; import { CommonTranscriptResponse } from "./CommonTranscriptResponse.js"; import { CommonUsageInfo } from "./CommonUsageInfo.js"; +import { TranscriptsMetadata } from "./TranscriptsMetadata.js"; +import { Uuid } from "./Uuid.js"; export const TranscriptsResponse: core.serialization.ObjectSchema< serializers.TranscriptsResponse.Raw, @@ -24,7 +22,7 @@ export declare namespace TranscriptsResponse { export interface Raw { id: Uuid.Raw; metadata: TranscriptsMetadata.Raw; - transcripts?: (CommonTranscriptResponse.Raw[] | null) | null; + transcripts?: (CommonTranscriptResponse.Raw[] | null | undefined) | null; usageInfo: CommonUsageInfo.Raw; } } diff --git a/src/serialization/types/Uuid.ts b/src/serialization/types/Uuid.ts index 86322c94..125a4add 100644 --- a/src/serialization/types/Uuid.ts +++ b/src/serialization/types/Uuid.ts @@ -1,10 +1,8 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. -import * as serializers from "../index.js"; -import * as Corti from "../../api/index.js"; +import type * as Corti from "../../api/index.js"; import * as core from "../../core/index.js"; +import type * as serializers from "../index.js"; export const Uuid: core.serialization.Schema = core.serialization.string(); diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index 7ae2033e..90bb5c27 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -1,142 +1,142 @@ +export * from "./AgentsAgent.js"; +export * from "./AgentsAgentCapabilities.js"; +export * from "./AgentsAgentCard.js"; +export * from "./AgentsAgentCardSignature.js"; +export * from "./AgentsAgentExpertsItem.js"; +export * from "./AgentsAgentExtension.js"; +export * from "./AgentsAgentInterface.js"; +export * from "./AgentsAgentProvider.js"; +export * from "./AgentsAgentReference.js"; +export * from "./AgentsAgentResponse.js"; +export * from "./AgentsAgentSkill.js"; +export * from "./AgentsArtifact.js"; +export * from "./AgentsContext.js"; +export * from "./AgentsContextItemsItem.js"; +export * from "./AgentsCreateExpert.js"; +export * from "./AgentsCreateMcpServer.js"; +export * from "./AgentsCreateMcpServerAuthorizationType.js"; +export * from "./AgentsCreateMcpServerTransportType.js"; +export * from "./AgentsDataPart.js"; +export * from "./AgentsExpert.js"; +export * from "./AgentsExpertReference.js"; +export * from "./AgentsFilePart.js"; +export * from "./AgentsFilePartFile.js"; +export * from "./AgentsFileWithBytes.js"; +export * from "./AgentsFileWithUri.js"; +export * from "./AgentsMcpServer.js"; +export * from "./AgentsMcpServerAuthorizationType.js"; +export * from "./AgentsMcpServerTransportType.js"; +export * from "./AgentsMessage.js"; +export * from "./AgentsMessageRole.js"; +export * from "./AgentsMessageSendConfiguration.js"; +export * from "./AgentsPart.js"; +export * from "./AgentsPushNotificationAuthenticationInfo.js"; +export * from "./AgentsPushNotificationConfig.js"; +export * from "./AgentsRegistryExpert.js"; +export * from "./AgentsRegistryExpertsResponse.js"; +export * from "./AgentsTask.js"; +export * from "./AgentsTaskStatus.js"; +export * from "./AgentsTaskStatusState.js"; +export * from "./AgentsTextPart.js"; +export * from "./CommonSortingDirectionEnum.js"; +export * from "./CommonSourceEnum.js"; +export * from "./CommonTextContext.js"; +export * from "./CommonTranscriptRequest.js"; +export * from "./CommonTranscriptResponse.js"; +export * from "./CommonUsageInfo.js"; export * from "./DocumentsContext.js"; export * from "./DocumentsContextWithFacts.js"; -export * from "./DocumentsContextWithTranscript.js"; export * from "./DocumentsContextWithString.js"; +export * from "./DocumentsContextWithTranscript.js"; +export * from "./DocumentsCreateRequest.js"; +export * from "./DocumentsCreateRequestWithTemplate.js"; +export * from "./DocumentsCreateRequestWithTemplateKey.js"; +export * from "./DocumentsGetResponse.js"; +export * from "./DocumentsListResponse.js"; export * from "./DocumentsSection.js"; +export * from "./DocumentsSectionInput.js"; export * from "./DocumentsTemplate.js"; export * from "./DocumentsTemplateWithSectionKeys.js"; -export * from "./InteractionsEncounterCreateRequest.js"; -export * from "./InteractionsEncounterUpdateRequest.js"; -export * from "./InteractionsEncounterResponse.js"; -export * from "./InteractionsEncounterPeriod.js"; export * from "./ErrorResponse.js"; +export * from "./FactsBatchUpdateInput.js"; +export * from "./FactsBatchUpdateItem.js"; +export * from "./FactsBatchUpdateResponse.js"; export * from "./FactsContext.js"; -export * from "./FactsFactGroupsItemTranslationsItem.js"; -export * from "./FactsFactGroupsItem.js"; -export * from "./InteractionsPatient.js"; -export * from "./DocumentsCreateRequest.js"; -export * from "./DocumentsCreateRequestWithTemplateKey.js"; -export * from "./DocumentsCreateRequestWithTemplate.js"; -export * from "./DocumentsSectionInput.js"; -export * from "./CommonTextContext.js"; export * from "./FactsCreateInput.js"; -export * from "./FactsBatchUpdateInput.js"; -export * from "./TranscriptsParticipant.js"; -export * from "./TemplatesSectionListResponse.js"; -export * from "./TemplatesListResponse.js"; -export * from "./DocumentsListResponse.js"; -export * from "./DocumentsGetResponse.js"; -export * from "./FactsListItem.js"; export * from "./FactsCreateItem.js"; +export * from "./FactsCreateResponse.js"; export * from "./FactsEvidence.js"; +export * from "./FactsExtractResponse.js"; +export * from "./FactsExtractResponseFactsItem.js"; +export * from "./FactsFactGroupsItem.js"; +export * from "./FactsFactGroupsItemTranslationsItem.js"; export * from "./FactsFactGroupsListResponse.js"; -export * from "./FactsUpdateResponse.js"; -export * from "./FactsCreateResponse.js"; +export * from "./FactsListItem.js"; export * from "./FactsListResponse.js"; -export * from "./FactsBatchUpdateResponse.js"; -export * from "./FactsBatchUpdateItem.js"; -export * from "./FactsExtractResponseFactsItem.js"; -export * from "./FactsExtractResponse.js"; -export * from "./InteractionsGetResponse.js"; +export * from "./FactsUpdateResponse.js"; export * from "./InteractionsCreateResponse.js"; -export * from "./InteractionsListResponse.js"; -export * from "./TranscriptsMetadata.js"; -export * from "./RecordingsCreateResponse.js"; -export * from "./RecordingsListResponse.js"; -export * from "./TranscriptsResponse.js"; -export * from "./TranscriptsListResponse.js"; -export * from "./TranscriptsListItem.js"; -export * from "./TranscriptsData.js"; -export * from "./TemplatesSection.js"; -export * from "./CommonSortingDirectionEnum.js"; -export * from "./TemplatesItem.js"; -export * from "./TemplatesSectionSorted.js"; -export * from "./CommonTranscriptRequest.js"; -export * from "./CommonTranscriptResponse.js"; -export * from "./Uuid.js"; -export * from "./CommonUsageInfo.js"; +export * from "./InteractionsEncounterCreateRequest.js"; +export * from "./InteractionsEncounterPeriod.js"; +export * from "./InteractionsEncounterResponse.js"; export * from "./InteractionsEncounterStatusEnum.js"; export * from "./InteractionsEncounterTypeEnum.js"; +export * from "./InteractionsEncounterUpdateRequest.js"; export * from "./InteractionsGenderEnum.js"; -export * from "./CommonSourceEnum.js"; -export * from "./TranscriptsParticipantRoleEnum.js"; -export * from "./TemplatesWritingStyle.js"; -export * from "./TemplatesSectionTranslation.js"; -export * from "./TemplatesTranslation.js"; -export * from "./StreamConfigMessage.js"; +export * from "./InteractionsGetResponse.js"; +export * from "./InteractionsListResponse.js"; +export * from "./InteractionsPatient.js"; +export * from "./RecordingsCreateResponse.js"; +export * from "./RecordingsListResponse.js"; export * from "./StreamConfig.js"; -export * from "./StreamConfigTranscription.js"; -export * from "./StreamConfigModeType.js"; +export * from "./StreamConfigMessage.js"; export * from "./StreamConfigMode.js"; -export * from "./StreamConfigStatusMessageType.js"; +export * from "./StreamConfigModeType.js"; +export * from "./StreamConfigParticipant.js"; +export * from "./StreamConfigParticipantRole.js"; export * from "./StreamConfigStatusMessage.js"; +export * from "./StreamConfigStatusMessageType.js"; +export * from "./StreamConfigTranscription.js"; export * from "./StreamEndedMessage.js"; -export * from "./StreamUsageMessage.js"; -export * from "./StreamErrorMessage.js"; +export * from "./StreamEndMessage.js"; export * from "./StreamErrorDetail.js"; -export * from "./StreamTranscriptMessage.js"; -export * from "./StreamTranscript.js"; -export * from "./StreamParticipant.js"; -export * from "./StreamConfigParticipantRole.js"; -export * from "./StreamConfigParticipant.js"; -export * from "./StreamTranscriptTime.js"; -export * from "./StreamFactsMessage.js"; +export * from "./StreamErrorMessage.js"; export * from "./StreamFact.js"; -export * from "./StreamEndMessage.js"; +export * from "./StreamFactsMessage.js"; +export * from "./StreamParticipant.js"; export * from "./StreamSupportedLanguage.js"; -export * from "./TranscribeSupportedLanguage.js"; -export * from "./TranscribeConfig.js"; -export * from "./TranscribeConfigMessage.js"; +export * from "./StreamTranscript.js"; +export * from "./StreamTranscriptMessage.js"; +export * from "./StreamTranscriptTime.js"; +export * from "./StreamUsageMessage.js"; +export * from "./TemplatesItem.js"; +export * from "./TemplatesListResponse.js"; +export * from "./TemplatesSection.js"; +export * from "./TemplatesSectionListResponse.js"; +export * from "./TemplatesSectionSorted.js"; +export * from "./TemplatesSectionTranslation.js"; +export * from "./TemplatesTranslation.js"; +export * from "./TemplatesWritingStyle.js"; export * from "./TranscribeCommand.js"; +export * from "./TranscribeCommandData.js"; +export * from "./TranscribeCommandMessage.js"; export * from "./TranscribeCommandVariable.js"; -export * from "./TranscribeConfigStatusMessageType.js"; +export * from "./TranscribeConfig.js"; +export * from "./TranscribeConfigMessage.js"; export * from "./TranscribeConfigStatusMessage.js"; -export * from "./TranscribeEndMessage.js"; -export * from "./TranscribeUsageMessage.js"; +export * from "./TranscribeConfigStatusMessageType.js"; export * from "./TranscribeEndedMessage.js"; -export * from "./TranscribeErrorMessageError.js"; +export * from "./TranscribeEndMessage.js"; export * from "./TranscribeErrorMessage.js"; +export * from "./TranscribeErrorMessageError.js"; +export * from "./TranscribeSupportedLanguage.js"; export * from "./TranscribeTranscriptData.js"; -export * from "./TranscribeCommandData.js"; export * from "./TranscribeTranscriptMessage.js"; -export * from "./TranscribeCommandMessage.js"; -export * from "./AgentsTaskStatusState.js"; -export * from "./AgentsTaskStatus.js"; -export * from "./AgentsTextPart.js"; -export * from "./AgentsFileWithUri.js"; -export * from "./AgentsFileWithBytes.js"; -export * from "./AgentsFilePartFile.js"; -export * from "./AgentsFilePart.js"; -export * from "./AgentsDataPart.js"; -export * from "./AgentsPart.js"; -export * from "./AgentsMessageRole.js"; -export * from "./AgentsMessage.js"; -export * from "./AgentsArtifact.js"; -export * from "./AgentsTask.js"; -export * from "./AgentsPushNotificationAuthenticationInfo.js"; -export * from "./AgentsPushNotificationConfig.js"; -export * from "./AgentsMessageSendConfiguration.js"; -export * from "./AgentsCreateMcpServerTransportType.js"; -export * from "./AgentsCreateMcpServerAuthorizationType.js"; -export * from "./AgentsCreateMcpServer.js"; -export * from "./AgentsMcpServerTransportType.js"; -export * from "./AgentsMcpServerAuthorizationType.js"; -export * from "./AgentsMcpServer.js"; -export * from "./AgentsAgentExpertsItem.js"; -export * from "./AgentsAgent.js"; -export * from "./AgentsAgentReference.js"; -export * from "./AgentsCreateExpert.js"; -export * from "./AgentsExpert.js"; -export * from "./AgentsExpertReference.js"; -export * from "./AgentsAgentResponse.js"; -export * from "./AgentsAgentInterface.js"; -export * from "./AgentsAgentProvider.js"; -export * from "./AgentsAgentCapabilities.js"; -export * from "./AgentsAgentExtension.js"; -export * from "./AgentsAgentSkill.js"; -export * from "./AgentsAgentCardSignature.js"; -export * from "./AgentsAgentCard.js"; -export * from "./AgentsContextItemsItem.js"; -export * from "./AgentsContext.js"; -export * from "./AgentsRegistryExpert.js"; -export * from "./AgentsRegistryExpertsResponse.js"; +export * from "./TranscribeUsageMessage.js"; +export * from "./TranscriptsData.js"; +export * from "./TranscriptsListItem.js"; +export * from "./TranscriptsListResponse.js"; +export * from "./TranscriptsMetadata.js"; +export * from "./TranscriptsParticipant.js"; +export * from "./TranscriptsParticipantRoleEnum.js"; +export * from "./TranscriptsResponse.js"; +export * from "./Uuid.js"; diff --git a/tests/BrowserTestEnvironment.ts b/tests/BrowserTestEnvironment.ts deleted file mode 100644 index 0f32bf7b..00000000 --- a/tests/BrowserTestEnvironment.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { TestEnvironment } from "jest-environment-jsdom"; - -class BrowserTestEnvironment extends TestEnvironment { - async setup() { - await super.setup(); - this.global.Request = Request; - this.global.Response = Response; - this.global.ReadableStream = ReadableStream; - this.global.TextEncoder = TextEncoder; - this.global.TextDecoder = TextDecoder; - this.global.FormData = FormData; - this.global.File = File; - this.global.Blob = Blob; - } -} - -export default BrowserTestEnvironment; diff --git a/tests/mock-server/MockServer.ts b/tests/mock-server/MockServer.ts index 6e258f17..5b30fe7c 100644 --- a/tests/mock-server/MockServer.ts +++ b/tests/mock-server/MockServer.ts @@ -1,4 +1,4 @@ -import { RequestHandlerOptions } from "msw"; +import type { RequestHandlerOptions } from "msw"; import type { SetupServer } from "msw/node"; import { mockEndpointBuilder } from "./mockEndpointBuilder"; diff --git a/tests/mock-server/MockServerPool.ts b/tests/mock-server/MockServerPool.ts index 81608069..e1a90f7f 100644 --- a/tests/mock-server/MockServerPool.ts +++ b/tests/mock-server/MockServerPool.ts @@ -22,7 +22,7 @@ async function formatHttpRequest(request: Request, id?: string): Promise } else if (clone.body) { body = await clone.text(); } - } catch (e) { + } catch (_e) { body = "(unable to parse body)"; } @@ -48,7 +48,7 @@ async function formatHttpResponse(response: Response, id?: string): Promise { const formattedRequest = await formatHttpRequest(request, requestId); - console.debug("request:start\n" + formattedRequest); + console.debug(`request:start\n${formattedRequest}`); }); mswServer.events.on("request:unhandled", async ({ request, requestId }) => { const formattedRequest = await formatHttpRequest(request, requestId); - console.debug("request:unhandled\n" + formattedRequest); + console.debug(`request:unhandled\n${formattedRequest}`); }); mswServer.events.on("response:mocked", async ({ request, response, requestId }) => { const formattedResponse = await formatHttpResponse(response, requestId); - console.debug("response:mocked\n" + formattedResponse); + console.debug(`response:mocked\n${formattedResponse}`); }); } } diff --git a/tests/mock-server/mockEndpointBuilder.ts b/tests/mock-server/mockEndpointBuilder.ts index 76ed83cb..1b0e5107 100644 --- a/tests/mock-server/mockEndpointBuilder.ts +++ b/tests/mock-server/mockEndpointBuilder.ts @@ -1,7 +1,8 @@ -import { DefaultBodyType, HttpHandler, HttpResponse, HttpResponseResolver, http } from "msw"; +import { type DefaultBodyType, type HttpHandler, HttpResponse, type HttpResponseResolver, http } from "msw"; import { url } from "../../src/core"; import { toJson } from "../../src/core/json"; +import { withFormUrlEncoded } from "./withFormUrlEncoded"; import { withHeaders } from "./withHeaders"; import { withJson } from "./withJson"; @@ -26,6 +27,7 @@ interface RequestHeadersStage extends RequestBodyStage, ResponseStage { interface RequestBodyStage extends ResponseStage { jsonBody(body: unknown): ResponseStage; + formUrlEncodedBody(body: unknown): ResponseStage; } interface ResponseStage { @@ -128,10 +130,23 @@ class RequestBuilder implements MethodStage, RequestHeadersStage, RequestBodySta } jsonBody(body: unknown): ResponseStage { + if (body === undefined) { + throw new Error("Undefined is not valid JSON. Do not call jsonBody if you want an empty body."); + } this.predicates.push((resolver) => withJson(body, resolver)); return this; } + formUrlEncodedBody(body: unknown): ResponseStage { + if (body === undefined) { + throw new Error( + "Undefined is not valid for form-urlencoded. Do not call formUrlEncodedBody if you want an empty body.", + ); + } + this.predicates.push((resolver) => withFormUrlEncoded(body, resolver)); + return this; + } + respondWith(): ResponseStatusStage { return new ResponseBuilder(this.method, this.buildUrl(), this.predicates, this.handlerOptions); } @@ -179,16 +194,24 @@ class ResponseBuilder implements ResponseStatusStage, ResponseHeaderStage, Respo } public jsonBody(body: unknown): BuildStage { + if (body === undefined) { + throw new Error("Undefined is not valid JSON. Do not call jsonBody if you expect an empty body."); + } this.responseBody = toJson(body); return this; } public build(): HttpHandler { const responseResolver: HttpResponseResolver = () => { - return new HttpResponse(this.responseBody, { + const response = new HttpResponse(this.responseBody, { status: this.responseStatusCode, headers: this.responseHeaders, }); + // if no Content-Type header is set, delete the default text content type that is set + if (Object.keys(this.responseHeaders).some((key) => key.toLowerCase() === "content-type") === false) { + response.headers.delete("Content-Type"); + } + return response; }; const finalResolver = this.requestPredicates.reduceRight((acc, predicate) => predicate(acc), responseResolver); diff --git a/tests/mock-server/setup.ts b/tests/mock-server/setup.ts index c216d607..aeb3a95a 100644 --- a/tests/mock-server/setup.ts +++ b/tests/mock-server/setup.ts @@ -1,4 +1,4 @@ -import { afterAll, beforeAll } from "@jest/globals"; +import { afterAll, beforeAll } from "vitest"; import { mockServerPool } from "./MockServerPool"; diff --git a/tests/mock-server/withFormUrlEncoded.ts b/tests/mock-server/withFormUrlEncoded.ts new file mode 100644 index 00000000..e9e6ff2d --- /dev/null +++ b/tests/mock-server/withFormUrlEncoded.ts @@ -0,0 +1,80 @@ +import { type HttpResponseResolver, passthrough } from "msw"; + +import { toJson } from "../../src/core/json"; + +/** + * Creates a request matcher that validates if the request form-urlencoded body exactly matches the expected object + * @param expectedBody - The exact body object to match against + * @param resolver - Response resolver to execute if body matches + */ +export function withFormUrlEncoded(expectedBody: unknown, resolver: HttpResponseResolver): HttpResponseResolver { + return async (args) => { + const { request } = args; + + let clonedRequest: Request; + let bodyText: string | undefined; + let actualBody: Record; + try { + clonedRequest = request.clone(); + bodyText = await clonedRequest.text(); + if (bodyText === "") { + console.error("Request body is empty, expected a form-urlencoded body."); + return passthrough(); + } + const params = new URLSearchParams(bodyText); + actualBody = {}; + for (const [key, value] of params.entries()) { + actualBody[key] = value; + } + } catch (error) { + console.error(`Error processing form-urlencoded request body:\n\tError: ${error}\n\tBody: ${bodyText}`); + return passthrough(); + } + + const mismatches = findMismatches(actualBody, expectedBody); + if (Object.keys(mismatches).length > 0) { + console.error("Form-urlencoded body mismatch:", toJson(mismatches, undefined, 2)); + return passthrough(); + } + + return resolver(args); + }; +} + +function findMismatches(actual: any, expected: any): Record { + const mismatches: Record = {}; + + if (typeof actual !== typeof expected) { + return { value: { actual, expected } }; + } + + if (typeof actual !== "object" || actual === null || expected === null) { + if (actual !== expected) { + return { value: { actual, expected } }; + } + return {}; + } + + const actualKeys = Object.keys(actual); + const expectedKeys = Object.keys(expected); + + const allKeys = new Set([...actualKeys, ...expectedKeys]); + + for (const key of allKeys) { + if (!expectedKeys.includes(key)) { + if (actual[key] === undefined) { + continue; + } + mismatches[key] = { actual: actual[key], expected: undefined }; + } else if (!actualKeys.includes(key)) { + if (expected[key] === undefined) { + continue; + } + mismatches[key] = { actual: undefined, expected: expected[key] }; + } else if (actual[key] !== expected[key]) { + mismatches[key] = { actual: actual[key], expected: expected[key] }; + } + } + + return mismatches; +} diff --git a/tests/mock-server/withHeaders.ts b/tests/mock-server/withHeaders.ts index e77c837d..6599d2b4 100644 --- a/tests/mock-server/withHeaders.ts +++ b/tests/mock-server/withHeaders.ts @@ -1,4 +1,4 @@ -import { HttpResponseResolver, passthrough } from "msw"; +import { type HttpResponseResolver, passthrough } from "msw"; /** * Creates a request matcher that validates if request headers match specified criteria diff --git a/tests/mock-server/withJson.ts b/tests/mock-server/withJson.ts index 44e3eb83..b627638b 100644 --- a/tests/mock-server/withJson.ts +++ b/tests/mock-server/withJson.ts @@ -1,4 +1,4 @@ -import { HttpResponseResolver, passthrough } from "msw"; +import { type HttpResponseResolver, passthrough } from "msw"; import { fromJson, toJson } from "../../src/core/json"; @@ -12,17 +12,23 @@ export function withJson(expectedBody: unknown, resolver: HttpResponseResolver): const { request } = args; let clonedRequest: Request; + let bodyText: string | undefined; let actualBody: unknown; try { clonedRequest = request.clone(); - actualBody = fromJson(await clonedRequest.text()); + bodyText = await clonedRequest.text(); + if (bodyText === "") { + console.error("Request body is empty, expected a JSON object."); + return passthrough(); + } + actualBody = fromJson(bodyText); } catch (error) { - console.error("Error processing request body:", error); + console.error(`Error processing request body:\n\tError: ${error}\n\tBody: ${bodyText}`); return passthrough(); } const mismatches = findMismatches(actualBody, expectedBody); - if (Object.keys(mismatches).length > 0) { + if (Object.keys(mismatches).filter((key) => !key.startsWith("pagination.")).length > 0) { console.error("JSON body mismatch:", toJson(mismatches, undefined, 2)); return passthrough(); } @@ -61,7 +67,7 @@ function findMismatches(actual: any, expected: any): Record 0) { for (const [mismatchKey, mismatchValue] of Object.entries(itemMismatches)) { - arrayMismatches[`[${i}]${mismatchKey === "value" ? "" : "." + mismatchKey}`] = mismatchValue; + arrayMismatches[`[${i}]${mismatchKey === "value" ? "" : `.${mismatchKey}`}`] = mismatchValue; } } } @@ -93,7 +99,7 @@ function findMismatches(actual: any, expected: any): Record 0) { for (const [nestedKey, nestedValue] of Object.entries(nestedMismatches)) { - mismatches[`${key}${nestedKey === "value" ? "" : "." + nestedKey}`] = nestedValue; + mismatches[`${key}${nestedKey === "value" ? "" : `.${nestedKey}`}`] = nestedValue; } } } else if (actual[key] !== expected[key]) { diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 10185ed2..a477df47 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -3,7 +3,8 @@ "compilerOptions": { "outDir": null, "rootDir": "..", - "baseUrl": ".." + "baseUrl": "..", + "types": ["vitest/globals"] }, "include": ["../src", "../tests"], "exclude": [] diff --git a/tests/unit/auth/BasicAuth.test.ts b/tests/unit/auth/BasicAuth.test.ts index 79ef9799..90bbc7ee 100644 --- a/tests/unit/auth/BasicAuth.test.ts +++ b/tests/unit/auth/BasicAuth.test.ts @@ -18,5 +18,41 @@ describe("BasicAuth", () => { password: "password", }); }); + + it("handles password with colons", () => { + expect(BasicAuth.fromAuthorizationHeader("Basic dXNlcjpwYXNzOndvcmQ=")).toEqual({ + username: "user", + password: "pass:word", + }); + }); + + it("handles empty username and password (just colon)", () => { + expect(BasicAuth.fromAuthorizationHeader("Basic Og==")).toEqual({ + username: "", + password: "", + }); + }); + + it("handles empty username", () => { + expect(BasicAuth.fromAuthorizationHeader("Basic OnBhc3N3b3Jk")).toEqual({ + username: "", + password: "password", + }); + }); + + it("handles empty password", () => { + expect(BasicAuth.fromAuthorizationHeader("Basic dXNlcm5hbWU6")).toEqual({ + username: "username", + password: "", + }); + }); + + it("throws error for completely empty credentials", () => { + expect(() => BasicAuth.fromAuthorizationHeader("Basic ")).toThrow("Invalid basic auth"); + }); + + it("throws error for credentials without colon", () => { + expect(() => BasicAuth.fromAuthorizationHeader("Basic dXNlcm5hbWU=")).toThrow("Invalid basic auth"); + }); }); }); diff --git a/tests/unit/fetcher/Fetcher.test.ts b/tests/unit/fetcher/Fetcher.test.ts index a9bd945d..bfc64294 100644 --- a/tests/unit/fetcher/Fetcher.test.ts +++ b/tests/unit/fetcher/Fetcher.test.ts @@ -1,9 +1,8 @@ import fs from "fs"; -import stream from "stream"; import { join } from "path"; - -import { Fetcher, fetcherImpl } from "../../../src/core/fetcher/Fetcher"; -import { BinaryResponse } from "../../../src/core"; +import stream from "stream"; +import type { BinaryResponse } from "../../../src/core"; +import { type Fetcher, fetcherImpl } from "../../../src/core/fetcher/Fetcher"; describe("Test fetcherImpl", () => { it("should handle successful request", async () => { @@ -17,7 +16,7 @@ describe("Test fetcherImpl", () => { responseType: "json", }; - global.fetch = jest.fn().mockResolvedValue( + global.fetch = vi.fn().mockResolvedValue( new Response(JSON.stringify({ data: "test" }), { status: 200, statusText: "OK", @@ -52,7 +51,7 @@ describe("Test fetcherImpl", () => { body: fs.createReadStream(join(__dirname, "test-file.txt")), }; - global.fetch = jest.fn().mockResolvedValue( + global.fetch = vi.fn().mockResolvedValue( new Response(JSON.stringify({ data: "test" }), { status: 200, statusText: "OK", @@ -84,7 +83,7 @@ describe("Test fetcherImpl", () => { responseType: "binary-response", }; - global.fetch = jest.fn().mockResolvedValue( + global.fetch = vi.fn().mockResolvedValue( new Response( stream.Readable.toWeb(fs.createReadStream(join(__dirname, "test-file.txt"))) as ReadableStream, { @@ -129,7 +128,7 @@ describe("Test fetcherImpl", () => { responseType: "binary-response", }; - global.fetch = jest.fn().mockResolvedValue( + global.fetch = vi.fn().mockResolvedValue( new Response( stream.Readable.toWeb(fs.createReadStream(join(__dirname, "test-file.txt"))) as ReadableStream, { @@ -174,7 +173,7 @@ describe("Test fetcherImpl", () => { responseType: "binary-response", }; - global.fetch = jest.fn().mockResolvedValue( + global.fetch = vi.fn().mockResolvedValue( new Response( stream.Readable.toWeb(fs.createReadStream(join(__dirname, "test-file.txt"))) as ReadableStream, { @@ -217,7 +216,7 @@ describe("Test fetcherImpl", () => { responseType: "binary-response", }; - global.fetch = jest.fn().mockResolvedValue( + global.fetch = vi.fn().mockResolvedValue( new Response( stream.Readable.toWeb(fs.createReadStream(join(__dirname, "test-file.txt"))) as ReadableStream, { diff --git a/tests/unit/fetcher/HttpResponsePromise.test.ts b/tests/unit/fetcher/HttpResponsePromise.test.ts index 2216a33e..2ec008e5 100644 --- a/tests/unit/fetcher/HttpResponsePromise.test.ts +++ b/tests/unit/fetcher/HttpResponsePromise.test.ts @@ -1,7 +1,7 @@ -import { beforeEach, describe, expect, it, jest } from "@jest/globals"; +import { beforeEach, describe, expect, it, vi } from "vitest"; import { HttpResponsePromise } from "../../../src/core/fetcher/HttpResponsePromise"; -import { RawResponse, WithRawResponse } from "../../../src/core/fetcher/RawResponse"; +import type { RawResponse, WithRawResponse } from "../../../src/core/fetcher/RawResponse"; describe("HttpResponsePromise", () => { const mockRawResponse: RawResponse = { @@ -20,7 +20,7 @@ describe("HttpResponsePromise", () => { describe("fromFunction", () => { it("should create an HttpResponsePromise from a function", async () => { - const mockFn = jest + const mockFn = vi .fn<(arg1: string, arg2: string) => Promise>>() .mockResolvedValue(mockWithRawResponse); @@ -111,7 +111,7 @@ describe("HttpResponsePromise", () => { reject(new Error("Test error")); }); - const catchSpy = jest.fn(); + const catchSpy = vi.fn(); await errorResponsePromise.catch(catchSpy); expect(catchSpy).toHaveBeenCalled(); @@ -121,7 +121,7 @@ describe("HttpResponsePromise", () => { }); it("should support finally() method", async () => { - const finallySpy = jest.fn(); + const finallySpy = vi.fn(); await responsePromise.finally(finallySpy); expect(finallySpy).toHaveBeenCalled(); diff --git a/tests/unit/fetcher/RawResponse.test.ts b/tests/unit/fetcher/RawResponse.test.ts index 9ccd5e1e..375ee3f3 100644 --- a/tests/unit/fetcher/RawResponse.test.ts +++ b/tests/unit/fetcher/RawResponse.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, it } from "@jest/globals"; +import { describe, expect, it } from "vitest"; import { toRawResponse } from "../../../src/core/fetcher/RawResponse"; diff --git a/tests/unit/fetcher/getRequestBody.test.ts b/tests/unit/fetcher/getRequestBody.test.ts index e864c8b5..e3da10c0 100644 --- a/tests/unit/fetcher/getRequestBody.test.ts +++ b/tests/unit/fetcher/getRequestBody.test.ts @@ -45,7 +45,65 @@ describe("Test getRequestBody", () => { expect(result).toBe(input); }); - it("should return the input for content-type 'application/x-www-form-urlencoded'", async () => { + it("should serialize objects for form-urlencoded content type", async () => { + const input = { username: "johndoe", email: "john@example.com" }; + const result = await getRequestBody({ + body: input, + type: "form", + }); + expect(result).toBe("username=johndoe&email=john%40example.com"); + }); + + it("should serialize complex nested objects and arrays for form-urlencoded content type", async () => { + const input = { + user: { + profile: { + name: "John Doe", + settings: { + theme: "dark", + notifications: true, + }, + }, + tags: ["admin", "user"], + contacts: [ + { type: "email", value: "john@example.com" }, + { type: "phone", value: "+1234567890" }, + ], + }, + filters: { + status: ["active", "pending"], + metadata: { + created: "2024-01-01", + categories: ["electronics", "books"], + }, + }, + preferences: ["notifications", "updates"], + }; + const result = await getRequestBody({ + body: input, + type: "form", + }); + expect(result).toBe( + "user%5Bprofile%5D%5Bname%5D=John%20Doe&" + + "user%5Bprofile%5D%5Bsettings%5D%5Btheme%5D=dark&" + + "user%5Bprofile%5D%5Bsettings%5D%5Bnotifications%5D=true&" + + "user%5Btags%5D=admin&" + + "user%5Btags%5D=user&" + + "user%5Bcontacts%5D%5Btype%5D=email&" + + "user%5Bcontacts%5D%5Bvalue%5D=john%40example.com&" + + "user%5Bcontacts%5D%5Btype%5D=phone&" + + "user%5Bcontacts%5D%5Bvalue%5D=%2B1234567890&" + + "filters%5Bstatus%5D=active&" + + "filters%5Bstatus%5D=pending&" + + "filters%5Bmetadata%5D%5Bcreated%5D=2024-01-01&" + + "filters%5Bmetadata%5D%5Bcategories%5D=electronics&" + + "filters%5Bmetadata%5D%5Bcategories%5D=books&" + + "preferences=notifications&" + + "preferences=updates", + ); + }); + + it("should return the input for pre-serialized form-urlencoded strings", async () => { const input = "key=value&another=param"; const result = await getRequestBody({ body: input, diff --git a/tests/unit/fetcher/getResponseBody.test.ts b/tests/unit/fetcher/getResponseBody.test.ts index 400782f5..151843ae 100644 --- a/tests/unit/fetcher/getResponseBody.test.ts +++ b/tests/unit/fetcher/getResponseBody.test.ts @@ -1,5 +1,5 @@ -import { RUNTIME } from "../../../src/core/runtime"; import { getResponseBody } from "../../../src/core/fetcher/getResponseBody"; +import { RUNTIME } from "../../../src/core/runtime"; describe("Test getResponseBody", () => { it("should handle blob response type", async () => { diff --git a/tests/unit/fetcher/makeRequest.test.ts b/tests/unit/fetcher/makeRequest.test.ts index 43ed9d11..f6203cdc 100644 --- a/tests/unit/fetcher/makeRequest.test.ts +++ b/tests/unit/fetcher/makeRequest.test.ts @@ -6,10 +6,10 @@ describe("Test makeRequest", () => { const mockHeaders = { "Content-Type": "application/json" }; const mockBody = JSON.stringify({ key: "value" }); - let mockFetch: jest.Mock; + let mockFetch: import("vitest").Mock; beforeEach(() => { - mockFetch = jest.fn(); + mockFetch = vi.fn(); mockFetch.mockResolvedValue(new Response(JSON.stringify({ test: "successful" }), { status: 200 })); }); diff --git a/tests/unit/fetcher/requestWithRetries.test.ts b/tests/unit/fetcher/requestWithRetries.test.ts index 3cdaa40a..7d46082d 100644 --- a/tests/unit/fetcher/requestWithRetries.test.ts +++ b/tests/unit/fetcher/requestWithRetries.test.ts @@ -1,28 +1,43 @@ import { requestWithRetries } from "../../../src/core/fetcher/requestWithRetries"; describe("requestWithRetries", () => { - let mockFetch: jest.Mock; + let mockFetch: import("vitest").Mock; let originalMathRandom: typeof Math.random; - let setTimeoutSpy: jest.SpyInstance; + let setTimeoutSpy: import("vitest").MockInstance; beforeEach(() => { - mockFetch = jest.fn(); + mockFetch = vi.fn(); originalMathRandom = Math.random; // Mock Math.random for consistent jitter - Math.random = jest.fn(() => 0.5); - - jest.useFakeTimers({ doNotFake: ["nextTick"] }); + Math.random = vi.fn(() => 0.5); + + vi.useFakeTimers({ + toFake: [ + "setTimeout", + "clearTimeout", + "setInterval", + "clearInterval", + "setImmediate", + "clearImmediate", + "Date", + "performance", + "requestAnimationFrame", + "cancelAnimationFrame", + "requestIdleCallback", + "cancelIdleCallback", + ], + }); }); afterEach(() => { Math.random = originalMathRandom; - jest.clearAllMocks(); - jest.clearAllTimers(); + vi.clearAllMocks(); + vi.clearAllTimers(); }); it("should retry on retryable status codes", async () => { - setTimeoutSpy = jest.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { process.nextTick(callback); return null as any; }); @@ -38,7 +53,7 @@ describe("requestWithRetries", () => { }); const responsePromise = requestWithRetries(() => mockFetch(), retryableStatuses.length); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const response = await responsePromise; expect(mockFetch).toHaveBeenCalledTimes(retryableStatuses.length + 1); @@ -46,7 +61,7 @@ describe("requestWithRetries", () => { }); it("should respect maxRetries limit", async () => { - setTimeoutSpy = jest.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { process.nextTick(callback); return null as any; }); @@ -55,7 +70,7 @@ describe("requestWithRetries", () => { mockFetch.mockResolvedValue(new Response("", { status: 500 })); const responsePromise = requestWithRetries(() => mockFetch(), maxRetries); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const response = await responsePromise; expect(mockFetch).toHaveBeenCalledTimes(maxRetries + 1); @@ -63,7 +78,7 @@ describe("requestWithRetries", () => { }); it("should not retry on success status codes", async () => { - setTimeoutSpy = jest.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { process.nextTick(callback); return null as any; }); @@ -76,7 +91,7 @@ describe("requestWithRetries", () => { mockFetch.mockResolvedValueOnce(new Response("", { status })); const responsePromise = requestWithRetries(() => mockFetch(), 3); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); await responsePromise; expect(mockFetch).toHaveBeenCalledTimes(1); @@ -85,7 +100,7 @@ describe("requestWithRetries", () => { }); it("should apply correct exponential backoff with jitter", async () => { - setTimeoutSpy = jest.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { process.nextTick(callback); return null as any; }); @@ -95,7 +110,7 @@ describe("requestWithRetries", () => { const expectedDelays = [1000, 2000, 4000]; const responsePromise = requestWithRetries(() => mockFetch(), maxRetries); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); await responsePromise; // Verify setTimeout calls @@ -109,7 +124,7 @@ describe("requestWithRetries", () => { }); it("should handle concurrent retries independently", async () => { - setTimeoutSpy = jest.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { process.nextTick(callback); return null as any; }); @@ -123,10 +138,113 @@ describe("requestWithRetries", () => { const promise1 = requestWithRetries(() => mockFetch(), 1); const promise2 = requestWithRetries(() => mockFetch(), 1); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const [response1, response2] = await Promise.all([promise1, promise2]); expect(response1.status).toBe(200); expect(response2.status).toBe(200); }); + + it("should respect retry-after header with seconds value", async () => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + process.nextTick(callback); + return null as any; + }); + + mockFetch + .mockResolvedValueOnce( + new Response("", { + status: 429, + headers: new Headers({ "retry-after": "5" }), + }), + ) + .mockResolvedValueOnce(new Response("", { status: 200 })); + + const responsePromise = requestWithRetries(() => mockFetch(), 1); + await vi.runAllTimersAsync(); + const response = await responsePromise; + + expect(setTimeoutSpy).toHaveBeenCalledWith(expect.any(Function), 5000); // 5 seconds = 5000ms + expect(response.status).toBe(200); + }); + + it("should respect retry-after header with HTTP date value", async () => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + process.nextTick(callback); + return null as any; + }); + + const futureDate = new Date(Date.now() + 3000); // 3 seconds from now + mockFetch + .mockResolvedValueOnce( + new Response("", { + status: 429, + headers: new Headers({ "retry-after": futureDate.toUTCString() }), + }), + ) + .mockResolvedValueOnce(new Response("", { status: 200 })); + + const responsePromise = requestWithRetries(() => mockFetch(), 1); + await vi.runAllTimersAsync(); + const response = await responsePromise; + + // Should use the date-based delay (approximately 3000ms, but with jitter) + expect(setTimeoutSpy).toHaveBeenCalledWith(expect.any(Function), expect.any(Number)); + const actualDelay = setTimeoutSpy.mock.calls[0][1]; + expect(actualDelay).toBeGreaterThan(2000); + expect(actualDelay).toBeLessThan(4000); + expect(response.status).toBe(200); + }); + + it("should respect x-ratelimit-reset header", async () => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + process.nextTick(callback); + return null as any; + }); + + const resetTime = Math.floor((Date.now() + 4000) / 1000); // 4 seconds from now in Unix timestamp + mockFetch + .mockResolvedValueOnce( + new Response("", { + status: 429, + headers: new Headers({ "x-ratelimit-reset": resetTime.toString() }), + }), + ) + .mockResolvedValueOnce(new Response("", { status: 200 })); + + const responsePromise = requestWithRetries(() => mockFetch(), 1); + await vi.runAllTimersAsync(); + const response = await responsePromise; + + // Should use the x-ratelimit-reset delay (approximately 4000ms, but with positive jitter) + expect(setTimeoutSpy).toHaveBeenCalledWith(expect.any(Function), expect.any(Number)); + const actualDelay = setTimeoutSpy.mock.calls[0][1]; + expect(actualDelay).toBeGreaterThan(3000); + expect(actualDelay).toBeLessThan(6000); + expect(response.status).toBe(200); + }); + + it("should cap delay at MAX_RETRY_DELAY for large header values", async () => { + setTimeoutSpy = vi.spyOn(global, "setTimeout").mockImplementation((callback: (args: void) => void) => { + process.nextTick(callback); + return null as any; + }); + + mockFetch + .mockResolvedValueOnce( + new Response("", { + status: 429, + headers: new Headers({ "retry-after": "120" }), // 120 seconds = 120000ms > MAX_RETRY_DELAY (60000ms) + }), + ) + .mockResolvedValueOnce(new Response("", { status: 200 })); + + const responsePromise = requestWithRetries(() => mockFetch(), 1); + await vi.runAllTimersAsync(); + const response = await responsePromise; + + // Should be capped at MAX_RETRY_DELAY (60000ms) with jitter applied + expect(setTimeoutSpy).toHaveBeenCalledWith(expect.any(Function), 60000); // Exactly MAX_RETRY_DELAY since jitter with 0.5 random keeps it at 60000 + expect(response.status).toBe(200); + }); }); diff --git a/tests/unit/fetcher/signals.test.ts b/tests/unit/fetcher/signals.test.ts index 9cabfa07..d7b6d1e6 100644 --- a/tests/unit/fetcher/signals.test.ts +++ b/tests/unit/fetcher/signals.test.ts @@ -2,11 +2,11 @@ import { anySignal, getTimeoutSignal } from "../../../src/core/fetcher/signals"; describe("Test getTimeoutSignal", () => { beforeEach(() => { - jest.useFakeTimers(); + vi.useFakeTimers(); }); afterEach(() => { - jest.useRealTimers(); + vi.useRealTimers(); }); it("should return an object with signal and abortId", () => { @@ -24,10 +24,10 @@ describe("Test getTimeoutSignal", () => { expect(signal.aborted).toBe(false); - jest.advanceTimersByTime(timeoutMs - 1); + vi.advanceTimersByTime(timeoutMs - 1); expect(signal.aborted).toBe(false); - jest.advanceTimersByTime(1); + vi.advanceTimersByTime(1); expect(signal.aborted).toBe(true); }); }); diff --git a/tests/unit/file/file.test.ts b/tests/unit/file/file.test.ts index 0bc7c879..d7c4570b 100644 --- a/tests/unit/file/file.test.ts +++ b/tests/unit/file/file.test.ts @@ -1,13 +1,13 @@ import fs from "fs"; import { join } from "path"; import { Readable } from "stream"; -import { toBinaryUploadRequest, Uploadable } from "../../../src/core/file/index"; +import { toBinaryUploadRequest, type Uploadable } from "../../../src/core/file/index"; describe("toBinaryUploadRequest", () => { - const TEST_FILE_PATH = join(__dirname, "test-file.txt"); + const TEST_FILE_PATH = join(__dirname, "..", "test-file.txt"); beforeEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); describe("Buffer input", () => { @@ -394,48 +394,6 @@ describe("toBinaryUploadRequest", () => { "Content-Length": "21", // Should determine from file system (test file is 21 bytes) }); }); - - it("should handle Windows-style paths", async () => { - const input: Uploadable.FromPath = { - path: "C:\\Users\\test\\file.txt", - }; - - // Mock fs methods to avoid actual file system access - const mockStats = { size: 123 }; - const mockReadStream = {} as fs.ReadStream; - - const createReadStreamSpy = jest.spyOn(fs, "createReadStream").mockReturnValue(mockReadStream); - const statSpy = jest.spyOn(fs.promises, "stat").mockResolvedValue(mockStats as fs.Stats); - - const result = await toBinaryUploadRequest(input); - - expect(result.body).toBe(mockReadStream); - expect(result.headers).toEqual({ - "Content-Disposition": 'attachment; filename="file.txt"', // Should extract from Windows path - "Content-Length": "123", - }); - - // Restore mocks - createReadStreamSpy.mockRestore(); - statSpy.mockRestore(); - }); - - it("should handle file path when fs is not available", async () => { - const input: Uploadable.FromPath = { - path: TEST_FILE_PATH, - }; - - // Mock import to simulate environment without fs - const originalImport = jest.requireActual("fs"); - jest.doMock("fs", () => null); - - await expect(toBinaryUploadRequest(input)).rejects.toThrow( - "File path uploads are not supported in this environment.", - ); - - // Restore fs - jest.doMock("fs", () => originalImport); - }); }); describe("ArrayBufferView input", () => { diff --git a/tests/unit/schemas/lazy/lazy.test.ts b/tests/unit/schemas/lazy/lazy.test.ts index 3a5a338d..a82ace4a 100644 --- a/tests/unit/schemas/lazy/lazy.test.ts +++ b/tests/unit/schemas/lazy/lazy.test.ts @@ -1,5 +1,5 @@ -import { Schema } from "../../../../src/core/schemas/Schema"; import { lazy, list, object, string } from "../../../../src/core/schemas/builders"; +import type { Schema } from "../../../../src/core/schemas/Schema"; import { itSchemaIdentity } from "../utils/itSchema"; describe("lazy", () => { @@ -37,7 +37,7 @@ describe("lazy", () => { { foo: "hello" }, ); - // eslint-disable-next-line jest/expect-expect + // eslint-disable-next-line vi/expect-expect it("self-referencial schema doesn't compile", () => { () => { // @ts-expect-error @@ -45,7 +45,7 @@ describe("lazy", () => { }; }); - // eslint-disable-next-line jest/expect-expect + // eslint-disable-next-line vi/expect-expect it("self-referencial compiles with explicit type", () => { () => { interface TreeNode { diff --git a/tests/unit/schemas/object-like/withParsedProperties.test.ts b/tests/unit/schemas/object-like/withParsedProperties.test.ts index 9f5dd0ed..b18bc9d3 100644 --- a/tests/unit/schemas/object-like/withParsedProperties.test.ts +++ b/tests/unit/schemas/object-like/withParsedProperties.test.ts @@ -44,7 +44,7 @@ describe("withParsedProperties", () => { }); describe("compile", () => { - // eslint-disable-next-line jest/expect-expect + // eslint-disable-next-line vi/expect-expect it("doesn't compile with non-object schema", () => { () => object({ diff --git a/tests/unit/schemas/object/extend.test.ts b/tests/unit/schemas/object/extend.test.ts index 10954713..b6c2920f 100644 --- a/tests/unit/schemas/object/extend.test.ts +++ b/tests/unit/schemas/object/extend.test.ts @@ -76,7 +76,7 @@ describe("extend", () => { ); describe("compile", () => { - // eslint-disable-next-line jest/expect-expect + // eslint-disable-next-line vi/expect-expect it("doesn't compile with non-object schema", () => { () => object({ diff --git a/tests/unit/schemas/schema-utils/getSchemaUtils.test.ts b/tests/unit/schemas/schema-utils/getSchemaUtils.test.ts index 09d594d0..822c3ca4 100644 --- a/tests/unit/schemas/schema-utils/getSchemaUtils.test.ts +++ b/tests/unit/schemas/schema-utils/getSchemaUtils.test.ts @@ -18,7 +18,7 @@ describe("getSchemaUtils", () => { itSchema( "transform and untransform run correctly", string().transform({ - transform: (x) => x + "X", + transform: (x) => `${x}X`, untransform: (x) => (x as string).slice(0, -1), }), { @@ -36,7 +36,7 @@ describe("getSchemaUtils", () => { it("throws on invalid value", async () => { const value = () => object({ a: string(), b: string() }).parseOrThrow({ a: 24 }); - expect(value).toThrowError(new Error('a: Expected string. Received 24.; Missing required key "b"')); + expect(value).toThrowError('a: Expected string. Received 24.; Missing required key "b"'); }); }); @@ -48,7 +48,7 @@ describe("getSchemaUtils", () => { it("throws on invalid value", async () => { const value = () => object({ a: string(), b: string() }).jsonOrThrow({ a: 24 }); - expect(value).toThrowError(new Error('a: Expected string. Received 24.; Missing required key "b"')); + expect(value).toThrowError('a: Expected string. Received 24.; Missing required key "b"'); }); }); diff --git a/tests/unit/schemas/undiscriminated-union/undiscriminatedUnion.test.ts b/tests/unit/schemas/undiscriminated-union/undiscriminatedUnion.test.ts index e0ddb21b..01dcadbb 100644 --- a/tests/unit/schemas/undiscriminated-union/undiscriminatedUnion.test.ts +++ b/tests/unit/schemas/undiscriminated-union/undiscriminatedUnion.test.ts @@ -35,7 +35,7 @@ describe("undiscriminatedUnion", () => { }); describe("compile", () => { - // eslint-disable-next-line jest/expect-expect + // eslint-disable-next-line vi/expect-expect it("doesn't compile with zero members", () => { // @ts-expect-error () => undiscriminatedUnion([]); diff --git a/tests/unit/schemas/utils/itSchema.ts b/tests/unit/schemas/utils/itSchema.ts index 82a53887..25b13e64 100644 --- a/tests/unit/schemas/utils/itSchema.ts +++ b/tests/unit/schemas/utils/itSchema.ts @@ -1,5 +1,5 @@ -/* eslint-disable jest/no-export */ -import { Schema, SchemaOptions } from "../../../../src/core/schemas/Schema"; +/* eslint-disable vi/no-export */ +import type { Schema, SchemaOptions } from "../../../../src/core/schemas/Schema"; export function itSchemaIdentity( schema: Schema, @@ -24,7 +24,7 @@ export function itSchema( only?: boolean; }, ): void { - // eslint-disable-next-line jest/valid-title + // eslint-disable-next-line vi/valid-title (only ? describe.only : describe)(title, () => { itParse("parse()", schema, { raw, parsed, opts }); itJson("json()", schema, { raw, parsed, opts }); @@ -44,11 +44,11 @@ export function itParse( opts?: SchemaOptions; }, ): void { - // eslint-disable-next-line jest/valid-title + // eslint-disable-next-line vi/valid-title it(title, () => { const maybeValid = schema.parse(raw, opts); if (!maybeValid.ok) { - throw new Error("Failed to parse() " + JSON.stringify(maybeValid.errors, undefined, 4)); + throw new Error(`Failed to parse() ${JSON.stringify(maybeValid.errors, undefined, 4)}`); } expect(maybeValid.value).toStrictEqual(parsed); }); @@ -67,11 +67,11 @@ export function itJson( opts?: SchemaOptions; }, ): void { - // eslint-disable-next-line jest/valid-title + // eslint-disable-next-line vi/valid-title it(title, () => { const maybeValid = schema.json(parsed, opts); if (!maybeValid.ok) { - throw new Error("Failed to json() " + JSON.stringify(maybeValid.errors, undefined, 4)); + throw new Error(`Failed to json() ${JSON.stringify(maybeValid.errors, undefined, 4)}`); } expect(maybeValid.value).toStrictEqual(raw); }); diff --git a/tests/unit/schemas/utils/itValidate.ts b/tests/unit/schemas/utils/itValidate.ts index ead1ca70..60bc56c1 100644 --- a/tests/unit/schemas/utils/itValidate.ts +++ b/tests/unit/schemas/utils/itValidate.ts @@ -1,5 +1,5 @@ -/* eslint-disable jest/no-export */ -import { Schema, SchemaOptions, ValidationError } from "../../../../src/core/schemas/Schema"; +/* eslint-disable vi/no-export */ +import type { Schema, SchemaOptions, ValidationError } from "../../../../src/core/schemas/Schema"; export function itValidate( title: string, @@ -8,7 +8,7 @@ export function itValidate( errors: ValidationError[], opts?: SchemaOptions, ): void { - // eslint-disable-next-line jest/valid-title + // eslint-disable-next-line vi/valid-title describe("parse()", () => { itValidateParse(title, schema, input, errors, opts); }); @@ -25,7 +25,7 @@ export function itValidateParse( opts?: SchemaOptions, ): void { describe("parse", () => { - // eslint-disable-next-line jest/valid-title + // eslint-disable-next-line vi/valid-title it(title, async () => { const maybeValid = await schema.parse(raw, opts); if (maybeValid.ok) { @@ -44,7 +44,7 @@ export function itValidateJson( opts?: SchemaOptions, ): void { describe("json", () => { - // eslint-disable-next-line jest/valid-title + // eslint-disable-next-line vi/valid-title it(title, async () => { const maybeValid = await schema.json(parsed, opts); if (maybeValid.ok) { diff --git a/tests/unit/file/test-file.txt b/tests/unit/test-file.txt similarity index 100% rename from tests/unit/file/test-file.txt rename to tests/unit/test-file.txt diff --git a/tests/unit/url/join.test.ts b/tests/unit/url/join.test.ts index 984cfe67..1956a8c0 100644 --- a/tests/unit/url/join.test.ts +++ b/tests/unit/url/join.test.ts @@ -90,7 +90,7 @@ describe("join", () => { it("should handle many segments efficiently", () => { const segments = Array(100).fill("segment"); const result = join("base", ...segments); - expect(result).toBe("base/" + segments.join("/")); + expect(result).toBe(`base/${segments.join("/")}`); }); it("should handle long URLs", () => { diff --git a/tsconfig.base.json b/tsconfig.base.json index c75083dc..d7627675 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -9,7 +9,9 @@ "declaration": true, "outDir": "dist", "rootDir": "src", - "baseUrl": "src" + "baseUrl": "src", + "isolatedModules": true, + "isolatedDeclarations": true }, "include": ["src"], "exclude": [] diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 95a5eb73..6ce90974 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -2,7 +2,8 @@ "extends": "./tsconfig.base.json", "compilerOptions": { "module": "esnext", - "outDir": "dist/esm" + "outDir": "dist/esm", + "verbatimModuleSyntax": true }, "include": ["src"], "exclude": [] diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 00000000..677c5855 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,27 @@ +import { defineConfig } from "vitest/config"; +export default defineConfig({ + test: { + projects: [ + { + test: { + globals: true, + name: "unit", + environment: "node", + root: "./tests", + include: ["**/*.test.{js,ts,jsx,tsx}"], + exclude: ["wire/**"], + }, + }, + { + test: { + globals: true, + name: "wire", + environment: "node", + root: "./tests/wire", + setupFiles: ["../mock-server/setup.ts"], + }, + }, + ], + passWithNoTests: true, + }, +}); diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index 4245a598..00000000 --- a/yarn.lock +++ /dev/null @@ -1,3225 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be" - integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== - dependencies: - "@babel/helper-validator-identifier" "^7.27.1" - js-tokens "^4.0.0" - picocolors "^1.1.1" - -"@babel/compat-data@^7.27.2": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.5.tgz#a8a4962e1567121ac0b3b487f52107443b455c7f" - integrity sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA== - -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.28.5.tgz#4c81b35e51e1b734f510c99b07dfbc7bbbb48f7e" - integrity sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw== - dependencies: - "@babel/code-frame" "^7.27.1" - "@babel/generator" "^7.28.5" - "@babel/helper-compilation-targets" "^7.27.2" - "@babel/helper-module-transforms" "^7.28.3" - "@babel/helpers" "^7.28.4" - "@babel/parser" "^7.28.5" - "@babel/template" "^7.27.2" - "@babel/traverse" "^7.28.5" - "@babel/types" "^7.28.5" - "@jridgewell/remapping" "^2.3.5" - convert-source-map "^2.0.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.3" - semver "^6.3.1" - -"@babel/generator@^7.28.5", "@babel/generator@^7.7.2": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.5.tgz#712722d5e50f44d07bc7ac9fe84438742dd61298" - integrity sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ== - dependencies: - "@babel/parser" "^7.28.5" - "@babel/types" "^7.28.5" - "@jridgewell/gen-mapping" "^0.3.12" - "@jridgewell/trace-mapping" "^0.3.28" - jsesc "^3.0.2" - -"@babel/helper-compilation-targets@^7.27.2": - version "7.27.2" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz#46a0f6efab808d51d29ce96858dd10ce8732733d" - integrity sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ== - dependencies: - "@babel/compat-data" "^7.27.2" - "@babel/helper-validator-option" "^7.27.1" - browserslist "^4.24.0" - lru-cache "^5.1.1" - semver "^6.3.1" - -"@babel/helper-globals@^7.28.0": - version "7.28.0" - resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.28.0.tgz#b9430df2aa4e17bc28665eadeae8aa1d985e6674" - integrity sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw== - -"@babel/helper-module-imports@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz#7ef769a323e2655e126673bb6d2d6913bbead204" - integrity sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w== - dependencies: - "@babel/traverse" "^7.27.1" - "@babel/types" "^7.27.1" - -"@babel/helper-module-transforms@^7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz#a2b37d3da3b2344fe085dab234426f2b9a2fa5f6" - integrity sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw== - dependencies: - "@babel/helper-module-imports" "^7.27.1" - "@babel/helper-validator-identifier" "^7.27.1" - "@babel/traverse" "^7.28.3" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.27.1", "@babel/helper-plugin-utils@^7.8.0": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz#ddb2f876534ff8013e6c2b299bf4d39b3c51d44c" - integrity sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw== - -"@babel/helper-string-parser@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" - integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== - -"@babel/helper-validator-identifier@^7.27.1", "@babel/helper-validator-identifier@^7.28.5": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz#010b6938fab7cb7df74aa2bbc06aa503b8fe5fb4" - integrity sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q== - -"@babel/helper-validator-option@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz#fa52f5b1e7db1ab049445b421c4471303897702f" - integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg== - -"@babel/helpers@^7.28.4": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.28.4.tgz#fe07274742e95bdf7cf1443593eeb8926ab63827" - integrity sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w== - dependencies: - "@babel/template" "^7.27.2" - "@babel/types" "^7.28.4" - -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.27.2", "@babel/parser@^7.28.5": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.5.tgz#0b0225ee90362f030efd644e8034c99468893b08" - integrity sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ== - dependencies: - "@babel/types" "^7.28.5" - -"@babel/plugin-syntax-async-generators@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-bigint@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" - integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-class-properties@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" - integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== - dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - -"@babel/plugin-syntax-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" - integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-import-attributes@^7.24.7": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz#34c017d54496f9b11b61474e7ea3dfd5563ffe07" - integrity sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-syntax-import-meta@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-jsx@^7.7.2": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz#2f9beb5eff30fa507c5532d107daac7b888fa34c" - integrity sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" - integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" - integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-numeric-separator@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" - integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" - integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" - integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-top-level-await@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" - integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-typescript@^7.7.2": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz#5147d29066a793450f220c63fa3a9431b7e6dd18" - integrity sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/template@^7.27.2", "@babel/template@^7.3.3": - version "7.27.2" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.2.tgz#fa78ceed3c4e7b63ebf6cb39e5852fca45f6809d" - integrity sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw== - dependencies: - "@babel/code-frame" "^7.27.1" - "@babel/parser" "^7.27.2" - "@babel/types" "^7.27.1" - -"@babel/traverse@^7.27.1", "@babel/traverse@^7.28.3", "@babel/traverse@^7.28.5": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.28.5.tgz#450cab9135d21a7a2ca9d2d35aa05c20e68c360b" - integrity sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ== - dependencies: - "@babel/code-frame" "^7.27.1" - "@babel/generator" "^7.28.5" - "@babel/helper-globals" "^7.28.0" - "@babel/parser" "^7.28.5" - "@babel/template" "^7.27.2" - "@babel/types" "^7.28.5" - debug "^4.3.1" - -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.27.1", "@babel/types@^7.28.2", "@babel/types@^7.28.4", "@babel/types@^7.28.5", "@babel/types@^7.3.3": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.5.tgz#10fc405f60897c35f07e85493c932c7b5ca0592b" - integrity sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA== - dependencies: - "@babel/helper-string-parser" "^7.27.1" - "@babel/helper-validator-identifier" "^7.28.5" - -"@bcoe/v8-coverage@^0.2.3": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" - integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== - -"@faker-js/faker@^9.9.0": - version "9.9.0" - resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-9.9.0.tgz#3ad015fbbaaae7af3149555e0f22b4b30134c69d" - integrity sha512-OEl393iCOoo/z8bMezRlJu+GlRGlsKbUAN7jKB6LhnKoqKve5DXRpalbItIIcwnCjs1k/FOPjFzcA6Qn+H+YbA== - -"@inquirer/ansi@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@inquirer/ansi/-/ansi-1.0.1.tgz#994f7dd16a00c547a7b110e04bf4f4eca1857929" - integrity sha512-yqq0aJW/5XPhi5xOAL1xRCpe1eh8UFVgYFpFsjEqmIR8rKLyP+HINvFXwUaxYICflJrVlxnp7lLN6As735kVpw== - -"@inquirer/confirm@^5.0.0": - version "5.1.19" - resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-5.1.19.tgz#bf28b420898999eb7479ab55623a3fbaf1453ff4" - integrity sha512-wQNz9cfcxrtEnUyG5PndC8g3gZ7lGDBzmWiXZkX8ot3vfZ+/BLjR8EvyGX4YzQLeVqtAlY/YScZpW7CW8qMoDQ== - dependencies: - "@inquirer/core" "^10.3.0" - "@inquirer/type" "^3.0.9" - -"@inquirer/core@^10.3.0": - version "10.3.0" - resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.3.0.tgz#342e4fd62cbd33ea62089364274995dbec1f2ffe" - integrity sha512-Uv2aPPPSK5jeCplQmQ9xadnFx2Zhj9b5Dj7bU6ZeCdDNNY11nhYy4btcSdtDguHqCT2h5oNeQTcUNSGGLA7NTA== - dependencies: - "@inquirer/ansi" "^1.0.1" - "@inquirer/figures" "^1.0.14" - "@inquirer/type" "^3.0.9" - cli-width "^4.1.0" - mute-stream "^2.0.0" - signal-exit "^4.1.0" - wrap-ansi "^6.2.0" - yoctocolors-cjs "^2.1.2" - -"@inquirer/figures@^1.0.14": - version "1.0.14" - resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.14.tgz#12a7bfd344a83ae6cc5d6004b389ed11f6db6be4" - integrity sha512-DbFgdt+9/OZYFM+19dbpXOSeAstPy884FPy1KjDu4anWwymZeOYhMY1mdFri172htv6mvc/uvIAAi7b7tvjJBQ== - -"@inquirer/type@^3.0.9": - version "3.0.9" - resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.9.tgz#f7f9696e9276e4e1ae9332767afb9199992e31d9" - integrity sha512-QPaNt/nmE2bLGQa9b7wwyRJoLZ7pN6rcyXvzU0YCmivmJyq1BVo94G98tStRWkoD1RgDX5C+dPlhhHzNdu/W/w== - -"@istanbuljs/load-nyc-config@^1.0.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" - integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== - dependencies: - camelcase "^5.3.1" - find-up "^4.1.0" - get-package-type "^0.1.0" - js-yaml "^3.13.1" - resolve-from "^5.0.0" - -"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== - -"@jest/console@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" - integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== - dependencies: - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - slash "^3.0.0" - -"@jest/core@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" - integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== - dependencies: - "@jest/console" "^29.7.0" - "@jest/reporters" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - ci-info "^3.2.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - jest-changed-files "^29.7.0" - jest-config "^29.7.0" - jest-haste-map "^29.7.0" - jest-message-util "^29.7.0" - jest-regex-util "^29.6.3" - jest-resolve "^29.7.0" - jest-resolve-dependencies "^29.7.0" - jest-runner "^29.7.0" - jest-runtime "^29.7.0" - jest-snapshot "^29.7.0" - jest-util "^29.7.0" - jest-validate "^29.7.0" - jest-watcher "^29.7.0" - micromatch "^4.0.4" - pretty-format "^29.7.0" - slash "^3.0.0" - strip-ansi "^6.0.0" - -"@jest/environment@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" - integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== - dependencies: - "@jest/fake-timers" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - jest-mock "^29.7.0" - -"@jest/expect-utils@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" - integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== - dependencies: - jest-get-type "^29.6.3" - -"@jest/expect@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" - integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== - dependencies: - expect "^29.7.0" - jest-snapshot "^29.7.0" - -"@jest/fake-timers@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" - integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== - dependencies: - "@jest/types" "^29.6.3" - "@sinonjs/fake-timers" "^10.0.2" - "@types/node" "*" - jest-message-util "^29.7.0" - jest-mock "^29.7.0" - jest-util "^29.7.0" - -"@jest/globals@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" - integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/expect" "^29.7.0" - "@jest/types" "^29.6.3" - jest-mock "^29.7.0" - -"@jest/reporters@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" - integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== - dependencies: - "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@jridgewell/trace-mapping" "^0.3.18" - "@types/node" "*" - chalk "^4.0.0" - collect-v8-coverage "^1.0.0" - exit "^0.1.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^6.0.0" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.1.3" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - jest-worker "^29.7.0" - slash "^3.0.0" - string-length "^4.0.1" - strip-ansi "^6.0.0" - v8-to-istanbul "^9.0.1" - -"@jest/schemas@^29.6.3": - version "29.6.3" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" - integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== - dependencies: - "@sinclair/typebox" "^0.27.8" - -"@jest/source-map@^29.6.3": - version "29.6.3" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4" - integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== - dependencies: - "@jridgewell/trace-mapping" "^0.3.18" - callsites "^3.0.0" - graceful-fs "^4.2.9" - -"@jest/test-result@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" - integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== - dependencies: - "@jest/console" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" - -"@jest/test-sequencer@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" - integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== - dependencies: - "@jest/test-result" "^29.7.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - slash "^3.0.0" - -"@jest/transform@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" - integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== - dependencies: - "@babel/core" "^7.11.6" - "@jest/types" "^29.6.3" - "@jridgewell/trace-mapping" "^0.3.18" - babel-plugin-istanbul "^6.1.1" - chalk "^4.0.0" - convert-source-map "^2.0.0" - fast-json-stable-stringify "^2.1.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - jest-regex-util "^29.6.3" - jest-util "^29.7.0" - micromatch "^4.0.4" - pirates "^4.0.4" - slash "^3.0.0" - write-file-atomic "^4.0.2" - -"@jest/types@^29.6.3": - version "29.6.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" - integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== - dependencies: - "@jest/schemas" "^29.6.3" - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^17.0.8" - chalk "^4.0.0" - -"@jridgewell/gen-mapping@^0.3.12", "@jridgewell/gen-mapping@^0.3.5": - version "0.3.13" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f" - integrity sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA== - dependencies: - "@jridgewell/sourcemap-codec" "^1.5.0" - "@jridgewell/trace-mapping" "^0.3.24" - -"@jridgewell/remapping@^2.3.5": - version "2.3.5" - resolved "https://registry.yarnpkg.com/@jridgewell/remapping/-/remapping-2.3.5.tgz#375c476d1972947851ba1e15ae8f123047445aa1" - integrity sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ== - dependencies: - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.24" - -"@jridgewell/resolve-uri@^3.1.0": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" - integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== - -"@jridgewell/source-map@^0.3.3": - version "0.3.11" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.11.tgz#b21835cbd36db656b857c2ad02ebd413cc13a9ba" - integrity sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA== - dependencies: - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" - -"@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": - version "1.5.5" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" - integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== - -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25", "@jridgewell/trace-mapping@^0.3.28": - version "0.3.31" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" - integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== - dependencies: - "@jridgewell/resolve-uri" "^3.1.0" - "@jridgewell/sourcemap-codec" "^1.4.14" - -"@mswjs/interceptors@^0.40.0": - version "0.40.0" - resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.40.0.tgz#1b45f215ba8c2983ed133763ca03af92896083d6" - integrity sha512-EFd6cVbHsgLa6wa4RljGj6Wk75qoHxUSyc5asLyyPSyuhIcdS2Q3Phw6ImS1q+CkALthJRShiYfKANcQMuMqsQ== - dependencies: - "@open-draft/deferred-promise" "^2.2.0" - "@open-draft/logger" "^0.3.0" - "@open-draft/until" "^2.0.0" - is-node-process "^1.2.0" - outvariant "^1.4.3" - strict-event-emitter "^0.5.1" - -"@open-draft/deferred-promise@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz#4a822d10f6f0e316be4d67b4d4f8c9a124b073bd" - integrity sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA== - -"@open-draft/logger@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@open-draft/logger/-/logger-0.3.0.tgz#2b3ab1242b360aa0adb28b85f5d7da1c133a0954" - integrity sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ== - dependencies: - is-node-process "^1.2.0" - outvariant "^1.4.0" - -"@open-draft/until@^2.0.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-2.1.0.tgz#0acf32f470af2ceaf47f095cdecd40d68666efda" - integrity sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg== - -"@sinclair/typebox@^0.27.8": - version "0.27.8" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" - integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== - -"@sinonjs/commons@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" - integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== - dependencies: - type-detect "4.0.8" - -"@sinonjs/fake-timers@^10.0.2": - version "10.3.0" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" - integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== - dependencies: - "@sinonjs/commons" "^3.0.0" - -"@tootallnate/once@2": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" - integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== - -"@types/babel__core@^7.1.14": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" - integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== - dependencies: - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - "@types/babel__generator" "*" - "@types/babel__template" "*" - "@types/babel__traverse" "*" - -"@types/babel__generator@*": - version "7.27.0" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.27.0.tgz#b5819294c51179957afaec341442f9341e4108a9" - integrity sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg== - dependencies: - "@babel/types" "^7.0.0" - -"@types/babel__template@*": - version "7.4.4" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" - integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - -"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.28.0" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.28.0.tgz#07d713d6cce0d265c9849db0cbe62d3f61f36f74" - integrity sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q== - dependencies: - "@babel/types" "^7.28.2" - -"@types/eslint-scope@^3.7.7": - version "3.7.7" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" - integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "9.6.1" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-9.6.1.tgz#d5795ad732ce81715f27f75da913004a56751584" - integrity sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - -"@types/estree@*", "@types/estree@^1.0.8": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" - integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== - -"@types/graceful-fs@^4.1.3": - version "4.1.9" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" - integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== - dependencies: - "@types/node" "*" - -"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" - integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== - -"@types/istanbul-lib-report@*": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" - integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== - dependencies: - "@types/istanbul-lib-coverage" "*" - -"@types/istanbul-reports@^3.0.0": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" - integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== - dependencies: - "@types/istanbul-lib-report" "*" - -"@types/jest@^29.5.14": - version "29.5.14" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.14.tgz#2b910912fa1d6856cadcd0c1f95af7df1d6049e5" - integrity sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ== - dependencies: - expect "^29.0.0" - pretty-format "^29.0.0" - -"@types/jsdom@^20.0.0": - version "20.0.1" - resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-20.0.1.tgz#07c14bc19bd2f918c1929541cdaacae894744808" - integrity sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ== - dependencies: - "@types/node" "*" - "@types/tough-cookie" "*" - parse5 "^7.0.0" - -"@types/json-schema@*", "@types/json-schema@^7.0.15", "@types/json-schema@^7.0.9": - version "7.0.15" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" - integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== - -"@types/node@*": - version "24.10.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.10.0.tgz#6b79086b0dfc54e775a34ba8114dcc4e0221f31f" - integrity sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A== - dependencies: - undici-types "~7.16.0" - -"@types/node@^18.19.70": - version "18.19.130" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.130.tgz#da4c6324793a79defb7a62cba3947ec5add00d59" - integrity sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg== - dependencies: - undici-types "~5.26.4" - -"@types/stack-utils@^2.0.0": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" - integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== - -"@types/statuses@^2.0.4": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@types/statuses/-/statuses-2.0.6.tgz#66748315cc9a96d63403baa8671b2c124f8633aa" - integrity sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA== - -"@types/tough-cookie@*": - version "4.0.5" - resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304" - integrity sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA== - -"@types/ws@^8.5.10": - version "8.18.1" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.18.1.tgz#48464e4bf2ddfd17db13d845467f6070ffea4aa9" - integrity sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg== - dependencies: - "@types/node" "*" - -"@types/yargs-parser@*": - version "21.0.3" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" - integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== - -"@types/yargs@^17.0.8": - version "17.0.34" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.34.tgz#1c2f9635b71d5401827373a01ce2e8a7670ea839" - integrity sha512-KExbHVa92aJpw9WDQvzBaGVE2/Pz+pLZQloT2hjL8IqsZnV62rlPOYvNnLmf/L2dyllfVUOVBj64M0z/46eR2A== - dependencies: - "@types/yargs-parser" "*" - -"@webassemblyjs/ast@1.14.1", "@webassemblyjs/ast@^1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.14.1.tgz#a9f6a07f2b03c95c8d38c4536a1fdfb521ff55b6" - integrity sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ== - dependencies: - "@webassemblyjs/helper-numbers" "1.13.2" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - -"@webassemblyjs/floating-point-hex-parser@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz#fcca1eeddb1cc4e7b6eed4fc7956d6813b21b9fb" - integrity sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA== - -"@webassemblyjs/helper-api-error@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz#e0a16152248bc38daee76dd7e21f15c5ef3ab1e7" - integrity sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ== - -"@webassemblyjs/helper-buffer@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz#822a9bc603166531f7d5df84e67b5bf99b72b96b" - integrity sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA== - -"@webassemblyjs/helper-numbers@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz#dbd932548e7119f4b8a7877fd5a8d20e63490b2d" - integrity sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.13.2" - "@webassemblyjs/helper-api-error" "1.13.2" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/helper-wasm-bytecode@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz#e556108758f448aae84c850e593ce18a0eb31e0b" - integrity sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA== - -"@webassemblyjs/helper-wasm-section@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz#9629dda9c4430eab54b591053d6dc6f3ba050348" - integrity sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-buffer" "1.14.1" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/wasm-gen" "1.14.1" - -"@webassemblyjs/ieee754@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz#1c5eaace1d606ada2c7fd7045ea9356c59ee0dba" - integrity sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.13.2.tgz#57c5c3deb0105d02ce25fa3fd74f4ebc9fd0bbb0" - integrity sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.13.2.tgz#917a20e93f71ad5602966c2d685ae0c6c21f60f1" - integrity sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ== - -"@webassemblyjs/wasm-edit@^1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz#ac6689f502219b59198ddec42dcd496b1004d597" - integrity sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-buffer" "1.14.1" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/helper-wasm-section" "1.14.1" - "@webassemblyjs/wasm-gen" "1.14.1" - "@webassemblyjs/wasm-opt" "1.14.1" - "@webassemblyjs/wasm-parser" "1.14.1" - "@webassemblyjs/wast-printer" "1.14.1" - -"@webassemblyjs/wasm-gen@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz#991e7f0c090cb0bb62bbac882076e3d219da9570" - integrity sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/ieee754" "1.13.2" - "@webassemblyjs/leb128" "1.13.2" - "@webassemblyjs/utf8" "1.13.2" - -"@webassemblyjs/wasm-opt@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz#e6f71ed7ccae46781c206017d3c14c50efa8106b" - integrity sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-buffer" "1.14.1" - "@webassemblyjs/wasm-gen" "1.14.1" - "@webassemblyjs/wasm-parser" "1.14.1" - -"@webassemblyjs/wasm-parser@1.14.1", "@webassemblyjs/wasm-parser@^1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz#b3e13f1893605ca78b52c68e54cf6a865f90b9fb" - integrity sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-api-error" "1.13.2" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/ieee754" "1.13.2" - "@webassemblyjs/leb128" "1.13.2" - "@webassemblyjs/utf8" "1.13.2" - -"@webassemblyjs/wast-printer@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz#3bb3e9638a8ae5fdaf9610e7a06b4d9f9aa6fe07" - integrity sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@xtuc/long" "4.2.2" - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - -abab@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" - integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== - -acorn-globals@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3" - integrity sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q== - dependencies: - acorn "^8.1.0" - acorn-walk "^8.0.2" - -acorn-import-phases@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz#16eb850ba99a056cb7cbfe872ffb8972e18c8bd7" - integrity sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ== - -acorn-walk@^8.0.2: - version "8.3.4" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" - integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== - dependencies: - acorn "^8.11.0" - -acorn@^8.1.0, acorn@^8.11.0, acorn@^8.15.0, acorn@^8.8.1: - version "8.15.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.15.0.tgz#a360898bc415edaac46c8241f6383975b930b816" - integrity sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg== - -agent-base@6: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== - dependencies: - fast-deep-equal "^3.1.3" - -ajv@^8.0.0, ajv@^8.9.0: - version "8.17.1" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6" - integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g== - dependencies: - fast-deep-equal "^3.1.3" - fast-uri "^3.0.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - -ansi-escapes@^4.2.1: - version "4.3.2" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - dependencies: - type-fest "^0.21.3" - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" - integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== - -anymatch@^3.0.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -babel-jest@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" - integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== - dependencies: - "@jest/transform" "^29.7.0" - "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^29.6.3" - chalk "^4.0.0" - graceful-fs "^4.2.9" - slash "^3.0.0" - -babel-plugin-istanbul@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" - integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@istanbuljs/load-nyc-config" "^1.0.0" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-instrument "^5.0.4" - test-exclude "^6.0.0" - -babel-plugin-jest-hoist@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626" - integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== - dependencies: - "@babel/template" "^7.3.3" - "@babel/types" "^7.3.3" - "@types/babel__core" "^7.1.14" - "@types/babel__traverse" "^7.0.6" - -babel-preset-current-node-syntax@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz#20730d6cdc7dda5d89401cab10ac6a32067acde6" - integrity sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg== - dependencies: - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-bigint" "^7.8.3" - "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - "@babel/plugin-syntax-import-attributes" "^7.24.7" - "@babel/plugin-syntax-import-meta" "^7.10.4" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - "@babel/plugin-syntax-top-level-await" "^7.14.5" - -babel-preset-jest@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c" - integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== - dependencies: - babel-plugin-jest-hoist "^29.6.3" - babel-preset-current-node-syntax "^1.0.0" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -baseline-browser-mapping@^2.8.19: - version "2.8.23" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.23.tgz#cd43e17eff5cbfb67c92153e7fe856cf6d426421" - integrity sha512-616V5YX4bepJFzNyOfce5Fa8fDJMfoxzOIzDCZwaGL8MKVpFrXqfNUoIpRn9YMI5pXf/VKgzjB4htFMsFKKdiQ== - -brace-expansion@^1.1.7: - version "1.1.12" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843" - integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" - integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== - dependencies: - fill-range "^7.1.1" - -browserslist@^4.24.0, browserslist@^4.26.3: - version "4.27.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.27.0.tgz#755654744feae978fbb123718b2f139bc0fa6697" - integrity sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw== - dependencies: - baseline-browser-mapping "^2.8.19" - caniuse-lite "^1.0.30001751" - electron-to-chromium "^1.5.238" - node-releases "^2.0.26" - update-browserslist-db "^1.1.4" - -bs-logger@^0.2.6: - version "0.2.6" - resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" - integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== - dependencies: - fast-json-stable-stringify "2.x" - -bser@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" - integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== - dependencies: - node-int64 "^0.4.0" - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" - integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== - dependencies: - es-errors "^1.3.0" - function-bind "^1.1.2" - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -camelcase@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -camelcase@^6.2.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" - integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== - -caniuse-lite@^1.0.30001751: - version "1.0.30001753" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001753.tgz#419f8fc9bab6f1a1d10d9574d0b3374f823c5b00" - integrity sha512-Bj5H35MD/ebaOV4iDLqPEtiliTN29qkGtEHCwawWn4cYm+bPJM2NsaP30vtZcnERClMzp52J4+aw2UNbK4o+zw== - -chalk@^4.0.0, chalk@^4.1.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -char-regex@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" - integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== - -chrome-trace-event@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz#05bffd7ff928465093314708c93bdfa9bd1f0f5b" - integrity sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ== - -ci-info@^3.2.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" - integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== - -cjs-module-lexer@^1.0.0: - version "1.4.3" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz#0f79731eb8cfe1ec72acd4066efac9d61991b00d" - integrity sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q== - -cli-width@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-4.1.0.tgz#42daac41d3c254ef38ad8ac037672130173691c5" - integrity sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ== - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -co@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== - -collect-v8-coverage@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz#cc1f01eb8d02298cbc9a437c74c70ab4e5210b80" - integrity sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw== - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -convert-source-map@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" - integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== - -cookie@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-1.0.2.tgz#27360701532116bd3f1f9416929d176afe1e4610" - integrity sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA== - -create-jest@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" - integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== - dependencies: - "@jest/types" "^29.6.3" - chalk "^4.0.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - jest-config "^29.7.0" - jest-util "^29.7.0" - prompts "^2.0.1" - -cross-spawn@^7.0.3: - version "7.0.6" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" - integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -cssom@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36" - integrity sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw== - -cssom@~0.3.6: - version "0.3.8" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" - integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== - -cssstyle@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" - integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== - dependencies: - cssom "~0.3.6" - -data-urls@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-3.0.2.tgz#9cf24a477ae22bcef5cd5f6f0bfbc1d2d3be9143" - integrity sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ== - dependencies: - abab "^2.0.6" - whatwg-mimetype "^3.0.0" - whatwg-url "^11.0.0" - -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: - version "4.4.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" - integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== - dependencies: - ms "^2.1.3" - -decimal.js@^10.4.2: - version "10.6.0" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.6.0.tgz#e649a43e3ab953a72192ff5983865e509f37ed9a" - integrity sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg== - -dedent@^1.0.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.7.0.tgz#c1f9445335f0175a96587be245a282ff451446ca" - integrity sha512-HGFtf8yhuhGhqO07SV79tRp+br4MnbdjeVxotpn1QBl30pcLLCQjX5b2295ll0fv8RKDKsmWYrl05usHM9CewQ== - -deepmerge@^4.2.2: - version "4.3.1" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" - integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -detect-newline@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" - integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== - -diff-sequences@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" - integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== - -domexception@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-4.0.0.tgz#4ad1be56ccadc86fc76d033353999a8037d03673" - integrity sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw== - dependencies: - webidl-conversions "^7.0.0" - -dunder-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" - integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== - dependencies: - call-bind-apply-helpers "^1.0.1" - es-errors "^1.3.0" - gopd "^1.2.0" - -electron-to-chromium@^1.5.238: - version "1.5.244" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.244.tgz#b9b61e3d24ef4203489951468614f2a360763820" - integrity sha512-OszpBN7xZX4vWMPJwB9illkN/znA8M36GQqQxi6MNy9axWxhOfJyZZJtSLQCpEFLHP2xK33BiWx9aIuIEXVCcw== - -emittery@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" - integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.3: - version "5.18.3" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.18.3.tgz#9b5f4c5c076b8787c78fe540392ce76a88855b44" - integrity sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - -entities@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.1.tgz#c28c34a43379ca7f61d074130b2f5f7020a30694" - integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g== - -error-ex@^1.3.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.4.tgz#b3a8d8bb6f92eecc1629e3e27d3c8607a8a32414" - integrity sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ== - dependencies: - is-arrayish "^0.2.1" - -es-define-property@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" - integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== - -es-errors@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" - integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== - -es-module-lexer@^1.2.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" - integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== - -es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" - integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== - dependencies: - es-errors "^1.3.0" - -es-set-tostringtag@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" - integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== - dependencies: - es-errors "^1.3.0" - get-intrinsic "^1.2.6" - has-tostringtag "^1.0.2" - hasown "^2.0.2" - -escalade@^3.1.1, escalade@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" - integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -escodegen@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17" - integrity sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w== - dependencies: - esprima "^4.0.1" - estraverse "^5.2.0" - esutils "^2.0.2" - optionalDependencies: - source-map "~0.6.1" - -eslint-scope@5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -esprima@^4.0.0, esprima@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== - -expect@^29.0.0, expect@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" - integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== - dependencies: - "@jest/expect-utils" "^29.7.0" - jest-get-type "^29.6.3" - jest-matcher-utils "^29.7.0" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - -fast-deep-equal@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fast-uri@^3.0.1: - version "3.1.0" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.0.tgz#66eecff6c764c0df9b762e62ca7edcfb53b4edfa" - integrity sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA== - -fb-watchman@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" - integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== - dependencies: - bser "2.1.1" - -fill-range@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" - integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== - dependencies: - to-regex-range "^5.0.1" - -find-up@^4.0.0, find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -form-data@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4" - integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - es-set-tostringtag "^2.1.0" - hasown "^2.0.2" - mime-types "^2.1.12" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@^2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - -function-bind@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" - integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== - -gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== - -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-intrinsic@^1.2.6: - version "1.3.0" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" - integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== - dependencies: - call-bind-apply-helpers "^1.0.2" - es-define-property "^1.0.1" - es-errors "^1.3.0" - es-object-atoms "^1.1.1" - function-bind "^1.1.2" - get-proto "^1.0.1" - gopd "^1.2.0" - has-symbols "^1.1.0" - hasown "^2.0.2" - math-intrinsics "^1.1.0" - -get-package-type@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" - integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== - -get-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" - integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== - dependencies: - dunder-proto "^1.0.1" - es-object-atoms "^1.0.0" - -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -glob-to-regexp@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" - integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== - -glob@^7.1.3, glob@^7.1.4: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -gopd@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" - integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== - -graceful-fs@^4.1.2, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.9: - version "4.2.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" - integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== - -graphql@^16.8.1: - version "16.12.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.12.0.tgz#28cc2462435b1ac3fdc6976d030cef83a0c13ac7" - integrity sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ== - -handlebars@^4.7.8: - version "4.7.8" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" - integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== - dependencies: - minimist "^1.2.5" - neo-async "^2.6.2" - source-map "^0.6.1" - wordwrap "^1.0.0" - optionalDependencies: - uglify-js "^3.1.4" - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-symbols@^1.0.3, has-symbols@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" - integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== - -has-tostringtag@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" - integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== - dependencies: - has-symbols "^1.0.3" - -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== - dependencies: - function-bind "^1.1.2" - -headers-polyfill@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/headers-polyfill/-/headers-polyfill-4.0.3.tgz#922a0155de30ecc1f785bcf04be77844ca95ad07" - integrity sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ== - -html-encoding-sniffer@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" - integrity sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA== - dependencies: - whatwg-encoding "^2.0.0" - -html-escaper@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" - integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== - -http-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" - integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== - dependencies: - "@tootallnate/once" "2" - agent-base "6" - debug "4" - -https-proxy-agent@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -iconv-lite@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -import-local@^3.0.2: - version "3.2.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.2.0.tgz#c3d5c745798c02a6f8b897726aba5100186ee260" - integrity sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - -is-core-module@^2.16.1: - version "2.16.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== - dependencies: - hasown "^2.0.2" - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-generator-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" - integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== - -is-node-process@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-node-process/-/is-node-process-1.2.0.tgz#ea02a1b90ddb3934a19aea414e88edef7e11d134" - integrity sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw== - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-potential-custom-element-name@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" - integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" - integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== - -istanbul-lib-instrument@^5.0.4: - version "5.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" - integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== - dependencies: - "@babel/core" "^7.12.3" - "@babel/parser" "^7.14.7" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.2.0" - semver "^6.3.0" - -istanbul-lib-instrument@^6.0.0: - version "6.0.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz#fa15401df6c15874bcb2105f773325d78c666765" - integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== - dependencies: - "@babel/core" "^7.23.9" - "@babel/parser" "^7.23.9" - "@istanbuljs/schema" "^0.1.3" - istanbul-lib-coverage "^3.2.0" - semver "^7.5.4" - -istanbul-lib-report@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" - integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== - dependencies: - istanbul-lib-coverage "^3.0.0" - make-dir "^4.0.0" - supports-color "^7.1.0" - -istanbul-lib-source-maps@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" - integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== - dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^3.0.0" - source-map "^0.6.1" - -istanbul-reports@^3.1.3: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.2.0.tgz#cb4535162b5784aa623cee21a7252cf2c807ac93" - integrity sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA== - dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" - -jest-changed-files@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" - integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== - dependencies: - execa "^5.0.0" - jest-util "^29.7.0" - p-limit "^3.1.0" - -jest-circus@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" - integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/expect" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - dedent "^1.0.0" - is-generator-fn "^2.0.0" - jest-each "^29.7.0" - jest-matcher-utils "^29.7.0" - jest-message-util "^29.7.0" - jest-runtime "^29.7.0" - jest-snapshot "^29.7.0" - jest-util "^29.7.0" - p-limit "^3.1.0" - pretty-format "^29.7.0" - pure-rand "^6.0.0" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-cli@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" - integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== - dependencies: - "@jest/core" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/types" "^29.6.3" - chalk "^4.0.0" - create-jest "^29.7.0" - exit "^0.1.2" - import-local "^3.0.2" - jest-config "^29.7.0" - jest-util "^29.7.0" - jest-validate "^29.7.0" - yargs "^17.3.1" - -jest-config@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" - integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== - dependencies: - "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^29.7.0" - "@jest/types" "^29.6.3" - babel-jest "^29.7.0" - chalk "^4.0.0" - ci-info "^3.2.0" - deepmerge "^4.2.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-circus "^29.7.0" - jest-environment-node "^29.7.0" - jest-get-type "^29.6.3" - jest-regex-util "^29.6.3" - jest-resolve "^29.7.0" - jest-runner "^29.7.0" - jest-util "^29.7.0" - jest-validate "^29.7.0" - micromatch "^4.0.4" - parse-json "^5.2.0" - pretty-format "^29.7.0" - slash "^3.0.0" - strip-json-comments "^3.1.1" - -jest-diff@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" - integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== - dependencies: - chalk "^4.0.0" - diff-sequences "^29.6.3" - jest-get-type "^29.6.3" - pretty-format "^29.7.0" - -jest-docblock@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" - integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== - dependencies: - detect-newline "^3.0.0" - -jest-each@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" - integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== - dependencies: - "@jest/types" "^29.6.3" - chalk "^4.0.0" - jest-get-type "^29.6.3" - jest-util "^29.7.0" - pretty-format "^29.7.0" - -jest-environment-jsdom@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz#d206fa3551933c3fd519e5dfdb58a0f5139a837f" - integrity sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/fake-timers" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/jsdom" "^20.0.0" - "@types/node" "*" - jest-mock "^29.7.0" - jest-util "^29.7.0" - jsdom "^20.0.0" - -jest-environment-node@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" - integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/fake-timers" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - jest-mock "^29.7.0" - jest-util "^29.7.0" - -jest-get-type@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" - integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== - -jest-haste-map@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" - integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== - dependencies: - "@jest/types" "^29.6.3" - "@types/graceful-fs" "^4.1.3" - "@types/node" "*" - anymatch "^3.0.3" - fb-watchman "^2.0.0" - graceful-fs "^4.2.9" - jest-regex-util "^29.6.3" - jest-util "^29.7.0" - jest-worker "^29.7.0" - micromatch "^4.0.4" - walker "^1.0.8" - optionalDependencies: - fsevents "^2.3.2" - -jest-leak-detector@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" - integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== - dependencies: - jest-get-type "^29.6.3" - pretty-format "^29.7.0" - -jest-matcher-utils@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" - integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== - dependencies: - chalk "^4.0.0" - jest-diff "^29.7.0" - jest-get-type "^29.6.3" - pretty-format "^29.7.0" - -jest-message-util@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" - integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== - dependencies: - "@babel/code-frame" "^7.12.13" - "@jest/types" "^29.6.3" - "@types/stack-utils" "^2.0.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - micromatch "^4.0.4" - pretty-format "^29.7.0" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-mock@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" - integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== - dependencies: - "@jest/types" "^29.6.3" - "@types/node" "*" - jest-util "^29.7.0" - -jest-pnp-resolver@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" - integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== - -jest-regex-util@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" - integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== - -jest-resolve-dependencies@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" - integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== - dependencies: - jest-regex-util "^29.6.3" - jest-snapshot "^29.7.0" - -jest-resolve@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" - integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== - dependencies: - chalk "^4.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - jest-pnp-resolver "^1.2.2" - jest-util "^29.7.0" - jest-validate "^29.7.0" - resolve "^1.20.0" - resolve.exports "^2.0.0" - slash "^3.0.0" - -jest-runner@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" - integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== - dependencies: - "@jest/console" "^29.7.0" - "@jest/environment" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - emittery "^0.13.1" - graceful-fs "^4.2.9" - jest-docblock "^29.7.0" - jest-environment-node "^29.7.0" - jest-haste-map "^29.7.0" - jest-leak-detector "^29.7.0" - jest-message-util "^29.7.0" - jest-resolve "^29.7.0" - jest-runtime "^29.7.0" - jest-util "^29.7.0" - jest-watcher "^29.7.0" - jest-worker "^29.7.0" - p-limit "^3.1.0" - source-map-support "0.5.13" - -jest-runtime@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" - integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/fake-timers" "^29.7.0" - "@jest/globals" "^29.7.0" - "@jest/source-map" "^29.6.3" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - cjs-module-lexer "^1.0.0" - collect-v8-coverage "^1.0.0" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - jest-message-util "^29.7.0" - jest-mock "^29.7.0" - jest-regex-util "^29.6.3" - jest-resolve "^29.7.0" - jest-snapshot "^29.7.0" - jest-util "^29.7.0" - slash "^3.0.0" - strip-bom "^4.0.0" - -jest-snapshot@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" - integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== - dependencies: - "@babel/core" "^7.11.6" - "@babel/generator" "^7.7.2" - "@babel/plugin-syntax-jsx" "^7.7.2" - "@babel/plugin-syntax-typescript" "^7.7.2" - "@babel/types" "^7.3.3" - "@jest/expect-utils" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - babel-preset-current-node-syntax "^1.0.0" - chalk "^4.0.0" - expect "^29.7.0" - graceful-fs "^4.2.9" - jest-diff "^29.7.0" - jest-get-type "^29.6.3" - jest-matcher-utils "^29.7.0" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - natural-compare "^1.4.0" - pretty-format "^29.7.0" - semver "^7.5.3" - -jest-util@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" - integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== - dependencies: - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" - -jest-validate@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" - integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== - dependencies: - "@jest/types" "^29.6.3" - camelcase "^6.2.0" - chalk "^4.0.0" - jest-get-type "^29.6.3" - leven "^3.1.0" - pretty-format "^29.7.0" - -jest-watcher@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" - integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== - dependencies: - "@jest/test-result" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - emittery "^0.13.1" - jest-util "^29.7.0" - string-length "^4.0.1" - -jest-worker@^27.4.5: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - -jest-worker@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" - integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== - dependencies: - "@types/node" "*" - jest-util "^29.7.0" - merge-stream "^2.0.0" - supports-color "^8.0.0" - -jest@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" - integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== - dependencies: - "@jest/core" "^29.7.0" - "@jest/types" "^29.6.3" - import-local "^3.0.2" - jest-cli "^29.7.0" - -js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@^3.13.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" - integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsdom@^20.0.0: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-20.0.3.tgz#886a41ba1d4726f67a8858028c99489fed6ad4db" - integrity sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ== - dependencies: - abab "^2.0.6" - acorn "^8.8.1" - acorn-globals "^7.0.0" - cssom "^0.5.0" - cssstyle "^2.3.0" - data-urls "^3.0.2" - decimal.js "^10.4.2" - domexception "^4.0.0" - escodegen "^2.0.0" - form-data "^4.0.0" - html-encoding-sniffer "^3.0.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.1" - is-potential-custom-element-name "^1.0.1" - nwsapi "^2.2.2" - parse5 "^7.1.1" - saxes "^6.0.0" - symbol-tree "^3.2.4" - tough-cookie "^4.1.2" - w3c-xmlserializer "^4.0.0" - webidl-conversions "^7.0.0" - whatwg-encoding "^2.0.0" - whatwg-mimetype "^3.0.0" - whatwg-url "^11.0.0" - ws "^8.11.0" - xml-name-validator "^4.0.0" - -jsesc@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" - integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== - -json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - -json-schema-traverse@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" - integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== - -json5@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - -kleur@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" - integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== - -leven@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" - integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -loader-runner@^4.2.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.1.tgz#6c76ed29b0ccce9af379208299f07f876de737e3" - integrity sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q== - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - -lodash.memoize@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -make-dir@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" - integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== - dependencies: - semver "^7.5.3" - -make-error@^1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== - -makeerror@1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" - integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== - dependencies: - tmpl "1.0.5" - -math-intrinsics@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" - integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -micromatch@^4.0.0, micromatch@^4.0.4: - version "4.0.8" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" - integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== - dependencies: - braces "^3.0.3" - picomatch "^2.3.1" - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12, mime-types@^2.1.27: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -minimatch@^3.0.4, minimatch@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -minimist@^1.2.5: - version "1.2.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -ms@^2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -msw@^2.8.4: - version "2.11.6" - resolved "https://registry.yarnpkg.com/msw/-/msw-2.11.6.tgz#9ae647c3b050fbc1e1a2300dee15b3605c14c25d" - integrity sha512-MCYMykvmiYScyUm7I6y0VCxpNq1rgd5v7kG8ks5dKtvmxRUUPjribX6mUoUNBbM5/3PhUyoelEWiKXGOz84c+w== - dependencies: - "@inquirer/confirm" "^5.0.0" - "@mswjs/interceptors" "^0.40.0" - "@open-draft/deferred-promise" "^2.2.0" - "@types/statuses" "^2.0.4" - cookie "^1.0.2" - graphql "^16.8.1" - headers-polyfill "^4.0.2" - is-node-process "^1.2.0" - outvariant "^1.4.3" - path-to-regexp "^6.3.0" - picocolors "^1.1.1" - rettime "^0.7.0" - statuses "^2.0.2" - strict-event-emitter "^0.5.1" - tough-cookie "^6.0.0" - type-fest "^4.26.1" - until-async "^3.0.2" - yargs "^17.7.2" - -mute-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-2.0.0.tgz#a5446fc0c512b71c83c44d908d5c7b7b4c493b2b" - integrity sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA== - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - -node-int64@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== - -node-releases@^2.0.26: - version "2.0.27" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.27.tgz#eedca519205cf20f650f61d56b070db111231e4e" - integrity sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA== - -normalize-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -nwsapi@^2.2.2: - version "2.2.22" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.22.tgz#109f9530cda6c156d6a713cdf5939e9f0de98b9d" - integrity sha512-ujSMe1OWVn55euT1ihwCI1ZcAaAU3nxUiDwfDQldc51ZXaB9m2AyOn6/jh1BLe2t/G8xd6uKG1UBF2aZJeg2SQ== - -once@^1.3.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -outvariant@^1.4.0, outvariant@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.3.tgz#221c1bfc093e8fec7075497e7799fdbf43d14873" - integrity sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA== - -p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== - dependencies: - p-try "^2.0.0" - -p-limit@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== - dependencies: - p-limit "^2.2.0" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -parse5@^7.0.0, parse5@^7.1.1: - version "7.3.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" - integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== - dependencies: - entities "^6.0.0" - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-to-regexp@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.3.0.tgz#2b6a26a337737a8e1416f9272ed0766b1c0389f4" - integrity sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ== - -picocolors@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" - integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== - -picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pirates@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.7.tgz#643b4a18c4257c8a65104b73f3049ce9a0a15e22" - integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== - -pkg-dir@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -prettier@^3.4.2: - version "3.6.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393" - integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ== - -pretty-format@^29.0.0, pretty-format@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" - integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== - dependencies: - "@jest/schemas" "^29.6.3" - ansi-styles "^5.0.0" - react-is "^18.0.0" - -prompts@^2.0.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" - integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== - dependencies: - kleur "^3.0.3" - sisteransi "^1.0.5" - -psl@^1.1.33: - version "1.15.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.15.0.tgz#bdace31896f1d97cec6a79e8224898ce93d974c6" - integrity sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w== - dependencies: - punycode "^2.3.1" - -punycode@^2.1.1, punycode@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" - integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== - -pure-rand@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" - integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== - -querystringify@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" - integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== - -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -react-is@^18.0.0: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" - integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -require-from-string@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" - integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -resolve.exports@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.3.tgz#41955e6f1b4013b7586f873749a635dea07ebe3f" - integrity sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A== - -resolve@^1.20.0: - version "1.22.11" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.11.tgz#aad857ce1ffb8bfa9b0b1ac29f1156383f68c262" - integrity sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ== - dependencies: - is-core-module "^2.16.1" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -rettime@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/rettime/-/rettime-0.7.0.tgz#c040f1a65e396eaa4b8346dd96ed937edc79d96f" - integrity sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw== - -safe-buffer@^5.1.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -"safer-buffer@>= 2.1.2 < 3.0.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -saxes@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" - integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== - dependencies: - xmlchars "^2.2.0" - -schema-utils@^4.3.0, schema-utils@^4.3.3: - version "4.3.3" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.3.tgz#5b1850912fa31df90716963d45d9121fdfc09f46" - integrity sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.9.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.1.0" - -semver@^6.3.0, semver@^6.3.1: - version "6.3.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" - integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== - -semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.7.3: - version "7.7.3" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.3.tgz#4b5f4143d007633a8dc671cd0a6ef9147b8bb946" - integrity sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q== - -serialize-javascript@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" - integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== - dependencies: - randombytes "^2.1.0" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -signal-exit@^3.0.3, signal-exit@^3.0.7: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -signal-exit@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" - integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== - -sisteransi@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" - integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -source-map-support@0.5.13: - version "0.5.13" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" - integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -source-map@^0.7.4: - version "0.7.6" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.6.tgz#a3658ab87e5b6429c8a1f3ba0083d4c61ca3ef02" - integrity sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ== - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== - -stack-utils@^2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" - integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== - dependencies: - escape-string-regexp "^2.0.0" - -statuses@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.2.tgz#8f75eecef765b5e1cfcdc080da59409ed424e382" - integrity sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw== - -strict-event-emitter@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz#1602ece81c51574ca39c6815e09f1a3e8550bd93" - integrity sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ== - -string-length@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" - integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== - dependencies: - char-regex "^1.0.2" - strip-ansi "^6.0.0" - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-bom@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" - integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -symbol-tree@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" - integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== - -tapable@^2.2.0, tapable@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.0.tgz#7e3ea6d5ca31ba8e078b560f0d83ce9a14aa8be6" - integrity sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg== - -terser-webpack-plugin@^5.3.11: - version "5.3.14" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz#9031d48e57ab27567f02ace85c7d690db66c3e06" - integrity sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw== - dependencies: - "@jridgewell/trace-mapping" "^0.3.25" - jest-worker "^27.4.5" - schema-utils "^4.3.0" - serialize-javascript "^6.0.2" - terser "^5.31.1" - -terser@^5.31.1: - version "5.44.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.44.0.tgz#ebefb8e5b8579d93111bfdfc39d2cf63879f4a82" - integrity sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w== - dependencies: - "@jridgewell/source-map" "^0.3.3" - acorn "^8.15.0" - commander "^2.20.0" - source-map-support "~0.5.20" - -test-exclude@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" - integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== - dependencies: - "@istanbuljs/schema" "^0.1.2" - glob "^7.1.4" - minimatch "^3.0.4" - -tldts-core@^7.0.17: - version "7.0.17" - resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.0.17.tgz#dadfee3750dd272ed219d7367beb7cbb2ff29eb8" - integrity sha512-DieYoGrP78PWKsrXr8MZwtQ7GLCUeLxihtjC1jZsW1DnvSMdKPitJSe8OSYDM2u5H6g3kWJZpePqkp43TfLh0g== - -tldts@^7.0.5: - version "7.0.17" - resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.0.17.tgz#a6cdc067b9e80ea05f3be471c0ea410688cc78b2" - integrity sha512-Y1KQBgDd/NUc+LfOtKS6mNsC9CCaH+m2P1RoIZy7RAPo3C3/t8X45+zgut31cRZtZ3xKPjfn3TkGTrctC2TQIQ== - dependencies: - tldts-core "^7.0.17" - -tmpl@1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" - integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -tough-cookie@^4.1.2: - version "4.1.4" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.4.tgz#945f1461b45b5a8c76821c33ea49c3ac192c1b36" - integrity sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag== - dependencies: - psl "^1.1.33" - punycode "^2.1.1" - universalify "^0.2.0" - url-parse "^1.5.3" - -tough-cookie@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-6.0.0.tgz#11e418b7864a2c0d874702bc8ce0f011261940e5" - integrity sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w== - dependencies: - tldts "^7.0.5" - -tr46@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-3.0.0.tgz#555c4e297a950617e8eeddef633c87d4d9d6cbf9" - integrity sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA== - dependencies: - punycode "^2.1.1" - -ts-jest@^29.3.4: - version "29.4.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.5.tgz#a6b0dc401e521515d5342234be87f1ca96390a6f" - integrity sha512-HO3GyiWn2qvTQA4kTgjDcXiMwYQt68a1Y8+JuLRVpdIzm+UOLSHgl/XqR4c6nzJkq5rOkjc02O2I7P7l/Yof0Q== - dependencies: - bs-logger "^0.2.6" - fast-json-stable-stringify "^2.1.0" - handlebars "^4.7.8" - json5 "^2.2.3" - lodash.memoize "^4.1.2" - make-error "^1.3.6" - semver "^7.7.3" - type-fest "^4.41.0" - yargs-parser "^21.1.1" - -ts-loader@^9.5.1: - version "9.5.4" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.5.4.tgz#44b571165c10fb5a90744aa5b7e119233c4f4585" - integrity sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ== - dependencies: - chalk "^4.1.0" - enhanced-resolve "^5.0.0" - micromatch "^4.0.0" - semver "^7.3.4" - source-map "^0.7.4" - -type-detect@4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - -type-fest@^4.26.1, type-fest@^4.41.0: - version "4.41.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.41.0.tgz#6ae1c8e5731273c2bf1f58ad39cbae2c91a46c58" - integrity sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA== - -typescript@~5.7.2: - version "5.7.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e" - integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw== - -uglify-js@^3.1.4: - version "3.19.3" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.3.tgz#82315e9bbc6f2b25888858acd1fff8441035b77f" - integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ== - -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== - -undici-types@~7.16.0: - version "7.16.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.16.0.tgz#ffccdff36aea4884cbfce9a750a0580224f58a46" - integrity sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw== - -universalify@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" - integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== - -until-async@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/until-async/-/until-async-3.0.2.tgz#447f1531fdd7bb2b4c7a98869bdb1a4c2a23865f" - integrity sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw== - -update-browserslist-db@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz#7802aa2ae91477f255b86e0e46dbc787a206ad4a" - integrity sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A== - dependencies: - escalade "^3.2.0" - picocolors "^1.1.1" - -url-parse@^1.5.3: - version "1.5.10" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" - integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== - dependencies: - querystringify "^2.1.1" - requires-port "^1.0.0" - -v8-to-istanbul@^9.0.1: - version "9.3.0" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz#b9572abfa62bd556c16d75fdebc1a411d5ff3175" - integrity sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA== - dependencies: - "@jridgewell/trace-mapping" "^0.3.12" - "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^2.0.0" - -w3c-xmlserializer@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073" - integrity sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw== - dependencies: - xml-name-validator "^4.0.0" - -walker@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" - integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== - dependencies: - makeerror "1.0.12" - -watchpack@^2.4.4: - version "2.4.4" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.4.tgz#473bda72f0850453da6425081ea46fc0d7602947" - integrity sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -webidl-conversions@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" - integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== - -webpack-sources@^3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.3.3.tgz#d4bf7f9909675d7a070ff14d0ef2a4f3c982c723" - integrity sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg== - -webpack@^5.97.1: - version "5.102.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.102.1.tgz#1003a3024741a96ba99c37431938bf61aad3d988" - integrity sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ== - dependencies: - "@types/eslint-scope" "^3.7.7" - "@types/estree" "^1.0.8" - "@types/json-schema" "^7.0.15" - "@webassemblyjs/ast" "^1.14.1" - "@webassemblyjs/wasm-edit" "^1.14.1" - "@webassemblyjs/wasm-parser" "^1.14.1" - acorn "^8.15.0" - acorn-import-phases "^1.0.3" - browserslist "^4.26.3" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.17.3" - es-module-lexer "^1.2.1" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.11" - json-parse-even-better-errors "^2.3.1" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^4.3.3" - tapable "^2.3.0" - terser-webpack-plugin "^5.3.11" - watchpack "^2.4.4" - webpack-sources "^3.3.3" - -whatwg-encoding@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz#e7635f597fd87020858626805a2729fa7698ac53" - integrity sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg== - dependencies: - iconv-lite "0.6.3" - -whatwg-mimetype@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" - integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== - -whatwg-url@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" - integrity sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ== - dependencies: - tr46 "^3.0.0" - webidl-conversions "^7.0.0" - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== - -wrap-ansi@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" - integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -write-file-atomic@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" - integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^3.0.7" - -ws@^8.11.0, ws@^8.16.0: - version "8.18.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472" - integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg== - -xml-name-validator@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835" - integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw== - -xmlchars@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" - integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yallist@^3.0.2: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs@^17.3.1, yargs@^17.7.2: - version "17.7.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" - integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1" - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - -yoctocolors-cjs@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz#7e4964ea8ec422b7a40ac917d3a344cfd2304baa" - integrity sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==